models

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: May 28, 2026 License: MIT Imports: 8 Imported by: 0

Documentation ¶

Index ¶

Constants ¶

View Source
const (

	// ModelsPlaygroundLogStatusSuccess captures enum value "success"
	ModelsPlaygroundLogStatusSuccess string = "success"

	// ModelsPlaygroundLogStatusFailed captures enum value " failed"
	ModelsPlaygroundLogStatusFailed string = " failed"

	// ModelsPlaygroundLogStatusCanceled captures enum value " canceled"
	ModelsPlaygroundLogStatusCanceled string = " canceled"

	// ModelsPlaygroundLogStatusInQueue captures enum value " in_queue"
	ModelsPlaygroundLogStatusInQueue string = " in_queue"

	// ModelsPlaygroundLogStatusComputing captures enum value " computing"
	ModelsPlaygroundLogStatusComputing string = " computing"
)
View Source
const (

	// RequestAddItemToCollectionRequestTypeDataset captures enum value "dataset"
	RequestAddItemToCollectionRequestTypeDataset string = "dataset"

	// RequestAddItemToCollectionRequestTypeModel captures enum value "model"
	RequestAddItemToCollectionRequestTypeModel string = "model"
)
View Source
const (

	// RequestAdminAddNewAccountRequestRoleAdmin captures enum value "admin"
	RequestAdminAddNewAccountRequestRoleAdmin string = "admin"

	// RequestAdminAddNewAccountRequestRoleMod captures enum value "mod"
	RequestAdminAddNewAccountRequestRoleMod string = "mod"

	// RequestAdminAddNewAccountRequestRoleViewer captures enum value "viewer"
	RequestAdminAddNewAccountRequestRoleViewer string = "viewer"
)
View Source
const (

	// RequestAdminGetDatasetListRequestSortTrending captures enum value "trending"
	RequestAdminGetDatasetListRequestSortTrending string = "trending"

	// RequestAdminGetDatasetListRequestSortLikes captures enum value "likes"
	RequestAdminGetDatasetListRequestSortLikes string = "likes"

	// RequestAdminGetDatasetListRequestSortDownloads captures enum value "downloads"
	RequestAdminGetDatasetListRequestSortDownloads string = "downloads"

	// RequestAdminGetDatasetListRequestSortCreated captures enum value "created"
	RequestAdminGetDatasetListRequestSortCreated string = "created"

	// RequestAdminGetDatasetListRequestSortCreatedOldest captures enum value "created_oldest"
	RequestAdminGetDatasetListRequestSortCreatedOldest string = "created_oldest"

	// RequestAdminGetDatasetListRequestSortModified captures enum value "modified"
	RequestAdminGetDatasetListRequestSortModified string = "modified"
)
View Source
const (

	// RequestAdminUpdateOrganizationRequestVisibilityPublic captures enum value "public"
	RequestAdminUpdateOrganizationRequestVisibilityPublic string = "public"

	// RequestAdminUpdateOrganizationRequestVisibilityPrivate captures enum value "private"
	RequestAdminUpdateOrganizationRequestVisibilityPrivate string = "private"
)
View Source
const (

	// RequestAdminUpdateRequestRoleAdmin captures enum value "admin"
	RequestAdminUpdateRequestRoleAdmin string = "admin"

	// RequestAdminUpdateRequestRoleMod captures enum value "mod"
	RequestAdminUpdateRequestRoleMod string = "mod"

	// RequestAdminUpdateRequestRoleViewer captures enum value "viewer"
	RequestAdminUpdateRequestRoleViewer string = "viewer"
)
View Source
const (

	// RequestCreateCollectionRequestVisibilityPublic captures enum value "public"
	RequestCreateCollectionRequestVisibilityPublic string = "public"

	// RequestCreateCollectionRequestVisibilityPrivate captures enum value "private"
	RequestCreateCollectionRequestVisibilityPrivate string = "private"
)
View Source
const (

	// RequestCreateCompetitionRequestPrizeDistributionMethodManual captures enum value "manual"
	RequestCreateCompetitionRequestPrizeDistributionMethodManual string = "manual"

	// RequestCreateCompetitionRequestPrizeDistributionMethodSmartContract captures enum value "smart_contract"
	RequestCreateCompetitionRequestPrizeDistributionMethodSmartContract string = "smart_contract"
)
View Source
const (

	// RequestCreateDatasetRequestVisibilityPublic captures enum value "public"
	RequestCreateDatasetRequestVisibilityPublic string = "public"

	// RequestCreateDatasetRequestVisibilityPrivate captures enum value "private"
	RequestCreateDatasetRequestVisibilityPrivate string = "private"
)
View Source
const (

	// RequestCreateModelRequestVisibilityPublic captures enum value "public"
	RequestCreateModelRequestVisibilityPublic string = "public"

	// RequestCreateModelRequestVisibilityPrivate captures enum value "private"
	RequestCreateModelRequestVisibilityPrivate string = "private"
)
View Source
const (

	// RequestCreateOrganizationRequestTypeCompany captures enum value "company"
	RequestCreateOrganizationRequestTypeCompany string = "company"

	// RequestCreateOrganizationRequestTypeUniversity captures enum value "university"
	RequestCreateOrganizationRequestTypeUniversity string = "university"

	// RequestCreateOrganizationRequestTypeClassroom captures enum value "classroom"
	RequestCreateOrganizationRequestTypeClassroom string = "classroom"

	// RequestCreateOrganizationRequestTypeNonProfit captures enum value "non_profit"
	RequestCreateOrganizationRequestTypeNonProfit string = "non_profit"

	// RequestCreateOrganizationRequestTypeCommunity captures enum value "community"
	RequestCreateOrganizationRequestTypeCommunity string = "community"
)
View Source
const (

	// RequestCreateOrganizationRequestVisibilityPublic captures enum value "public"
	RequestCreateOrganizationRequestVisibilityPublic string = "public"

	// RequestCreateOrganizationRequestVisibilityPrivate captures enum value "private"
	RequestCreateOrganizationRequestVisibilityPrivate string = "private"
)
View Source
const (

	// RequestCreatePresignedURLRequestFolderAvatars captures enum value "avatars"
	RequestCreatePresignedURLRequestFolderAvatars string = "avatars"

	// RequestCreatePresignedURLRequestFolderThumbnails captures enum value "thumbnails"
	RequestCreatePresignedURLRequestFolderThumbnails string = "thumbnails"

	// RequestCreatePresignedURLRequestFolderCovers captures enum value "covers"
	RequestCreatePresignedURLRequestFolderCovers string = "covers"

	// RequestCreatePresignedURLRequestFolderSamples captures enum value "samples"
	RequestCreatePresignedURLRequestFolderSamples string = "samples"

	// RequestCreatePresignedURLRequestFolderDocuments captures enum value "documents"
	RequestCreatePresignedURLRequestFolderDocuments string = "documents"
)
View Source
const (

	// RequestGetCompetitionListRequestSortByReward captures enum value "reward"
	RequestGetCompetitionListRequestSortByReward string = "reward"

	// RequestGetCompetitionListRequestSortByCreatedAt captures enum value "created_at"
	RequestGetCompetitionListRequestSortByCreatedAt string = "created_at"

	// RequestGetCompetitionListRequestSortByCreatedOldest captures enum value "created_oldest"
	RequestGetCompetitionListRequestSortByCreatedOldest string = "created_oldest"

	// RequestGetCompetitionListRequestSortByHotness captures enum value "hotness"
	RequestGetCompetitionListRequestSortByHotness string = "hotness"

	// RequestGetCompetitionListRequestSortByTotalTeam captures enum value "total_team"
	RequestGetCompetitionListRequestSortByTotalTeam string = "total_team"

	// RequestGetCompetitionListRequestSortByClosingSoon captures enum value "closing_soon"
	RequestGetCompetitionListRequestSortByClosingSoon string = "closing_soon"

	// RequestGetCompetitionListRequestSortByRecentlyCompleted captures enum value "recently_completed"
	RequestGetCompetitionListRequestSortByRecentlyCompleted string = "recently_completed"
)
View Source
const (

	// RequestGetDatasetListByAuthorRequestSortTrending captures enum value "trending"
	RequestGetDatasetListByAuthorRequestSortTrending string = "trending"

	// RequestGetDatasetListByAuthorRequestSortLikes captures enum value "likes"
	RequestGetDatasetListByAuthorRequestSortLikes string = "likes"

	// RequestGetDatasetListByAuthorRequestSortDownloads captures enum value "downloads"
	RequestGetDatasetListByAuthorRequestSortDownloads string = "downloads"

	// RequestGetDatasetListByAuthorRequestSortCreated captures enum value "created"
	RequestGetDatasetListByAuthorRequestSortCreated string = "created"

	// RequestGetDatasetListByAuthorRequestSortCreatedOldest captures enum value "created_oldest"
	RequestGetDatasetListByAuthorRequestSortCreatedOldest string = "created_oldest"

	// RequestGetDatasetListByAuthorRequestSortModified captures enum value "modified"
	RequestGetDatasetListByAuthorRequestSortModified string = "modified"
)
View Source
const (

	// RequestGetDatasetListRequestFilterByPublic captures enum value "public"
	RequestGetDatasetListRequestFilterByPublic string = "public"

	// RequestGetDatasetListRequestFilterByCommunity captures enum value "community"
	RequestGetDatasetListRequestFilterByCommunity string = "community"

	// RequestGetDatasetListRequestFilterByAuthor captures enum value "author"
	RequestGetDatasetListRequestFilterByAuthor string = "author"

	// RequestGetDatasetListRequestFilterByOfficial captures enum value "official"
	RequestGetDatasetListRequestFilterByOfficial string = "official"

	// RequestGetDatasetListRequestFilterByPermission captures enum value "permission"
	RequestGetDatasetListRequestFilterByPermission string = "permission"
)
View Source
const (

	// RequestGetDatasetListRequestSortTrending captures enum value "trending"
	RequestGetDatasetListRequestSortTrending string = "trending"

	// RequestGetDatasetListRequestSortLikes captures enum value "likes"
	RequestGetDatasetListRequestSortLikes string = "likes"

	// RequestGetDatasetListRequestSortDownloads captures enum value "downloads"
	RequestGetDatasetListRequestSortDownloads string = "downloads"

	// RequestGetDatasetListRequestSortCreated captures enum value "created"
	RequestGetDatasetListRequestSortCreated string = "created"

	// RequestGetDatasetListRequestSortCreatedOldest captures enum value "created_oldest"
	RequestGetDatasetListRequestSortCreatedOldest string = "created_oldest"

	// RequestGetDatasetListRequestSortModified captures enum value "modified"
	RequestGetDatasetListRequestSortModified string = "modified"
)
View Source
const (

	// RequestGetListCollectionByUsernameRequestSortTrending captures enum value "trending"
	RequestGetListCollectionByUsernameRequestSortTrending string = "trending"

	// RequestGetListCollectionByUsernameRequestSortVotes captures enum value "votes"
	RequestGetListCollectionByUsernameRequestSortVotes string = "votes"

	// RequestGetListCollectionByUsernameRequestSortUpdated captures enum value "updated"
	RequestGetListCollectionByUsernameRequestSortUpdated string = "updated"

	// RequestGetListCollectionByUsernameRequestSortOldest captures enum value "oldest"
	RequestGetListCollectionByUsernameRequestSortOldest string = "oldest"
)
View Source
const (

	// RequestGetListCollectionRequestFilterPublic captures enum value "public"
	RequestGetListCollectionRequestFilterPublic string = "public"

	// RequestGetListCollectionRequestFilterCommunity captures enum value "community"
	RequestGetListCollectionRequestFilterCommunity string = "community"

	// RequestGetListCollectionRequestFilterAuthor captures enum value "author"
	RequestGetListCollectionRequestFilterAuthor string = "author"
)
View Source
const (

	// RequestGetListCollectionRequestSortTrending captures enum value "trending"
	RequestGetListCollectionRequestSortTrending string = "trending"

	// RequestGetListCollectionRequestSortVotes captures enum value "votes"
	RequestGetListCollectionRequestSortVotes string = "votes"

	// RequestGetListCollectionRequestSortUpdated captures enum value "updated"
	RequestGetListCollectionRequestSortUpdated string = "updated"

	// RequestGetListCollectionRequestSortOldest captures enum value "oldest"
	RequestGetListCollectionRequestSortOldest string = "oldest"
)
View Source
const (

	// RequestGetModelListByAuthorRequestSortTrending captures enum value "trending"
	RequestGetModelListByAuthorRequestSortTrending string = "trending"

	// RequestGetModelListByAuthorRequestSortLikes captures enum value "likes"
	RequestGetModelListByAuthorRequestSortLikes string = "likes"

	// RequestGetModelListByAuthorRequestSortDownloads captures enum value "downloads"
	RequestGetModelListByAuthorRequestSortDownloads string = "downloads"

	// RequestGetModelListByAuthorRequestSortCreated captures enum value "created"
	RequestGetModelListByAuthorRequestSortCreated string = "created"

	// RequestGetModelListByAuthorRequestSortCreatedOldest captures enum value "created_oldest"
	RequestGetModelListByAuthorRequestSortCreatedOldest string = "created_oldest"

	// RequestGetModelListByAuthorRequestSortModified captures enum value "modified"
	RequestGetModelListByAuthorRequestSortModified string = "modified"

	// RequestGetModelListByAuthorRequestSortName captures enum value "name"
	RequestGetModelListByAuthorRequestSortName string = "name"

	// RequestGetModelListByAuthorRequestSortSize captures enum value "size"
	RequestGetModelListByAuthorRequestSortSize string = "size"
)
View Source
const (

	// RequestGetModelListRequestFilterByPublic captures enum value "public"
	RequestGetModelListRequestFilterByPublic string = "public"

	// RequestGetModelListRequestFilterByCommunity captures enum value "community"
	RequestGetModelListRequestFilterByCommunity string = "community"

	// RequestGetModelListRequestFilterByAuthor captures enum value "author"
	RequestGetModelListRequestFilterByAuthor string = "author"

	// RequestGetModelListRequestFilterByOfficial captures enum value "official"
	RequestGetModelListRequestFilterByOfficial string = "official"

	// RequestGetModelListRequestFilterByPermission captures enum value "permission"
	RequestGetModelListRequestFilterByPermission string = "permission"

	// RequestGetModelListRequestFilterByPlayground captures enum value "playground"
	RequestGetModelListRequestFilterByPlayground string = "playground"
)
View Source
const (

	// RequestGetModelListRequestSortTrending captures enum value "trending"
	RequestGetModelListRequestSortTrending string = "trending"

	// RequestGetModelListRequestSortLikes captures enum value "likes"
	RequestGetModelListRequestSortLikes string = "likes"

	// RequestGetModelListRequestSortDownloads captures enum value "downloads"
	RequestGetModelListRequestSortDownloads string = "downloads"

	// RequestGetModelListRequestSortCreated captures enum value "created"
	RequestGetModelListRequestSortCreated string = "created"

	// RequestGetModelListRequestSortCreatedOldest captures enum value "created_oldest"
	RequestGetModelListRequestSortCreatedOldest string = "created_oldest"

	// RequestGetModelListRequestSortModified captures enum value "modified"
	RequestGetModelListRequestSortModified string = "modified"

	// RequestGetModelListRequestSortName captures enum value "name"
	RequestGetModelListRequestSortName string = "name"

	// RequestGetModelListRequestSortSize captures enum value "size"
	RequestGetModelListRequestSortSize string = "size"
)
View Source
const (

	// RequestGetUserUploadsRequestFolderAvatars captures enum value "avatars"
	RequestGetUserUploadsRequestFolderAvatars string = "avatars"

	// RequestGetUserUploadsRequestFolderThumbnails captures enum value "thumbnails"
	RequestGetUserUploadsRequestFolderThumbnails string = "thumbnails"

	// RequestGetUserUploadsRequestFolderCovers captures enum value "covers"
	RequestGetUserUploadsRequestFolderCovers string = "covers"

	// RequestGetUserUploadsRequestFolderSamples captures enum value "samples"
	RequestGetUserUploadsRequestFolderSamples string = "samples"

	// RequestGetUserUploadsRequestFolderDocuments captures enum value "documents"
	RequestGetUserUploadsRequestFolderDocuments string = "documents"
)
View Source
const (

	// RequestGetUserUploadsRequestTypeImage captures enum value "image"
	RequestGetUserUploadsRequestTypeImage string = "image"

	// RequestGetUserUploadsRequestTypeAudio captures enum value "audio"
	RequestGetUserUploadsRequestTypeAudio string = "audio"

	// RequestGetUserUploadsRequestTypeVideo captures enum value "video"
	RequestGetUserUploadsRequestTypeVideo string = "video"

	// RequestGetUserUploadsRequestTypeApplication captures enum value "application"
	RequestGetUserUploadsRequestTypeApplication string = "application"

	// RequestGetUserUploadsRequestTypeText captures enum value "text"
	RequestGetUserUploadsRequestTypeText string = "text"
)
View Source
const (

	// RequestRemoveItemFromCollectionRequestTypeDataset captures enum value "dataset"
	RequestRemoveItemFromCollectionRequestTypeDataset string = "dataset"

	// RequestRemoveItemFromCollectionRequestTypeModel captures enum value "model"
	RequestRemoveItemFromCollectionRequestTypeModel string = "model"
)
View Source
const (

	// RequestUpdateCollectionRequestVisibilityPublic captures enum value "public"
	RequestUpdateCollectionRequestVisibilityPublic string = "public"

	// RequestUpdateCollectionRequestVisibilityPrivate captures enum value "private"
	RequestUpdateCollectionRequestVisibilityPrivate string = "private"
)
View Source
const (

	// RequestUpdateCompetitionRequestPrizeDistributionMethodManual captures enum value "manual"
	RequestUpdateCompetitionRequestPrizeDistributionMethodManual string = "manual"

	// RequestUpdateCompetitionRequestPrizeDistributionMethodSmartContract captures enum value "smart_contract"
	RequestUpdateCompetitionRequestPrizeDistributionMethodSmartContract string = "smart_contract"
)
View Source
const (

	// RequestUpdateDatasetRequestVisibilityPublic captures enum value "public"
	RequestUpdateDatasetRequestVisibilityPublic string = "public"

	// RequestUpdateDatasetRequestVisibilityPrivate captures enum value "private"
	RequestUpdateDatasetRequestVisibilityPrivate string = "private"
)
View Source
const (

	// RequestUpdateOrganizationInfoRequestVisibilityPublic captures enum value "public"
	RequestUpdateOrganizationInfoRequestVisibilityPublic string = "public"

	// RequestUpdateOrganizationInfoRequestVisibilityPrivate captures enum value "private"
	RequestUpdateOrganizationInfoRequestVisibilityPrivate string = "private"
)

Variables ¶

This section is empty.

Functions ¶

This section is empty.

Types ¶

type ModelsAPIKey ¶

type ModelsAPIKey struct {

	// active
	Active bool `json:"active,omitempty"`

	// api key
	APIKey string `json:"api_key,omitempty"`

	// api price
	APIPrice float64 `json:"api_price,omitempty"`

	// created at
	CreatedAt string `json:"created_at,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// input format
	InputFormat any `json:"input_format,omitempty"`

	// model id
	ModelID string `json:"model_id,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// output format
	OutputFormat any `json:"output_format,omitempty"`

	// total cost
	TotalCost float64 `json:"total_cost,omitempty"`

	// total failed
	TotalFailed int64 `json:"total_failed,omitempty"`

	// total request
	TotalRequest int64 `json:"total_request,omitempty"`

	// total success
	TotalSuccess int64 `json:"total_success,omitempty"`

	// updated at
	UpdatedAt string `json:"updated_at,omitempty"`

	// user
	User *ModelsUser `json:"user,omitempty"`

	// user id
	UserID string `json:"user_id,omitempty"`
}

ModelsAPIKey models Api key

swagger:model models.ApiKey

func (*ModelsAPIKey) ContextValidate ¶

func (m *ModelsAPIKey) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this models Api key based on the context it is used

func (*ModelsAPIKey) MarshalBinary ¶

func (m *ModelsAPIKey) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsAPIKey) UnmarshalBinary ¶

func (m *ModelsAPIKey) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsAPIKey) Validate ¶

func (m *ModelsAPIKey) Validate(formats strfmt.Registry) error

Validate validates this models Api key

type ModelsAPIKeyHistories ¶

type ModelsAPIKeyHistories struct {

	// cost
	Cost float64 `json:"cost,omitempty"`

	// created at
	CreatedAt string `json:"created_at,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// input data
	InputData any `json:"input_data,omitempty"`

	// input format
	InputFormat any `json:"input_format,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// output format
	OutputFormat any `json:"output_format,omitempty"`

	// result
	Result *ModelsInferenceResult `json:"result,omitempty"`

	// status
	Status string `json:"status,omitempty"`

	// task id
	TaskID string `json:"task_id,omitempty"`

	// updated at
	UpdatedAt string `json:"updated_at,omitempty"`
}

ModelsAPIKeyHistories models Api key histories

swagger:model models.ApiKeyHistories

func (*ModelsAPIKeyHistories) ContextValidate ¶

func (m *ModelsAPIKeyHistories) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this models Api key histories based on the context it is used

func (*ModelsAPIKeyHistories) MarshalBinary ¶

func (m *ModelsAPIKeyHistories) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsAPIKeyHistories) UnmarshalBinary ¶

func (m *ModelsAPIKeyHistories) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsAPIKeyHistories) Validate ¶

func (m *ModelsAPIKeyHistories) Validate(formats strfmt.Registry) error

Validate validates this models Api key histories

type ModelsAPIKeyInfo ¶

type ModelsAPIKeyInfo struct {

	// api price
	APIPrice float64 `json:"api_price,omitempty"`

	// commit hash
	CommitHash string `json:"commit_hash,omitempty"`

	// input format
	InputFormat any `json:"input_format,omitempty"`

	// model description
	ModelDescription string `json:"model_description,omitempty"`

	// model id
	ModelID string `json:"model_id,omitempty"`

	// output format
	OutputFormat any `json:"output_format,omitempty"`
}

ModelsAPIKeyInfo models Api key info

swagger:model models.ApiKeyInfo

func (*ModelsAPIKeyInfo) ContextValidate ¶

func (m *ModelsAPIKeyInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this models Api key info based on context it is used

func (*ModelsAPIKeyInfo) MarshalBinary ¶

func (m *ModelsAPIKeyInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsAPIKeyInfo) UnmarshalBinary ¶

func (m *ModelsAPIKeyInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsAPIKeyInfo) Validate ¶

func (m *ModelsAPIKeyInfo) Validate(formats strfmt.Registry) error

Validate validates this models Api key info

type ModelsAPIKeyPackage ¶

type ModelsAPIKeyPackage struct {

	// model id
	ModelID string `json:"model_id,omitempty"`

	// uses remaining
	UsesRemaining int64 `json:"uses_remaining,omitempty"`
}

ModelsAPIKeyPackage models Api key package

swagger:model models.ApiKeyPackage

func (*ModelsAPIKeyPackage) ContextValidate ¶

func (m *ModelsAPIKeyPackage) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this models Api key package based on context it is used

func (*ModelsAPIKeyPackage) MarshalBinary ¶

func (m *ModelsAPIKeyPackage) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsAPIKeyPackage) UnmarshalBinary ¶

func (m *ModelsAPIKeyPackage) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsAPIKeyPackage) Validate ¶

func (m *ModelsAPIKeyPackage) Validate(formats strfmt.Registry) error

Validate validates this models Api key package

type ModelsAPIPackage ¶

type ModelsAPIPackage struct {

	// active
	Active bool `json:"active,omitempty"`

	// created at
	CreatedAt string `json:"created_at,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// discount
	Discount float64 `json:"discount,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// quantity uses
	QuantityUses int64 `json:"quantity_uses,omitempty"`

	// updated at
	UpdatedAt string `json:"updated_at,omitempty"`
}

ModelsAPIPackage models Api package

swagger:model models.ApiPackage

func (*ModelsAPIPackage) ContextValidate ¶

func (m *ModelsAPIPackage) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this models Api package based on context it is used

func (*ModelsAPIPackage) MarshalBinary ¶

func (m *ModelsAPIPackage) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsAPIPackage) UnmarshalBinary ¶

func (m *ModelsAPIPackage) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsAPIPackage) Validate ¶

func (m *ModelsAPIPackage) Validate(formats strfmt.Registry) error

Validate validates this models Api package

type ModelsActionStatistics ¶

type ModelsActionStatistics struct {

	// action
	Action string `json:"action,omitempty"`

	// amount
	Amount float64 `json:"amount,omitempty"`

	// txns
	Txns []string `json:"txns"`
}

ModelsActionStatistics models action statistics

swagger:model models.ActionStatistics

func (*ModelsActionStatistics) ContextValidate ¶

func (m *ModelsActionStatistics) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this models action statistics based on context it is used

func (*ModelsActionStatistics) MarshalBinary ¶

func (m *ModelsActionStatistics) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsActionStatistics) UnmarshalBinary ¶

func (m *ModelsActionStatistics) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsActionStatistics) Validate ¶

func (m *ModelsActionStatistics) Validate(formats strfmt.Registry) error

Validate validates this models action statistics

type ModelsAdmin ¶

type ModelsAdmin struct {

	// created at
	CreatedAt string `json:"created_at,omitempty"`

	// email
	Email string `json:"email,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// is active
	IsActive bool `json:"is_active,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// role
	Role int64 `json:"role,omitempty"`

	// updated at
	UpdatedAt string `json:"updated_at,omitempty"`
}

ModelsAdmin models admin

swagger:model models.Admin

func (*ModelsAdmin) ContextValidate ¶

func (m *ModelsAdmin) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this models admin based on context it is used

func (*ModelsAdmin) MarshalBinary ¶

func (m *ModelsAdmin) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsAdmin) UnmarshalBinary ¶

func (m *ModelsAdmin) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsAdmin) Validate ¶

func (m *ModelsAdmin) Validate(formats strfmt.Registry) error

Validate validates this models admin

type ModelsAmountByDate ¶

type ModelsAmountByDate struct {

	// date
	Date string `json:"date,omitempty"`

	// total
	Total float64 `json:"total,omitempty"`
}

ModelsAmountByDate models amount by date

swagger:model models.AmountByDate

func (*ModelsAmountByDate) ContextValidate ¶

func (m *ModelsAmountByDate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this models amount by date based on context it is used

func (*ModelsAmountByDate) MarshalBinary ¶

func (m *ModelsAmountByDate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsAmountByDate) UnmarshalBinary ¶

func (m *ModelsAmountByDate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsAmountByDate) Validate ¶

func (m *ModelsAmountByDate) Validate(formats strfmt.Registry) error

Validate validates this models amount by date

type ModelsApprovalRequest ¶

type ModelsApprovalRequest struct {

	// action type
	ActionType string `json:"action_type,omitempty"`

	// admin note
	AdminNote string `json:"admin_note,omitempty"`

	// approved at
	ApprovedAt string `json:"approved_at,omitempty"`

	// approved by
	ApprovedBy string `json:"approved_by,omitempty"`

	// created at
	CreatedAt string `json:"created_at,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// payload
	Payload string `json:"payload,omitempty"`

	// reason
	Reason string `json:"reason,omitempty"`

	// request data
	RequestData string `json:"request_data,omitempty"`

	// requested by
	RequestedBy string `json:"requested_by,omitempty"`

	// status
	Status string `json:"status,omitempty"`

	// target id
	TargetID string `json:"target_id,omitempty"`
}

ModelsApprovalRequest models approval request

swagger:model models.ApprovalRequest

func (*ModelsApprovalRequest) ContextValidate ¶

func (m *ModelsApprovalRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this models approval request based on context it is used

func (*ModelsApprovalRequest) MarshalBinary ¶

func (m *ModelsApprovalRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsApprovalRequest) UnmarshalBinary ¶

func (m *ModelsApprovalRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsApprovalRequest) Validate ¶

func (m *ModelsApprovalRequest) Validate(formats strfmt.Registry) error

Validate validates this models approval request

type ModelsBlacklistContent ¶

type ModelsBlacklistContent struct {

	// content
	Content string `json:"content,omitempty"`

	// created at
	CreatedAt string `json:"created_at,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// type
	Type string `json:"type,omitempty"`
}

ModelsBlacklistContent models blacklist content

swagger:model models.BlacklistContent

func (*ModelsBlacklistContent) ContextValidate ¶

func (m *ModelsBlacklistContent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this models blacklist content based on context it is used

func (*ModelsBlacklistContent) MarshalBinary ¶

func (m *ModelsBlacklistContent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsBlacklistContent) UnmarshalBinary ¶

func (m *ModelsBlacklistContent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsBlacklistContent) Validate ¶

func (m *ModelsBlacklistContent) Validate(formats strfmt.Registry) error

Validate validates this models blacklist content

type ModelsBot ¶

type ModelsBot struct {

	// created at
	CreatedAt string `json:"created_at,omitempty"`

	// id
	ID string `json:"id,omitempty"`
}

ModelsBot models bot

swagger:model models.Bot

func (*ModelsBot) ContextValidate ¶

func (m *ModelsBot) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this models bot based on context it is used

func (*ModelsBot) MarshalBinary ¶

func (m *ModelsBot) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsBot) UnmarshalBinary ¶

func (m *ModelsBot) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsBot) Validate ¶

func (m *ModelsBot) Validate(formats strfmt.Registry) error

Validate validates this models bot

type ModelsBotAccount ¶

type ModelsBotAccount struct {

	// password
	Password string `json:"password,omitempty"`

	// private key
	PrivateKey string `json:"private_key,omitempty"`

	// username
	Username string `json:"username,omitempty"`

	// wallet address
	WalletAddress string `json:"wallet_address,omitempty"`
}

ModelsBotAccount models bot account

swagger:model models.BotAccount

func (*ModelsBotAccount) ContextValidate ¶

func (m *ModelsBotAccount) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this models bot account based on context it is used

func (*ModelsBotAccount) MarshalBinary ¶

func (m *ModelsBotAccount) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsBotAccount) UnmarshalBinary ¶

func (m *ModelsBotAccount) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsBotAccount) Validate ¶

func (m *ModelsBotAccount) Validate(formats strfmt.Registry) error

Validate validates this models bot account

type ModelsBranch ¶

type ModelsBranch struct {

	// commit
	Commit *ModelsPayloadCommit `json:"commit,omitempty"`

	// effective branch protection name
	EffectiveBranchProtectionName string `json:"effective_branch_protection_name,omitempty"`

	// enable status check
	EnableStatusCheck bool `json:"enable_status_check,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// protected
	Protected bool `json:"protected,omitempty"`

	// required approvals
	RequiredApprovals int64 `json:"required_approvals,omitempty"`

	// status check contexts
	StatusCheckContexts []string `json:"status_check_contexts"`

	// user can merge
	UserCanMerge bool `json:"user_can_merge,omitempty"`

	// user can push
	UserCanPush bool `json:"user_can_push,omitempty"`
}

ModelsBranch models branch

swagger:model models.Branch

func (*ModelsBranch) ContextValidate ¶

func (m *ModelsBranch) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this models branch based on the context it is used

func (*ModelsBranch) MarshalBinary ¶

func (m *ModelsBranch) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsBranch) UnmarshalBinary ¶

func (m *ModelsBranch) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsBranch) Validate ¶

func (m *ModelsBranch) Validate(formats strfmt.Registry) error

Validate validates this models branch

type ModelsBurnStatistics ¶

type ModelsBurnStatistics struct {

	// data
	Data []*ModelsAmountByDate `json:"data"`

	// total
	Total float64 `json:"total,omitempty"`
}

ModelsBurnStatistics models burn statistics

swagger:model models.BurnStatistics

func (*ModelsBurnStatistics) ContextValidate ¶

func (m *ModelsBurnStatistics) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this models burn statistics based on the context it is used

func (*ModelsBurnStatistics) MarshalBinary ¶

func (m *ModelsBurnStatistics) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsBurnStatistics) UnmarshalBinary ¶

func (m *ModelsBurnStatistics) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsBurnStatistics) Validate ¶

func (m *ModelsBurnStatistics) Validate(formats strfmt.Registry) error

Validate validates this models burn statistics

type ModelsChallengeActivity ¶

type ModelsChallengeActivity struct {

	// dataset downloads
	DatasetDownloads int64 `json:"dataset_downloads,omitempty"`

	// discussion 7d
	Discussion7d int64 `json:"discussion_7d,omitempty"`

	// discussion posts
	DiscussionPosts int64 `json:"discussion_posts,omitempty"`

	// model downloads
	ModelDownloads int64 `json:"model_downloads,omitempty"`
}

ModelsChallengeActivity models challenge activity

swagger:model models.ChallengeActivity

func (*ModelsChallengeActivity) ContextValidate ¶

func (m *ModelsChallengeActivity) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this models challenge activity based on context it is used

func (*ModelsChallengeActivity) MarshalBinary ¶

func (m *ModelsChallengeActivity) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsChallengeActivity) UnmarshalBinary ¶

func (m *ModelsChallengeActivity) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsChallengeActivity) Validate ¶

func (m *ModelsChallengeActivity) Validate(formats strfmt.Registry) error

Validate validates this models challenge activity

type ModelsChallengeParticipation ¶

type ModelsChallengeParticipation struct {

	// completion rate
	CompletionRate float64 `json:"completion_rate,omitempty"`

	// engagement rate
	EngagementRate float64 `json:"engagement_rate,omitempty"`

	// new users today
	NewUsersToday int64 `json:"new_users_today,omitempty"`

	// submissions today
	SubmissionsToday int64 `json:"submissions_today,omitempty"`

	// total submissions
	TotalSubmissions int64 `json:"total_submissions,omitempty"`

	// total users
	TotalUsers int64 `json:"total_users,omitempty"`
}

ModelsChallengeParticipation models challenge participation

swagger:model models.ChallengeParticipation

func (*ModelsChallengeParticipation) ContextValidate ¶

func (m *ModelsChallengeParticipation) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this models challenge participation based on context it is used

func (*ModelsChallengeParticipation) MarshalBinary ¶

func (m *ModelsChallengeParticipation) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsChallengeParticipation) UnmarshalBinary ¶

func (m *ModelsChallengeParticipation) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsChallengeParticipation) Validate ¶

func (m *ModelsChallengeParticipation) Validate(formats strfmt.Registry) error

Validate validates this models challenge participation

type ModelsChallengePerformance ¶

type ModelsChallengePerformance struct {

	// avg score
	AvgScore float64 `json:"avg_score,omitempty"`

	// best score
	BestScore float64 `json:"best_score,omitempty"`

	// improvement trend
	ImprovementTrend string `json:"improvement_trend,omitempty"`
}

ModelsChallengePerformance models challenge performance

swagger:model models.ChallengePerformance

func (*ModelsChallengePerformance) ContextValidate ¶

func (m *ModelsChallengePerformance) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this models challenge performance based on context it is used

func (*ModelsChallengePerformance) MarshalBinary ¶

func (m *ModelsChallengePerformance) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsChallengePerformance) UnmarshalBinary ¶

func (m *ModelsChallengePerformance) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsChallengePerformance) Validate ¶

func (m *ModelsChallengePerformance) Validate(formats strfmt.Registry) error

Validate validates this models challenge performance

type ModelsChallengeSubmissions ¶

type ModelsChallengeSubmissions struct {

	// failed
	Failed int64 `json:"failed,omitempty"`

	// pending
	Pending int64 `json:"pending,omitempty"`

	// private
	Private int64 `json:"private,omitempty"`

	// public
	Public int64 `json:"public,omitempty"`

	// success
	Success int64 `json:"success,omitempty"`

	// users at limit today
	UsersAtLimitToday int64 `json:"users_at_limit_today,omitempty"`
}

ModelsChallengeSubmissions models challenge submissions

swagger:model models.ChallengeSubmissions

func (*ModelsChallengeSubmissions) ContextValidate ¶

func (m *ModelsChallengeSubmissions) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this models challenge submissions based on context it is used

func (*ModelsChallengeSubmissions) MarshalBinary ¶

func (m *ModelsChallengeSubmissions) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsChallengeSubmissions) UnmarshalBinary ¶

func (m *ModelsChallengeSubmissions) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsChallengeSubmissions) Validate ¶

func (m *ModelsChallengeSubmissions) Validate(formats strfmt.Registry) error

Validate validates this models challenge submissions

type ModelsChallengeSummary ¶

type ModelsChallengeSummary struct {

	// activity
	Activity *ModelsChallengeActivity `json:"activity,omitempty"`

	// category
	Category string `json:"category,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// participation
	Participation *ModelsChallengeParticipation `json:"participation,omitempty"`

	// performance
	Performance *ModelsChallengePerformance `json:"performance,omitempty"`

	// progress
	Progress int64 `json:"progress,omitempty"`

	// status
	Status string `json:"status,omitempty"`

	// submissions
	Submissions *ModelsChallengeSubmissions `json:"submissions,omitempty"`

	// timeline
	Timeline *ModelsChallengeTimeline `json:"timeline,omitempty"`
}

ModelsChallengeSummary models challenge summary

swagger:model models.ChallengeSummary

func (*ModelsChallengeSummary) ContextValidate ¶

func (m *ModelsChallengeSummary) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this models challenge summary based on the context it is used

func (*ModelsChallengeSummary) MarshalBinary ¶

func (m *ModelsChallengeSummary) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsChallengeSummary) UnmarshalBinary ¶

func (m *ModelsChallengeSummary) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsChallengeSummary) Validate ¶

func (m *ModelsChallengeSummary) Validate(formats strfmt.Registry) error

Validate validates this models challenge summary

type ModelsChallengeTimeline ¶

type ModelsChallengeTimeline struct {

	// days remaining
	DaysRemaining int64 `json:"days_remaining,omitempty"`

	// end
	End string `json:"end,omitempty"`

	// start
	Start string `json:"start,omitempty"`
}

ModelsChallengeTimeline models challenge timeline

swagger:model models.ChallengeTimeline

func (*ModelsChallengeTimeline) ContextValidate ¶

func (m *ModelsChallengeTimeline) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this models challenge timeline based on context it is used

func (*ModelsChallengeTimeline) MarshalBinary ¶

func (m *ModelsChallengeTimeline) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsChallengeTimeline) UnmarshalBinary ¶

func (m *ModelsChallengeTimeline) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsChallengeTimeline) Validate ¶

func (m *ModelsChallengeTimeline) Validate(formats strfmt.Registry) error

Validate validates this models challenge timeline

type ModelsCheckedCommit ¶

type ModelsCheckedCommit struct {

	// commit hash
	CommitHash string `json:"commit_hash,omitempty"`

	// commit message
	CommitMessage string `json:"commit_message,omitempty"`

	// created at
	CreatedAt string `json:"created_at,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// model id
	ModelID string `json:"model_id,omitempty"`

	// updated at
	UpdatedAt string `json:"updated_at,omitempty"`

	// user id
	UserID string `json:"user_id,omitempty"`

	// username
	Username string `json:"username,omitempty"`

	// valid
	Valid bool `json:"valid,omitempty"`
}

ModelsCheckedCommit models checked commit

swagger:model models.CheckedCommit

func (*ModelsCheckedCommit) ContextValidate ¶

func (m *ModelsCheckedCommit) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this models checked commit based on context it is used

func (*ModelsCheckedCommit) MarshalBinary ¶

func (m *ModelsCheckedCommit) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsCheckedCommit) UnmarshalBinary ¶

func (m *ModelsCheckedCommit) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsCheckedCommit) Validate ¶

func (m *ModelsCheckedCommit) Validate(formats strfmt.Registry) error

Validate validates this models checked commit

type ModelsCollection ¶

type ModelsCollection struct {

	// author avatar
	AuthorAvatar string `json:"author_avatar,omitempty"`

	// created at
	CreatedAt string `json:"created_at,omitempty"`

	// datasets
	Datasets []*ModelsDataset `json:"datasets"`

	// datasets count
	DatasetsCount int64 `json:"datasets_count,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// is voted by user
	IsVotedByUser bool `json:"is_voted_by_user,omitempty"`

	// models
	Models []*ModelsModel `json:"models"`

	// models count
	ModelsCount int64 `json:"models_count,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// thumbnail
	Thumbnail string `json:"thumbnail,omitempty"`

	// updated at
	UpdatedAt string `json:"updated_at,omitempty"`

	// user id
	UserID string `json:"user_id,omitempty"`

	// username
	Username string `json:"username,omitempty"`

	// violated
	Violated bool `json:"violated,omitempty"`

	// visibility
	Visibility string `json:"visibility,omitempty"`

	// votes count
	VotesCount int64 `json:"votes_count,omitempty"`
}

ModelsCollection models collection

swagger:model models.Collection

func (*ModelsCollection) ContextValidate ¶

func (m *ModelsCollection) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this models collection based on the context it is used

func (*ModelsCollection) MarshalBinary ¶

func (m *ModelsCollection) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsCollection) UnmarshalBinary ¶

func (m *ModelsCollection) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsCollection) Validate ¶

func (m *ModelsCollection) Validate(formats strfmt.Registry) error

Validate validates this models collection

type ModelsComment ¶

type ModelsComment struct {

	// content
	Content string `json:"content,omitempty"`

	// created at
	CreatedAt string `json:"created_at,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// owner
	Owner *ModelsOwner `json:"owner,omitempty"`

	// reacted
	Reacted *ModelsReaction `json:"reacted,omitempty"`

	// reactions
	Reactions []*ModelsReaction `json:"reactions"`

	// reactions statistics
	ReactionsStatistics []*ModelsReactionStats `json:"reactions_statistics"`

	// reacts count
	ReactsCount int64 `json:"reacts_count,omitempty"`

	// tag usernames
	TagUsernames []string `json:"tag_usernames"`

	// updated at
	UpdatedAt string `json:"updated_at,omitempty"`

	// violated
	Violated bool `json:"violated,omitempty"`
}

ModelsComment models comment

swagger:model models.Comment

func (*ModelsComment) ContextValidate ¶

func (m *ModelsComment) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this models comment based on the context it is used

func (*ModelsComment) MarshalBinary ¶

func (m *ModelsComment) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsComment) UnmarshalBinary ¶

func (m *ModelsComment) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsComment) Validate ¶

func (m *ModelsComment) Validate(formats strfmt.Registry) error

Validate validates this models comment

type ModelsCommit ¶

type ModelsCommit struct {

	// author
	Author *ModelsUser `json:"author,omitempty"`

	// commit affected files
	CommitAffectedFiles []string `json:"commit_affected_files"`

	// commit data
	CommitData *ModelsUser `json:"commit_data,omitempty"`

	// commit meta
	CommitMeta *ModelsCommitMeta `json:"commit_meta,omitempty"`

	// parents
	Parents []*ModelsCommitMeta `json:"parents"`

	// repo commit
	RepoCommit *ModelsRepoCommit `json:"repo_commit,omitempty"`

	// stats
	Stats *ModelsCommitStats `json:"stats,omitempty"`
}

ModelsCommit models commit

swagger:model models.Commit

func (*ModelsCommit) ContextValidate ¶

func (m *ModelsCommit) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this models commit based on the context it is used

func (*ModelsCommit) MarshalBinary ¶

func (m *ModelsCommit) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsCommit) UnmarshalBinary ¶

func (m *ModelsCommit) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsCommit) Validate ¶

func (m *ModelsCommit) Validate(formats strfmt.Registry) error

Validate validates this models commit

type ModelsCommitMeta ¶

type ModelsCommitMeta struct {

	// created
	Created string `json:"created,omitempty"`

	// sha
	Sha string `json:"sha,omitempty"`

	// url
	URL string `json:"url,omitempty"`
}

ModelsCommitMeta models commit meta

swagger:model models.CommitMeta

func (*ModelsCommitMeta) ContextValidate ¶

func (m *ModelsCommitMeta) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this models commit meta based on context it is used

func (*ModelsCommitMeta) MarshalBinary ¶

func (m *ModelsCommitMeta) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsCommitMeta) UnmarshalBinary ¶

func (m *ModelsCommitMeta) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsCommitMeta) Validate ¶

func (m *ModelsCommitMeta) Validate(formats strfmt.Registry) error

Validate validates this models commit meta

type ModelsCommitStats ¶

type ModelsCommitStats struct {

	// additions
	Additions int64 `json:"additions,omitempty"`

	// deletions
	Deletions int64 `json:"deletions,omitempty"`

	// total
	Total int64 `json:"total,omitempty"`
}

ModelsCommitStats models commit stats

swagger:model models.CommitStats

func (*ModelsCommitStats) ContextValidate ¶

func (m *ModelsCommitStats) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this models commit stats based on context it is used

func (*ModelsCommitStats) MarshalBinary ¶

func (m *ModelsCommitStats) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsCommitStats) UnmarshalBinary ¶

func (m *ModelsCommitStats) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsCommitStats) Validate ¶

func (m *ModelsCommitStats) Validate(formats strfmt.Registry) error

Validate validates this models commit stats

type ModelsCommitTree ¶

type ModelsCommitTree struct {

	// page
	Page int64 `json:"page,omitempty"`

	// sha
	Sha string `json:"sha,omitempty"`

	// total count
	TotalCount int64 `json:"total_count,omitempty"`

	// tree
	Tree []*ModelsGitEntry `json:"tree"`

	// truncated
	Truncated bool `json:"truncated,omitempty"`

	// url
	URL string `json:"url,omitempty"`
}

ModelsCommitTree models commit tree

swagger:model models.CommitTree

func (*ModelsCommitTree) ContextValidate ¶

func (m *ModelsCommitTree) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this models commit tree based on the context it is used

func (*ModelsCommitTree) MarshalBinary ¶

func (m *ModelsCommitTree) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsCommitTree) UnmarshalBinary ¶

func (m *ModelsCommitTree) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsCommitTree) Validate ¶

func (m *ModelsCommitTree) Validate(formats strfmt.Registry) error

Validate validates this models commit tree

type ModelsCommitUser ¶

type ModelsCommitUser struct {

	// date
	Date string `json:"date,omitempty"`

	// email
	Email string `json:"email,omitempty"`

	// name
	Name string `json:"name,omitempty"`
}

ModelsCommitUser models commit user

swagger:model models.CommitUser

func (*ModelsCommitUser) ContextValidate ¶

func (m *ModelsCommitUser) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this models commit user based on context it is used

func (*ModelsCommitUser) MarshalBinary ¶

func (m *ModelsCommitUser) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsCommitUser) UnmarshalBinary ¶

func (m *ModelsCommitUser) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsCommitUser) Validate ¶

func (m *ModelsCommitUser) Validate(formats strfmt.Registry) error

Validate validates this models commit user

type ModelsCompetition ¶

type ModelsCompetition struct {

	// author id
	AuthorID string `json:"author_id,omitempty"`

	// category
	Category string `json:"category,omitempty"`

	// code
	Code string `json:"code,omitempty"`

	// cover
	Cover string `json:"cover,omitempty"`

	// created at
	CreatedAt string `json:"created_at,omitempty"`

	// data
	Data string `json:"data,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// end date
	EndDate string `json:"end_date,omitempty"`

	// final result mode
	FinalResultMode string `json:"final_result_mode,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// joined
	Joined bool `json:"joined,omitempty"`

	// launched
	Launched bool `json:"launched,omitempty"`

	// max daily private submissions
	MaxDailyPrivateSubmissions int64 `json:"max_daily_private_submissions,omitempty"`

	// overview
	Overview string `json:"overview,omitempty"`

	// owner
	Owner *ModelsOwner `json:"owner,omitempty"`

	// participants
	Participants int64 `json:"participants,omitempty"`

	// path
	Path string `json:"path,omitempty"`

	// permission
	Permission any `json:"permission,omitempty"`

	// private leaderboard release date
	PrivateLeaderboardReleaseDate string `json:"private_leaderboard_release_date,omitempty"`

	// private submissions remaining
	PrivateSubmissionsRemaining int64 `json:"private_submissions_remaining,omitempty"`

	// prize distribution method
	PrizeDistributionMethod string `json:"prize_distribution_method,omitempty"`

	// registration deadline
	RegistrationDeadline string `json:"registration_deadline,omitempty"`

	// reward type
	RewardType string `json:"reward_type,omitempty"`

	// rules
	Rules string `json:"rules,omitempty"`

	// start date
	StartDate string `json:"start_date,omitempty"`

	// submission deadline
	SubmissionDeadline string `json:"submission_deadline,omitempty"`

	// submissions
	Submissions int64 `json:"submissions,omitempty"`

	// tags
	Tags []string `json:"tags"`

	// thumbnail
	Thumbnail string `json:"thumbnail,omitempty"`

	// time zone config
	TimeZoneConfig any `json:"time_zone_config,omitempty"`

	// title
	Title string `json:"title,omitempty"`

	// total prize pool
	TotalPrizePool float64 `json:"total_prize_pool,omitempty"`

	// updated at
	UpdatedAt string `json:"updated_at,omitempty"`

	// user id
	UserID string `json:"user_id,omitempty"`

	// visibility
	Visibility string `json:"visibility,omitempty"`
}

ModelsCompetition models competition

swagger:model models.Competition

func (*ModelsCompetition) ContextValidate ¶

func (m *ModelsCompetition) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this models competition based on the context it is used

func (*ModelsCompetition) MarshalBinary ¶

func (m *ModelsCompetition) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsCompetition) UnmarshalBinary ¶

func (m *ModelsCompetition) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsCompetition) Validate ¶

func (m *ModelsCompetition) Validate(formats strfmt.Registry) error

Validate validates this models competition

type ModelsContent ¶

type ModelsContent struct {

	// content
	Content string `json:"content,omitempty"`

	// download url
	DownloadURL string `json:"download_url,omitempty"`

	// encoding
	Encoding string `json:"encoding,omitempty"`

	// git url
	GitURL string `json:"git_url,omitempty"`

	// is lfs
	IsLfs bool `json:"is_lfs,omitempty"`

	// last commit at
	LastCommitAt string `json:"last_commit_at,omitempty"`

	// last commit message
	LastCommitMessage string `json:"last_commit_message,omitempty"`

	// last commit sha
	LastCommitSha string `json:"last_commit_sha,omitempty"`

	// links
	Links *ModelsFileLink `json:"links,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// path
	Path string `json:"path,omitempty"`

	// sha
	Sha string `json:"sha,omitempty"`

	// size
	Size int64 `json:"size,omitempty"`

	// submodule git url
	SubmoduleGitURL string `json:"submodule_git_url,omitempty"`

	// target
	Target string `json:"target,omitempty"`

	// type
	Type string `json:"type,omitempty"`

	// url
	URL string `json:"url,omitempty"`
}

ModelsContent models content

swagger:model models.Content

func (*ModelsContent) ContextValidate ¶

func (m *ModelsContent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this models content based on the context it is used

func (*ModelsContent) MarshalBinary ¶

func (m *ModelsContent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsContent) UnmarshalBinary ¶

func (m *ModelsContent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsContent) Validate ¶

func (m *ModelsContent) Validate(formats strfmt.Registry) error

Validate validates this models content

type ModelsContentConfig ¶

type ModelsContentConfig struct {

	// created at
	CreatedAt string `json:"created_at,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// key
	Key string `json:"key,omitempty"`

	// updated at
	UpdatedAt string `json:"updated_at,omitempty"`

	// value
	Value string `json:"value,omitempty"`
}

ModelsContentConfig models content config

swagger:model models.ContentConfig

func (*ModelsContentConfig) ContextValidate ¶

func (m *ModelsContentConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this models content config based on context it is used

func (*ModelsContentConfig) MarshalBinary ¶

func (m *ModelsContentConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsContentConfig) UnmarshalBinary ¶

func (m *ModelsContentConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsContentConfig) Validate ¶

func (m *ModelsContentConfig) Validate(formats strfmt.Registry) error

Validate validates this models content config

type ModelsCredential ¶

type ModelsCredential struct {

	// access token
	AccessToken string `json:"access_token,omitempty"`

	// refresh token
	RefreshToken string `json:"refresh_token,omitempty"`

	// user
	User *ModelsUser `json:"user,omitempty"`
}

ModelsCredential models credential

swagger:model models.Credential

func (*ModelsCredential) ContextValidate ¶

func (m *ModelsCredential) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this models credential based on the context it is used

func (*ModelsCredential) MarshalBinary ¶

func (m *ModelsCredential) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsCredential) UnmarshalBinary ¶

func (m *ModelsCredential) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsCredential) Validate ¶

func (m *ModelsCredential) Validate(formats strfmt.Registry) error

Validate validates this models credential

type ModelsCustomMetric ¶

type ModelsCustomMetric struct {

	// competition id
	CompetitionID string `json:"competition_id,omitempty"`

	// created at
	CreatedAt string `json:"created_at,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// file name
	FileName string `json:"file_name,omitempty"`

	// file size
	FileSize float64 `json:"file_size,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// title
	Title string `json:"title,omitempty"`

	// updated at
	UpdatedAt string `json:"updated_at,omitempty"`

	// url
	URL string `json:"url,omitempty"`

	// user id
	UserID string `json:"user_id,omitempty"`
}

ModelsCustomMetric models custom metric

swagger:model models.CustomMetric

func (*ModelsCustomMetric) ContextValidate ¶

func (m *ModelsCustomMetric) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this models custom metric based on context it is used

func (*ModelsCustomMetric) MarshalBinary ¶

func (m *ModelsCustomMetric) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsCustomMetric) UnmarshalBinary ¶

func (m *ModelsCustomMetric) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsCustomMetric) Validate ¶

func (m *ModelsCustomMetric) Validate(formats strfmt.Registry) error

Validate validates this models custom metric

type ModelsDataset ¶

type ModelsDataset struct {

	// author avatar
	AuthorAvatar string `json:"author_avatar,omitempty"`

	// author id
	AuthorID string `json:"author_id,omitempty"`

	// cover
	Cover string `json:"cover,omitempty"`

	// create by
	CreateBy string `json:"create_by,omitempty"`

	// created at
	CreatedAt string `json:"created_at,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// discussions count
	DiscussionsCount int64 `json:"discussions_count,omitempty"`

	// downloads count
	DownloadsCount int64 `json:"downloads_count,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// is liked by user
	IsLikedByUser bool `json:"is_liked_by_user,omitempty"`

	// is official
	IsOfficial bool `json:"is_official,omitempty"`

	// is released
	IsReleased bool `json:"is_released,omitempty"`

	// is verified
	IsVerified bool `json:"is_verified,omitempty"`

	// likes count
	LikesCount int64 `json:"likes_count,omitempty"`

	// metadata
	Metadata *ModelsDatasetMetadata `json:"metadata,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// price
	Price float64 `json:"price,omitempty"`

	// reacted
	Reacted *ModelsReaction `json:"reacted,omitempty"`

	// reactions statistics
	ReactionsStatistics []*ModelsReactionStats `json:"reactions_statistics"`

	// thumbnail
	Thumbnail string `json:"thumbnail,omitempty"`

	// updated at
	UpdatedAt string `json:"updated_at,omitempty"`

	// username
	Username string `json:"username,omitempty"`

	// visibility
	Visibility *string `json:"visibility,omitempty"`
}

ModelsDataset models dataset

swagger:model models.Dataset

func (*ModelsDataset) ContextValidate ¶

func (m *ModelsDataset) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this models dataset based on the context it is used

func (*ModelsDataset) MarshalBinary ¶

func (m *ModelsDataset) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsDataset) UnmarshalBinary ¶

func (m *ModelsDataset) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsDataset) Validate ¶

func (m *ModelsDataset) Validate(formats strfmt.Registry) error

Validate validates this models dataset

type ModelsDatasetMetadata ¶

type ModelsDatasetMetadata struct {

	// dataset id
	DatasetID *string `json:"dataset_id,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// language
	// Example: ["en","vi"]
	Language []string `json:"language"`

	// license
	License *string `json:"license,omitempty"`

	// pretty name
	PrettyName *string `json:"pretty_name,omitempty"`

	// size category
	SizeCategory *string `json:"size_category,omitempty"`

	// tags
	// Example: ["art"]
	Tags []string `json:"tags"`

	// task categories
	// Example: ["text-to-image"]
	TaskCategories []string `json:"task_categories"`
}

ModelsDatasetMetadata models dataset metadata

swagger:model models.DatasetMetadata

func (*ModelsDatasetMetadata) ContextValidate ¶

func (m *ModelsDatasetMetadata) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this models dataset metadata based on context it is used

func (*ModelsDatasetMetadata) MarshalBinary ¶

func (m *ModelsDatasetMetadata) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsDatasetMetadata) UnmarshalBinary ¶

func (m *ModelsDatasetMetadata) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsDatasetMetadata) Validate ¶

func (m *ModelsDatasetMetadata) Validate(formats strfmt.Registry) error

Validate validates this models dataset metadata

type ModelsDependency ¶

type ModelsDependency struct {

	// active
	Active bool `json:"active,omitempty"`

	// created at
	CreatedAt string `json:"created_at,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// updated at
	UpdatedAt string `json:"updated_at,omitempty"`

	// url
	URL any `json:"url,omitempty"`

	// version
	Version string `json:"version,omitempty"`
}

ModelsDependency models dependency

swagger:model models.Dependency

func (*ModelsDependency) ContextValidate ¶

func (m *ModelsDependency) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this models dependency based on context it is used

func (*ModelsDependency) MarshalBinary ¶

func (m *ModelsDependency) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsDependency) UnmarshalBinary ¶

func (m *ModelsDependency) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsDependency) Validate ¶

func (m *ModelsDependency) Validate(formats strfmt.Registry) error

Validate validates this models dependency

type ModelsDependencyLibRequest ¶

type ModelsDependencyLibRequest struct {

	// created at
	CreatedAt string `json:"created_at,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// package name
	PackageName string `json:"package_name,omitempty"`

	// reason
	Reason string `json:"reason,omitempty"`

	// status
	Status string `json:"status,omitempty"`

	// updated at
	UpdatedAt string `json:"updated_at,omitempty"`

	// user email
	UserEmail string `json:"user_email,omitempty"`

	// user id
	UserID string `json:"user_id,omitempty"`

	// version
	Version string `json:"version,omitempty"`
}

ModelsDependencyLibRequest models dependency lib request

swagger:model models.DependencyLibRequest

func (*ModelsDependencyLibRequest) ContextValidate ¶

func (m *ModelsDependencyLibRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this models dependency lib request based on context it is used

func (*ModelsDependencyLibRequest) MarshalBinary ¶

func (m *ModelsDependencyLibRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsDependencyLibRequest) UnmarshalBinary ¶

func (m *ModelsDependencyLibRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsDependencyLibRequest) Validate ¶

func (m *ModelsDependencyLibRequest) Validate(formats strfmt.Registry) error

Validate validates this models dependency lib request

type ModelsEarningsAnalytics ¶

type ModelsEarningsAnalytics struct {

	// api call earnings
	APICallEarnings float64 `json:"api_call_earnings,omitempty"`

	// dataset earnings
	DatasetEarnings float64 `json:"dataset_earnings,omitempty"`

	// model earnings
	ModelEarnings float64 `json:"model_earnings,omitempty"`

	// playground earnings
	PlaygroundEarnings float64 `json:"playground_earnings,omitempty"`

	// total earnings
	TotalEarnings float64 `json:"total_earnings,omitempty"`
}

ModelsEarningsAnalytics models earnings analytics

swagger:model models.EarningsAnalytics

func (*ModelsEarningsAnalytics) ContextValidate ¶

func (m *ModelsEarningsAnalytics) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this models earnings analytics based on context it is used

func (*ModelsEarningsAnalytics) MarshalBinary ¶

func (m *ModelsEarningsAnalytics) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsEarningsAnalytics) UnmarshalBinary ¶

func (m *ModelsEarningsAnalytics) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsEarningsAnalytics) Validate ¶

func (m *ModelsEarningsAnalytics) Validate(formats strfmt.Registry) error

Validate validates this models earnings analytics

type ModelsEvaluationSetting ¶

type ModelsEvaluationSetting struct {

	// competition id
	CompetitionID string `json:"competition_id,omitempty"`

	// created at
	CreatedAt string `json:"created_at,omitempty"`

	// datatest url
	DatatestURL string `json:"datatest_url,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// metric id
	MetricID string `json:"metric_id,omitempty"`

	// model timeout
	ModelTimeout int64 `json:"model_timeout,omitempty"`

	// private ground truth file name
	PrivateGroundTruthFileName string `json:"private_ground_truth_file_name,omitempty"`

	// private ground truth file size
	PrivateGroundTruthFileSize float64 `json:"private_ground_truth_file_size,omitempty"`

	// private ground truth url
	PrivateGroundTruthURL string `json:"private_ground_truth_url,omitempty"`

	// public ground truth file name
	PublicGroundTruthFileName string `json:"public_ground_truth_file_name,omitempty"`

	// public ground truth file size
	PublicGroundTruthFileSize float64 `json:"public_ground_truth_file_size,omitempty"`

	// public ground truth url
	PublicGroundTruthURL string `json:"public_ground_truth_url,omitempty"`

	// updated at
	UpdatedAt string `json:"updated_at,omitempty"`
}

ModelsEvaluationSetting models evaluation setting

swagger:model models.EvaluationSetting

func (*ModelsEvaluationSetting) ContextValidate ¶

func (m *ModelsEvaluationSetting) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this models evaluation setting based on context it is used

func (*ModelsEvaluationSetting) MarshalBinary ¶

func (m *ModelsEvaluationSetting) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsEvaluationSetting) UnmarshalBinary ¶

func (m *ModelsEvaluationSetting) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsEvaluationSetting) Validate ¶

func (m *ModelsEvaluationSetting) Validate(formats strfmt.Registry) error

Validate validates this models evaluation setting

type ModelsExportLeaderboard ¶

type ModelsExportLeaderboard struct {

	// created at
	CreatedAt string `json:"created_at,omitempty"`

	// entries
	Entries int64 `json:"entries,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// is violated
	IsViolated bool `json:"is_violated,omitempty"`

	// owner
	Owner *ModelsOwner `json:"owner,omitempty"`

	// rank change
	RankChange int64 `json:"rank_change,omitempty"`

	// score
	Score float64 `json:"score,omitempty"`

	// updated at
	UpdatedAt string `json:"updated_at,omitempty"`

	// user info
	UserInfo *ModelsUserInfoData `json:"user_info,omitempty"`

	// user submission stats
	UserSubmissionStats *ModelsUserSubmissionStats `json:"user_submission_stats,omitempty"`

	// user submissions
	UserSubmissions []*ModelsLiteSubmitHistory `json:"user_submissions"`
}

ModelsExportLeaderboard models export leaderboard

swagger:model models.ExportLeaderboard

func (*ModelsExportLeaderboard) ContextValidate ¶

func (m *ModelsExportLeaderboard) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this models export leaderboard based on the context it is used

func (*ModelsExportLeaderboard) MarshalBinary ¶

func (m *ModelsExportLeaderboard) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsExportLeaderboard) UnmarshalBinary ¶

func (m *ModelsExportLeaderboard) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsExportLeaderboard) Validate ¶

func (m *ModelsExportLeaderboard) Validate(formats strfmt.Registry) error

Validate validates this models export leaderboard

type ModelsFile ¶

type ModelsFile struct {

	// Content is the content of the file in base64 format (optional)
	Content string `json:"content,omitempty"`

	// Operation is the operation to be performed on the file (optional)
	Operation string `json:"operation,omitempty"`

	// Path is the path of the file (optional)
	Path string `json:"path,omitempty"`

	// Sha is the sha of the file (optional)
	Sha string `json:"sha,omitempty"`
}

ModelsFile models file

swagger:model models.File

func (*ModelsFile) ContextValidate ¶

func (m *ModelsFile) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this models file based on context it is used

func (*ModelsFile) MarshalBinary ¶

func (m *ModelsFile) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsFile) UnmarshalBinary ¶

func (m *ModelsFile) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsFile) Validate ¶

func (m *ModelsFile) Validate(formats strfmt.Registry) error

Validate validates this models file

type ModelsFileCommit ¶

type ModelsFileCommit struct {

	// commit data
	CommitData *ModelsCommitUser `json:"commit_data,omitempty"`

	// commit meta
	CommitMeta *ModelsCommitMeta `json:"commit_meta,omitempty"`

	// commit user
	CommitUser *ModelsCommitUser `json:"commit_user,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// parents
	Parents []*ModelsCommitMeta `json:"parents"`

	// tree
	Tree *ModelsCommitMeta `json:"tree,omitempty"`
}

ModelsFileCommit models file commit

swagger:model models.FileCommit

func (*ModelsFileCommit) ContextValidate ¶

func (m *ModelsFileCommit) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this models file commit based on the context it is used

func (*ModelsFileCommit) MarshalBinary ¶

func (m *ModelsFileCommit) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsFileCommit) UnmarshalBinary ¶

func (m *ModelsFileCommit) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsFileCommit) Validate ¶

func (m *ModelsFileCommit) Validate(formats strfmt.Registry) error

Validate validates this models file commit

type ModelsFileLink struct {

	// git
	Git string `json:"git,omitempty"`

	// html
	HTML string `json:"html,omitempty"`

	// self
	Self string `json:"self,omitempty"`
}

ModelsFileLink models file link

swagger:model models.FileLink

func (*ModelsFileLink) ContextValidate ¶

func (m *ModelsFileLink) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this models file link based on context it is used

func (*ModelsFileLink) MarshalBinary ¶

func (m *ModelsFileLink) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsFileLink) UnmarshalBinary ¶

func (m *ModelsFileLink) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsFileLink) Validate ¶

func (m *ModelsFileLink) Validate(formats strfmt.Registry) error

Validate validates this models file link

type ModelsFollow ¶

type ModelsFollow struct {

	// avatar
	Avatar string `json:"avatar,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// username
	Username string `json:"username,omitempty"`
}

ModelsFollow models follow

swagger:model models.Follow

func (*ModelsFollow) ContextValidate ¶

func (m *ModelsFollow) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this models follow based on context it is used

func (*ModelsFollow) MarshalBinary ¶

func (m *ModelsFollow) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsFollow) UnmarshalBinary ¶

func (m *ModelsFollow) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsFollow) Validate ¶

func (m *ModelsFollow) Validate(formats strfmt.Registry) error

Validate validates this models follow

type ModelsGitEntry ¶

type ModelsGitEntry struct {

	// mode
	Mode string `json:"mode,omitempty"`

	// path
	Path string `json:"path,omitempty"`

	// sha
	Sha string `json:"sha,omitempty"`

	// size
	Size int64 `json:"size,omitempty"`

	// type
	Type string `json:"type,omitempty"`

	// url
	URL string `json:"url,omitempty"`
}

ModelsGitEntry models git entry

swagger:model models.GitEntry

func (*ModelsGitEntry) ContextValidate ¶

func (m *ModelsGitEntry) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this models git entry based on context it is used

func (*ModelsGitEntry) MarshalBinary ¶

func (m *ModelsGitEntry) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsGitEntry) UnmarshalBinary ¶

func (m *ModelsGitEntry) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsGitEntry) Validate ¶

func (m *ModelsGitEntry) Validate(formats strfmt.Registry) error

Validate validates this models git entry

type ModelsGitLogs ¶

type ModelsGitLogs struct {

	// operation
	Operation string `json:"operation,omitempty"`

	// repo name
	RepoName string `json:"repo_name,omitempty"`

	// repo username
	RepoUsername string `json:"repo_username,omitempty"`

	// success rate
	SuccessRate float64 `json:"success_rate,omitempty"`

	// total request
	TotalRequest int64 `json:"total_request,omitempty"`
}

ModelsGitLogs models git logs

swagger:model models.GitLogs

func (*ModelsGitLogs) ContextValidate ¶

func (m *ModelsGitLogs) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this models git logs based on context it is used

func (*ModelsGitLogs) MarshalBinary ¶

func (m *ModelsGitLogs) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsGitLogs) UnmarshalBinary ¶

func (m *ModelsGitLogs) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsGitLogs) Validate ¶

func (m *ModelsGitLogs) Validate(formats strfmt.Registry) error

Validate validates this models git logs

type ModelsGiteaUser ¶

type ModelsGiteaUser struct {

	// email
	Email string `json:"email,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// total repos
	TotalRepos int64 `json:"total_repos,omitempty"`

	// total size
	TotalSize int64 `json:"total_size,omitempty"`

	// username
	Username string `json:"username,omitempty"`

	// wallet address
	WalletAddress string `json:"wallet_address,omitempty"`
}

ModelsGiteaUser models gitea user

swagger:model models.GiteaUser

func (*ModelsGiteaUser) ContextValidate ¶

func (m *ModelsGiteaUser) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this models gitea user based on context it is used

func (*ModelsGiteaUser) MarshalBinary ¶

func (m *ModelsGiteaUser) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsGiteaUser) UnmarshalBinary ¶

func (m *ModelsGiteaUser) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsGiteaUser) Validate ¶

func (m *ModelsGiteaUser) Validate(formats strfmt.Registry) error

Validate validates this models gitea user

type ModelsInferenceResult ¶

type ModelsInferenceResult struct {

	// error
	Error any `json:"error,omitempty"`

	// result
	Result any `json:"result,omitempty"`
}

ModelsInferenceResult models inference result

swagger:model models.InferenceResult

func (*ModelsInferenceResult) ContextValidate ¶

func (m *ModelsInferenceResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this models inference result based on context it is used

func (*ModelsInferenceResult) MarshalBinary ¶

func (m *ModelsInferenceResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsInferenceResult) UnmarshalBinary ¶

func (m *ModelsInferenceResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsInferenceResult) Validate ¶

func (m *ModelsInferenceResult) Validate(formats strfmt.Registry) error

Validate validates this models inference result

type ModelsLeaderboard ¶

type ModelsLeaderboard struct {

	// created at
	CreatedAt string `json:"created_at,omitempty"`

	// current rank
	CurrentRank int64 `json:"current_rank,omitempty"`

	// entries
	Entries int64 `json:"entries,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// is violated
	IsViolated bool `json:"is_violated,omitempty"`

	// medal name
	MedalName string `json:"medal_name,omitempty"`

	// CompetitionId uuid.UUID `json:"competition_id"`
	Owner struct {
		ModelsOwner
	} `json:"owner,omitempty"`

	// prize amount
	PrizeAmount float64 `json:"prize_amount,omitempty"`

	// rank change
	RankChange int64 `json:"rank_change,omitempty"`

	// score
	Score float64 `json:"score,omitempty"`

	// updated at
	UpdatedAt string `json:"updated_at,omitempty"`

	// user info
	UserInfo *ModelsUserInfoData `json:"user_info,omitempty"`
}

ModelsLeaderboard models leaderboard

swagger:model models.Leaderboard

func (*ModelsLeaderboard) ContextValidate ¶

func (m *ModelsLeaderboard) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this models leaderboard based on the context it is used

func (*ModelsLeaderboard) MarshalBinary ¶

func (m *ModelsLeaderboard) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsLeaderboard) UnmarshalBinary ¶

func (m *ModelsLeaderboard) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsLeaderboard) Validate ¶

func (m *ModelsLeaderboard) Validate(formats strfmt.Registry) error

Validate validates this models leaderboard

type ModelsLeaderboardReward ¶

type ModelsLeaderboardReward struct {

	// competition id
	CompetitionID string `json:"competition_id,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// medal name
	MedalName string `json:"medal_name,omitempty"`

	// rank from
	RankFrom int64 `json:"rank_from,omitempty"`

	// rank to
	RankTo int64 `json:"rank_to,omitempty"`

	// reward ratio
	RewardRatio float64 `json:"reward_ratio,omitempty"`
}

ModelsLeaderboardReward models leaderboard reward

swagger:model models.LeaderboardReward

func (*ModelsLeaderboardReward) ContextValidate ¶

func (m *ModelsLeaderboardReward) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this models leaderboard reward based on context it is used

func (*ModelsLeaderboardReward) MarshalBinary ¶

func (m *ModelsLeaderboardReward) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsLeaderboardReward) UnmarshalBinary ¶

func (m *ModelsLeaderboardReward) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsLeaderboardReward) Validate ¶

func (m *ModelsLeaderboardReward) Validate(formats strfmt.Registry) error

Validate validates this models leaderboard reward

type ModelsLiteAPIKey ¶

type ModelsLiteAPIKey struct {

	// active
	Active bool `json:"active,omitempty"`

	// api key
	APIKey string `json:"api_key,omitempty"`

	// created at
	CreatedAt string `json:"created_at,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// model id
	ModelID string `json:"model_id,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// updated at
	UpdatedAt string `json:"updated_at,omitempty"`

	// user id
	UserID string `json:"user_id,omitempty"`
}

ModelsLiteAPIKey models lite Api key

swagger:model models.LiteApiKey

func (*ModelsLiteAPIKey) ContextValidate ¶

func (m *ModelsLiteAPIKey) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this models lite Api key based on context it is used

func (*ModelsLiteAPIKey) MarshalBinary ¶

func (m *ModelsLiteAPIKey) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsLiteAPIKey) UnmarshalBinary ¶

func (m *ModelsLiteAPIKey) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsLiteAPIKey) Validate ¶

func (m *ModelsLiteAPIKey) Validate(formats strfmt.Registry) error

Validate validates this models lite Api key

type ModelsLiteDiscussion ¶

type ModelsLiteDiscussion struct {

	// comments count
	CommentsCount int64 `json:"comments_count,omitempty"`

	// content
	Content string `json:"content,omitempty"`

	// created at
	CreatedAt string `json:"created_at,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// is closed
	IsClosed bool `json:"is_closed,omitempty"`

	// owner
	Owner *ModelsOwner `json:"owner,omitempty"`

	// reacted
	Reacted *ModelsReaction `json:"reacted,omitempty"`

	// reactions statistics
	ReactionsStatistics []*ModelsReactionStats `json:"reactions_statistics"`

	// reacts count
	ReactsCount int64 `json:"reacts_count,omitempty"`

	// title
	Title string `json:"title,omitempty"`

	// updated at
	UpdatedAt string `json:"updated_at,omitempty"`

	// violated
	Violated bool `json:"violated,omitempty"`
}

ModelsLiteDiscussion models lite discussion

swagger:model models.LiteDiscussion

func (*ModelsLiteDiscussion) ContextValidate ¶

func (m *ModelsLiteDiscussion) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this models lite discussion based on the context it is used

func (*ModelsLiteDiscussion) MarshalBinary ¶

func (m *ModelsLiteDiscussion) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsLiteDiscussion) UnmarshalBinary ¶

func (m *ModelsLiteDiscussion) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsLiteDiscussion) Validate ¶

func (m *ModelsLiteDiscussion) Validate(formats strfmt.Registry) error

Validate validates this models lite discussion

type ModelsLiteDownloadDataset ¶

type ModelsLiteDownloadDataset struct {

	// created at
	CreatedAt string `json:"created_at,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// owner
	Owner *ModelsOwner `json:"owner,omitempty"`
}

ModelsLiteDownloadDataset models lite download dataset

swagger:model models.LiteDownloadDataset

func (*ModelsLiteDownloadDataset) ContextValidate ¶

func (m *ModelsLiteDownloadDataset) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this models lite download dataset based on the context it is used

func (*ModelsLiteDownloadDataset) MarshalBinary ¶

func (m *ModelsLiteDownloadDataset) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsLiteDownloadDataset) UnmarshalBinary ¶

func (m *ModelsLiteDownloadDataset) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsLiteDownloadDataset) Validate ¶

func (m *ModelsLiteDownloadDataset) Validate(formats strfmt.Registry) error

Validate validates this models lite download dataset

type ModelsLiteDownloadModel ¶

type ModelsLiteDownloadModel struct {

	// created at
	CreatedAt string `json:"created_at,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// owner
	Owner *ModelsOwner `json:"owner,omitempty"`
}

ModelsLiteDownloadModel models lite download model

swagger:model models.LiteDownloadModel

func (*ModelsLiteDownloadModel) ContextValidate ¶

func (m *ModelsLiteDownloadModel) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this models lite download model based on the context it is used

func (*ModelsLiteDownloadModel) MarshalBinary ¶

func (m *ModelsLiteDownloadModel) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsLiteDownloadModel) UnmarshalBinary ¶

func (m *ModelsLiteDownloadModel) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsLiteDownloadModel) Validate ¶

func (m *ModelsLiteDownloadModel) Validate(formats strfmt.Registry) error

Validate validates this models lite download model

type ModelsLiteLeaderboardReward ¶

type ModelsLiteLeaderboardReward struct {

	// medal name
	MedalName string `json:"medal_name,omitempty"`

	// rank from
	RankFrom int64 `json:"rank_from,omitempty"`

	// rank to
	RankTo int64 `json:"rank_to,omitempty"`

	// reward ratio
	RewardRatio float64 `json:"reward_ratio,omitempty"`
}

ModelsLiteLeaderboardReward models lite leaderboard reward

swagger:model models.LiteLeaderboardReward

func (*ModelsLiteLeaderboardReward) ContextValidate ¶

func (m *ModelsLiteLeaderboardReward) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this models lite leaderboard reward based on context it is used

func (*ModelsLiteLeaderboardReward) MarshalBinary ¶

func (m *ModelsLiteLeaderboardReward) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsLiteLeaderboardReward) UnmarshalBinary ¶

func (m *ModelsLiteLeaderboardReward) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsLiteLeaderboardReward) Validate ¶

func (m *ModelsLiteLeaderboardReward) Validate(formats strfmt.Registry) error

Validate validates this models lite leaderboard reward

type ModelsLiteLikeDataset ¶

type ModelsLiteLikeDataset struct {

	// created at
	CreatedAt string `json:"created_at,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// owner
	Owner *ModelsOwner `json:"owner,omitempty"`
}

ModelsLiteLikeDataset models lite like dataset

swagger:model models.LiteLikeDataset

func (*ModelsLiteLikeDataset) ContextValidate ¶

func (m *ModelsLiteLikeDataset) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this models lite like dataset based on the context it is used

func (*ModelsLiteLikeDataset) MarshalBinary ¶

func (m *ModelsLiteLikeDataset) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsLiteLikeDataset) UnmarshalBinary ¶

func (m *ModelsLiteLikeDataset) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsLiteLikeDataset) Validate ¶

func (m *ModelsLiteLikeDataset) Validate(formats strfmt.Registry) error

Validate validates this models lite like dataset

type ModelsLiteLikeModel ¶

type ModelsLiteLikeModel struct {

	// created at
	CreatedAt string `json:"created_at,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// owner
	Owner *ModelsOwner `json:"owner,omitempty"`
}

ModelsLiteLikeModel models lite like model

swagger:model models.LiteLikeModel

func (*ModelsLiteLikeModel) ContextValidate ¶

func (m *ModelsLiteLikeModel) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this models lite like model based on the context it is used

func (*ModelsLiteLikeModel) MarshalBinary ¶

func (m *ModelsLiteLikeModel) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsLiteLikeModel) UnmarshalBinary ¶

func (m *ModelsLiteLikeModel) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsLiteLikeModel) Validate ¶

func (m *ModelsLiteLikeModel) Validate(formats strfmt.Registry) error

Validate validates this models lite like model

type ModelsLiteOrganization ¶

type ModelsLiteOrganization struct {

	// avatar
	Avatar string `json:"avatar,omitempty"`

	// bio
	Bio string `json:"bio,omitempty"`

	// created at
	CreatedAt string `json:"created_at,omitempty"`

	// created by
	CreatedBy string `json:"created_by,omitempty"`

	// datasets count
	DatasetsCount int64 `json:"datasets_count,omitempty"`

	// full name
	FullName string `json:"full_name,omitempty"`

	// github link
	GithubLink string `json:"github_link,omitempty"`

	// github name
	GithubName string `json:"github_name,omitempty"`

	// home page
	HomePage string `json:"home_page,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// interests
	Interests string `json:"interests,omitempty"`

	// join id
	JoinID string `json:"join_id,omitempty"`

	// models count
	ModelsCount int64 `json:"models_count,omitempty"`

	// org team
	OrgTeam string `json:"org_team,omitempty"`

	// total repos size
	TotalReposSize int64 `json:"total_repos_size,omitempty"`

	// twitter link
	TwitterLink string `json:"twitter_link,omitempty"`

	// twitter name
	TwitterName string `json:"twitter_name,omitempty"`

	// type
	Type string `json:"type,omitempty"`

	// updated at
	UpdatedAt string `json:"updated_at,omitempty"`

	// updated by
	UpdatedBy string `json:"updated_by,omitempty"`

	// username
	Username string `json:"username,omitempty"`

	// verified
	Verified bool `json:"verified,omitempty"`

	// visibility
	Visibility string `json:"visibility,omitempty"`

	// wallet
	Wallet *ModelsWallet `json:"wallet,omitempty"`

	// wallet address
	WalletAddress string `json:"wallet_address,omitempty"`
}

ModelsLiteOrganization models lite organization

swagger:model models.LiteOrganization

func (*ModelsLiteOrganization) ContextValidate ¶

func (m *ModelsLiteOrganization) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this models lite organization based on the context it is used

func (*ModelsLiteOrganization) MarshalBinary ¶

func (m *ModelsLiteOrganization) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsLiteOrganization) UnmarshalBinary ¶

func (m *ModelsLiteOrganization) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsLiteOrganization) Validate ¶

func (m *ModelsLiteOrganization) Validate(formats strfmt.Registry) error

Validate validates this models lite organization

type ModelsLiteSubmitHistory ¶

type ModelsLiteSubmitHistory struct {

	// code size
	CodeSize float64 `json:"code_size,omitempty"`

	// commit hash
	CommitHash string `json:"commit_hash,omitempty"`

	// created at
	CreatedAt string `json:"created_at,omitempty"`

	// model id
	ModelID string `json:"model_id,omitempty"`

	// model size
	ModelSize float64 `json:"model_size,omitempty"`

	// score
	Score float64 `json:"score,omitempty"`

	// status
	Status string `json:"status,omitempty"`

	// time
	Time float64 `json:"time,omitempty"`
}

ModelsLiteSubmitHistory models lite submit history

swagger:model models.LiteSubmitHistory

func (*ModelsLiteSubmitHistory) ContextValidate ¶

func (m *ModelsLiteSubmitHistory) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this models lite submit history based on context it is used

func (*ModelsLiteSubmitHistory) MarshalBinary ¶

func (m *ModelsLiteSubmitHistory) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsLiteSubmitHistory) UnmarshalBinary ¶

func (m *ModelsLiteSubmitHistory) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsLiteSubmitHistory) Validate ¶

func (m *ModelsLiteSubmitHistory) Validate(formats strfmt.Registry) error

Validate validates this models lite submit history

type ModelsLiteTimeline ¶

type ModelsLiteTimeline struct {

	// description
	Description string `json:"description,omitempty"`

	// end date
	EndDate string `json:"end_date,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// start date
	StartDate string `json:"start_date,omitempty"`

	// weight
	Weight float64 `json:"weight,omitempty"`
}

ModelsLiteTimeline models lite timeline

swagger:model models.LiteTimeline

func (*ModelsLiteTimeline) ContextValidate ¶

func (m *ModelsLiteTimeline) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this models lite timeline based on context it is used

func (*ModelsLiteTimeline) MarshalBinary ¶

func (m *ModelsLiteTimeline) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsLiteTimeline) UnmarshalBinary ¶

func (m *ModelsLiteTimeline) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsLiteTimeline) Validate ¶

func (m *ModelsLiteTimeline) Validate(formats strfmt.Registry) error

Validate validates this models lite timeline

type ModelsLiteUser ¶

type ModelsLiteUser struct {

	// allow request to join
	AllowRequestToJoin bool `json:"allow_request_to_join,omitempty"`

	// avatar url
	AvatarURL string `json:"avatar_url,omitempty"`

	// bio
	Bio string `json:"bio,omitempty"`

	// blocked
	Blocked bool `json:"blocked,omitempty"`

	// followers
	Followers []*ModelsFollow `json:"followers"`

	// followers count
	FollowersCount int64 `json:"followers_count,omitempty"`

	// followings
	Followings []*ModelsFollow `json:"followings"`

	// followings count
	FollowingsCount int64 `json:"followings_count,omitempty"`

	// github link
	GithubLink string `json:"github_link,omitempty"`

	// github name
	GithubName string `json:"github_name,omitempty"`

	// home page name
	HomePageName string `json:"home_page_name,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// interests
	Interests string `json:"interests,omitempty"`

	// invite offers
	InviteOffers []*ModelsOffer `json:"invite_offers"`

	// invite offers count
	InviteOffersCount int64 `json:"invite_offers_count,omitempty"`

	// is following
	IsFollowing bool `json:"is_following,omitempty"`

	// join id
	JoinID string `json:"join_id,omitempty"`

	// join offers
	JoinOffers []*ModelsOffer `json:"join_offers"`

	// join offers count
	JoinOffersCount int64 `json:"join_offers_count,omitempty"`

	// members
	Members []*ModelsMember `json:"members"`

	// members count
	MembersCount int64 `json:"members_count,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// role
	Role string `json:"role,omitempty"`

	// token
	Token string `json:"token,omitempty"`

	// twitter link
	TwitterLink string `json:"twitter_link,omitempty"`

	// twitter name
	TwitterName string `json:"twitter_name,omitempty"`

	// type
	Type string `json:"type,omitempty"`

	// username
	Username string `json:"username,omitempty"`

	// verified
	Verified bool `json:"verified,omitempty"`

	// visibility
	Visibility string `json:"visibility,omitempty"`
}

ModelsLiteUser models lite user

swagger:model models.LiteUser

func (*ModelsLiteUser) ContextValidate ¶

func (m *ModelsLiteUser) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this models lite user based on the context it is used

func (*ModelsLiteUser) MarshalBinary ¶

func (m *ModelsLiteUser) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsLiteUser) UnmarshalBinary ¶

func (m *ModelsLiteUser) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsLiteUser) Validate ¶

func (m *ModelsLiteUser) Validate(formats strfmt.Registry) error

Validate validates this models lite user

type ModelsLiteVoucher ¶

type ModelsLiteVoucher struct {

	// created at
	CreatedAt string `json:"created_at,omitempty"`

	// credit applied at
	CreditAppliedAt string `json:"credit_applied_at,omitempty"`

	// credit expired at
	CreditExpiredAt string `json:"credit_expired_at,omitempty"`

	// updated at
	UpdatedAt string `json:"updated_at,omitempty"`

	// user id
	UserID string `json:"user_id,omitempty"`

	// value
	Value float64 `json:"value,omitempty"`
}

ModelsLiteVoucher models lite voucher

swagger:model models.LiteVoucher

func (*ModelsLiteVoucher) ContextValidate ¶

func (m *ModelsLiteVoucher) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this models lite voucher based on context it is used

func (*ModelsLiteVoucher) MarshalBinary ¶

func (m *ModelsLiteVoucher) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsLiteVoucher) UnmarshalBinary ¶

func (m *ModelsLiteVoucher) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsLiteVoucher) Validate ¶

func (m *ModelsLiteVoucher) Validate(formats strfmt.Registry) error

Validate validates this models lite voucher

type ModelsMedalStatistic ¶

type ModelsMedalStatistic struct {

	// count
	Count int64 `json:"count,omitempty"`

	// medal name
	MedalName string `json:"medal_name,omitempty"`
}

ModelsMedalStatistic models medal statistic

swagger:model models.MedalStatistic

func (*ModelsMedalStatistic) ContextValidate ¶

func (m *ModelsMedalStatistic) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this models medal statistic based on context it is used

func (*ModelsMedalStatistic) MarshalBinary ¶

func (m *ModelsMedalStatistic) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsMedalStatistic) UnmarshalBinary ¶

func (m *ModelsMedalStatistic) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsMedalStatistic) Validate ¶

func (m *ModelsMedalStatistic) Validate(formats strfmt.Registry) error

Validate validates this models medal statistic

type ModelsMember ¶

type ModelsMember struct {

	// avatar url
	AvatarURL string `json:"avatar_url,omitempty"`

	// full name
	FullName string `json:"full_name,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// username
	Username string `json:"username,omitempty"`
}

ModelsMember models member

swagger:model models.Member

func (*ModelsMember) ContextValidate ¶

func (m *ModelsMember) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this models member based on context it is used

func (*ModelsMember) MarshalBinary ¶

func (m *ModelsMember) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsMember) UnmarshalBinary ¶

func (m *ModelsMember) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsMember) Validate ¶

func (m *ModelsMember) Validate(formats strfmt.Registry) error

Validate validates this models member

type ModelsMetadata ¶

type ModelsMetadata struct {

	// category
	Category string `json:"category,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// label
	Label string `json:"label,omitempty"`

	// type
	Type string `json:"type,omitempty"`
}

ModelsMetadata models metadata

swagger:model models.Metadata

func (*ModelsMetadata) ContextValidate ¶

func (m *ModelsMetadata) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this models metadata based on context it is used

func (*ModelsMetadata) MarshalBinary ¶

func (m *ModelsMetadata) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsMetadata) UnmarshalBinary ¶

func (m *ModelsMetadata) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsMetadata) Validate ¶

func (m *ModelsMetadata) Validate(formats strfmt.Registry) error

Validate validates this models metadata

type ModelsMetric ¶

type ModelsMetric struct {

	// category
	Category string `json:"category,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// name
	Name string `json:"name,omitempty"`
}

ModelsMetric models metric

swagger:model models.Metric

func (*ModelsMetric) ContextValidate ¶

func (m *ModelsMetric) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this models metric based on context it is used

func (*ModelsMetric) MarshalBinary ¶

func (m *ModelsMetric) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsMetric) UnmarshalBinary ¶

func (m *ModelsMetric) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsMetric) Validate ¶

func (m *ModelsMetric) Validate(formats strfmt.Registry) error

Validate validates this models metric

type ModelsMetricData ¶

type ModelsMetricData struct {

	// total active users
	TotalActiveUsers int64 `json:"total_active_users,omitempty"`

	// total challenges
	TotalChallenges int64 `json:"total_challenges,omitempty"`

	// total challenges participants
	TotalChallengesParticipants int64 `json:"total_challenges_participants,omitempty"`

	// total collections created
	TotalCollectionsCreated int64 `json:"total_collections_created,omitempty"`

	// total datasets created
	TotalDatasetsCreated int64 `json:"total_datasets_created,omitempty"`

	// total datasets download count
	TotalDatasetsDownloadCount int64 `json:"total_datasets_download_count,omitempty"`

	// total datasets not downloaded
	TotalDatasetsNotDownloaded int64 `json:"total_datasets_not_downloaded,omitempty"`

	// total datasets not unlocked
	TotalDatasetsNotUnlocked int64 `json:"total_datasets_not_unlocked,omitempty"`

	// total datasets size
	TotalDatasetsSize string `json:"total_datasets_size,omitempty"`

	// total datasets unlock
	TotalDatasetsUnlock int64 `json:"total_datasets_unlock,omitempty"`

	// total datasets unlock charged
	TotalDatasetsUnlockCharged float64 `json:"total_datasets_unlock_charged,omitempty"`

	// total leave users
	TotalLeaveUsers int64 `json:"total_leave_users,omitempty"`

	// total models created
	TotalModelsCreated int64 `json:"total_models_created,omitempty"`

	// total models download count
	TotalModelsDownloadCount int64 `json:"total_models_download_count,omitempty"`

	// total models not downloaded
	TotalModelsNotDownloaded int64 `json:"total_models_not_downloaded,omitempty"`

	// total models not unlocked
	TotalModelsNotUnlocked int64 `json:"total_models_not_unlocked,omitempty"`

	// total models size
	TotalModelsSize string `json:"total_models_size,omitempty"`

	// total models unlock
	TotalModelsUnlock int64 `json:"total_models_unlock,omitempty"`

	// total models unlock charged
	TotalModelsUnlockCharged float64 `json:"total_models_unlock_charged,omitempty"`

	// total storage charged user
	TotalStorageChargedUser float64 `json:"total_storage_charged_user,omitempty"`

	// total submissions
	TotalSubmissions int64 `json:"total_submissions,omitempty"`

	// total user bandwidth spending
	TotalUserBandwidthSpending float64 `json:"total_user_bandwidth_spending,omitempty"`

	// total users charge
	TotalUsersCharge float64 `json:"total_users_charge,omitempty"`

	// total users earnings
	TotalUsersEarnings float64 `json:"total_users_earnings,omitempty"`

	// total users top up
	TotalUsersTopUp float64 `json:"total_users_top_up,omitempty"`

	// users total
	UsersTotal int64 `json:"users_total,omitempty"`
}

ModelsMetricData models metric data

swagger:model models.MetricData

func (*ModelsMetricData) ContextValidate ¶

func (m *ModelsMetricData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this models metric data based on context it is used

func (*ModelsMetricData) MarshalBinary ¶

func (m *ModelsMetricData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsMetricData) UnmarshalBinary ¶

func (m *ModelsMetricData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsMetricData) Validate ¶

func (m *ModelsMetricData) Validate(formats strfmt.Registry) error

Validate validates this models metric data

type ModelsModel ¶

type ModelsModel struct {

	// author avatar
	AuthorAvatar string `json:"author_avatar,omitempty"`

	// author id
	AuthorID string `json:"author_id,omitempty"`

	// commit hash
	CommitHash string `json:"commit_hash,omitempty"`

	// cover
	Cover string `json:"cover,omitempty"`

	// create by
	CreateBy string `json:"create_by,omitempty"`

	// created at
	CreatedAt string `json:"created_at,omitempty"`

	// dependency id
	DependencyID string `json:"dependency_id,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// discussions count
	DiscussionsCount int64 `json:"discussions_count,omitempty"`

	// downloads count
	DownloadsCount int64 `json:"downloads_count,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// is liked by user
	IsLikedByUser bool `json:"is_liked_by_user,omitempty"`

	// is official
	IsOfficial bool `json:"is_official,omitempty"`

	// is released
	IsReleased bool `json:"is_released,omitempty"`

	// is verified
	IsVerified bool `json:"is_verified,omitempty"`

	// likes count
	LikesCount int64 `json:"likes_count,omitempty"`

	// model metadata
	ModelMetadata *ModelsModelMetadata `json:"model_metadata,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// playground count
	PlaygroundCount int64 `json:"playground_count,omitempty"`

	// price
	Price float64 `json:"price,omitempty"`

	// reacted
	Reacted *ModelsReaction `json:"reacted,omitempty"`

	// reactions statistics
	ReactionsStatistics []*ModelsReactionStats `json:"reactions_statistics"`

	// task reviews count
	TaskReviewsCount int64 `json:"task_reviews_count,omitempty"`

	// task reviews point
	TaskReviewsPoint float64 `json:"task_reviews_point,omitempty"`

	// thumbnail
	Thumbnail string `json:"thumbnail,omitempty"`

	// updated at
	UpdatedAt string `json:"updated_at,omitempty"`

	// username
	Username string `json:"username,omitempty"`

	// visibility
	Visibility *string `json:"visibility,omitempty"`
}

ModelsModel models model

swagger:model models.Model

func (*ModelsModel) ContextValidate ¶

func (m *ModelsModel) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this models model based on the context it is used

func (*ModelsModel) MarshalBinary ¶

func (m *ModelsModel) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsModel) UnmarshalBinary ¶

func (m *ModelsModel) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsModel) Validate ¶

func (m *ModelsModel) Validate(formats strfmt.Registry) error

Validate validates this models model

type ModelsModelMetadata ¶

type ModelsModelMetadata struct {

	// id
	ID string `json:"id,omitempty"`

	// license
	License string `json:"license,omitempty"`

	// model id
	ModelID string `json:"model_id,omitempty"`

	// pretty name
	PrettyName string `json:"pretty_name,omitempty"`

	// task
	Task string `json:"task,omitempty"`
}

ModelsModelMetadata models model metadata

swagger:model models.ModelMetadata

func (*ModelsModelMetadata) ContextValidate ¶

func (m *ModelsModelMetadata) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this models model metadata based on context it is used

func (*ModelsModelMetadata) MarshalBinary ¶

func (m *ModelsModelMetadata) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsModelMetadata) UnmarshalBinary ¶

func (m *ModelsModelMetadata) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsModelMetadata) Validate ¶

func (m *ModelsModelMetadata) Validate(formats strfmt.Registry) error

Validate validates this models model metadata

type ModelsModelSetting ¶

type ModelsModelSetting struct {

	// api price
	APIPrice float64 `json:"api_price,omitempty"`

	// created at
	CreatedAt string `json:"created_at,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// input format
	InputFormat any `json:"input_format,omitempty"`

	// model id
	ModelID string `json:"model_id,omitempty"`

	// output format
	OutputFormat any `json:"output_format,omitempty"`

	// sys req cpu cores
	SysReqCPUCores int64 `json:"sys_req_cpu_cores,omitempty"`

	// sys req gpu memory
	SysReqGpuMemory int64 `json:"sys_req_gpu_memory,omitempty"`

	// sys req ram
	SysReqRAM int64 `json:"sys_req_ram,omitempty"`

	// updated at
	UpdatedAt string `json:"updated_at,omitempty"`
}

ModelsModelSetting models model setting

swagger:model models.ModelSetting

func (*ModelsModelSetting) ContextValidate ¶

func (m *ModelsModelSetting) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this models model setting based on context it is used

func (*ModelsModelSetting) MarshalBinary ¶

func (m *ModelsModelSetting) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsModelSetting) UnmarshalBinary ¶

func (m *ModelsModelSetting) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsModelSetting) Validate ¶

func (m *ModelsModelSetting) Validate(formats strfmt.Registry) error

Validate validates this models model setting

type ModelsModelStatistics ¶

type ModelsModelStatistics struct {

	// official model
	OfficialModel int64 `json:"official_model,omitempty"`

	// private model
	PrivateModel int64 `json:"private_model,omitempty"`

	// public model
	PublicModel int64 `json:"public_model,omitempty"`

	// released model
	ReleasedModel int64 `json:"released_model,omitempty"`
}

ModelsModelStatistics models model statistics

swagger:model models.ModelStatistics

func (*ModelsModelStatistics) ContextValidate ¶

func (m *ModelsModelStatistics) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this models model statistics based on context it is used

func (*ModelsModelStatistics) MarshalBinary ¶

func (m *ModelsModelStatistics) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsModelStatistics) UnmarshalBinary ¶

func (m *ModelsModelStatistics) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsModelStatistics) Validate ¶

func (m *ModelsModelStatistics) Validate(formats strfmt.Registry) error

Validate validates this models model statistics

type ModelsModelVersioning ¶

type ModelsModelVersioning struct {

	// commit hash
	CommitHash string `json:"commit_hash,omitempty"`

	// commit message
	CommitMessage string `json:"commit_message,omitempty"`

	// created at
	CreatedAt string `json:"created_at,omitempty"`

	// dependency
	Dependency any `json:"dependency,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// input format
	InputFormat any `json:"input_format,omitempty"`

	// model id
	ModelID string `json:"model_id,omitempty"`

	// node reward
	NodeReward float64 `json:"node_reward,omitempty"`

	// output format
	OutputFormat any `json:"output_format,omitempty"`

	// platform
	Platform string `json:"platform,omitempty"`

	// sys require
	SysRequire any `json:"sys_require,omitempty"`

	// test result
	TestResult any `json:"test_result,omitempty"`

	// updated at
	UpdatedAt string `json:"updated_at,omitempty"`

	// verify status
	VerifyStatus string `json:"verify_status,omitempty"`

	// verify task id
	VerifyTaskID string `json:"verify_task_id,omitempty"`
}

ModelsModelVersioning models model versioning

swagger:model models.ModelVersioning

func (*ModelsModelVersioning) ContextValidate ¶

func (m *ModelsModelVersioning) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this models model versioning based on context it is used

func (*ModelsModelVersioning) MarshalBinary ¶

func (m *ModelsModelVersioning) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsModelVersioning) UnmarshalBinary ¶

func (m *ModelsModelVersioning) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsModelVersioning) Validate ¶

func (m *ModelsModelVersioning) Validate(formats strfmt.Registry) error

Validate validates this models model versioning

type ModelsModelVersioningGroupLite ¶

type ModelsModelVersioningGroupLite struct {

	// Dependency        map[string]interface{} `json:"dependency"`
	CommitHash string `json:"commit_hash,omitempty"`

	// TestResult        map[string]interface{} `json:"test_result"`
	// InputFormat       map[string]interface{} `json:"input_format"`
	// OutputFormat      map[string]interface{} `json:"output_format"`
	// SysRequired       map[string]interface{} `json:"sys_require"`
	CommitMessage string `json:"commit_message,omitempty"`

	// is active
	IsActive bool `json:"is_active,omitempty"`

	// last checked at
	LastCheckedAt string `json:"last_checked_at,omitempty"`

	// model id
	ModelID string `json:"model_id,omitempty"`

	// pending platforms
	PendingPlatforms []*ModelsPlatformTask `json:"pending_platforms"`

	// rejected platforms
	RejectedPlatforms []*ModelsPlatformTask `json:"rejected_platforms"`

	// verified platforms
	VerifiedPlatforms []*ModelsPlatformTask `json:"verified_platforms"`

	// verify status
	VerifyStatus string `json:"verify_status,omitempty"`
}

ModelsModelVersioningGroupLite models model versioning group lite

swagger:model models.ModelVersioningGroupLite

func (*ModelsModelVersioningGroupLite) ContextValidate ¶

func (m *ModelsModelVersioningGroupLite) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this models model versioning group lite based on the context it is used

func (*ModelsModelVersioningGroupLite) MarshalBinary ¶

func (m *ModelsModelVersioningGroupLite) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsModelVersioningGroupLite) UnmarshalBinary ¶

func (m *ModelsModelVersioningGroupLite) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsModelVersioningGroupLite) Validate ¶

func (m *ModelsModelVersioningGroupLite) Validate(formats strfmt.Registry) error

Validate validates this models model versioning group lite

type ModelsNotification ¶

type ModelsNotification struct {

	// created at
	CreatedAt string `json:"created_at,omitempty"`

	// data
	Data any `json:"data,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status string `json:"status,omitempty"`

	// title
	Title string `json:"title,omitempty"`

	// updated at
	UpdatedAt string `json:"updated_at,omitempty"`

	// user id
	UserID string `json:"user_id,omitempty"`
}

ModelsNotification models notification

swagger:model models.Notification

func (*ModelsNotification) ContextValidate ¶

func (m *ModelsNotification) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this models notification based on context it is used

func (*ModelsNotification) MarshalBinary ¶

func (m *ModelsNotification) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsNotification) UnmarshalBinary ¶

func (m *ModelsNotification) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsNotification) Validate ¶

func (m *ModelsNotification) Validate(formats strfmt.Registry) error

Validate validates this models notification

type ModelsOffer ¶

type ModelsOffer struct {

	// created at
	CreatedAt int64 `json:"created_at,omitempty"`

	// created by
	CreatedBy string `json:"created_by,omitempty"`

	// exp at
	ExpAt int64 `json:"exp_at,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// org username
	OrgUsername string `json:"org_username,omitempty"`

	// role
	Role string `json:"role,omitempty"`

	// type
	Type string `json:"type,omitempty"`

	// username
	Username string `json:"username,omitempty"`
}

ModelsOffer models offer

swagger:model models.Offer

func (*ModelsOffer) ContextValidate ¶

func (m *ModelsOffer) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this models offer based on context it is used

func (*ModelsOffer) MarshalBinary ¶

func (m *ModelsOffer) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsOffer) UnmarshalBinary ¶

func (m *ModelsOffer) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsOffer) Validate ¶

func (m *ModelsOffer) Validate(formats strfmt.Registry) error

Validate validates this models offer

type ModelsOrgPermission ¶

type ModelsOrgPermission struct {

	// can create
	CanCreate bool `json:"can_create,omitempty"`

	// can delete
	CanDelete bool `json:"can_delete,omitempty"`

	// can edit
	CanEdit bool `json:"can_edit,omitempty"`

	// can read
	CanRead bool `json:"can_read,omitempty"`
}

ModelsOrgPermission models org permission

swagger:model models.OrgPermission

func (*ModelsOrgPermission) ContextValidate ¶

func (m *ModelsOrgPermission) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this models org permission based on context it is used

func (*ModelsOrgPermission) MarshalBinary ¶

func (m *ModelsOrgPermission) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsOrgPermission) UnmarshalBinary ¶

func (m *ModelsOrgPermission) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsOrgPermission) Validate ¶

func (m *ModelsOrgPermission) Validate(formats strfmt.Registry) error

Validate validates this models org permission

type ModelsOrganizationInfo ¶

type ModelsOrganizationInfo struct {

	// avatar
	Avatar string `json:"avatar,omitempty"`

	// full name
	FullName string `json:"full_name,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// org type
	OrgType string `json:"org_type,omitempty"`

	// permission
	Permission any `json:"permission,omitempty"`

	// type
	Type string `json:"type,omitempty"`

	// username
	Username string `json:"username,omitempty"`

	// verified
	Verified bool `json:"verified,omitempty"`

	// visibility
	Visibility string `json:"visibility,omitempty"`
}

ModelsOrganizationInfo models organization info

swagger:model models.OrganizationInfo

func (*ModelsOrganizationInfo) ContextValidate ¶

func (m *ModelsOrganizationInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this models organization info based on context it is used

func (*ModelsOrganizationInfo) MarshalBinary ¶

func (m *ModelsOrganizationInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsOrganizationInfo) UnmarshalBinary ¶

func (m *ModelsOrganizationInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsOrganizationInfo) Validate ¶

func (m *ModelsOrganizationInfo) Validate(formats strfmt.Registry) error

Validate validates this models organization info

type ModelsOwner ¶

type ModelsOwner struct {

	// avatar
	Avatar string `json:"avatar,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// username
	Username string `json:"username,omitempty"`
}

ModelsOwner models owner

swagger:model models.Owner

func (*ModelsOwner) ContextValidate ¶

func (m *ModelsOwner) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this models owner based on context it is used

func (*ModelsOwner) MarshalBinary ¶

func (m *ModelsOwner) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsOwner) UnmarshalBinary ¶

func (m *ModelsOwner) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsOwner) Validate ¶

func (m *ModelsOwner) Validate(formats strfmt.Registry) error

Validate validates this models owner

type ModelsPayloadCommit ¶

type ModelsPayloadCommit struct {

	// added
	Added []string `json:"added"`

	// author
	Author *ModelsPayloadUser `json:"author,omitempty"`

	// committer
	Committer *ModelsPayloadUser `json:"committer,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// modified
	Modified []string `json:"modified"`

	// removed
	Removed []string `json:"removed"`

	// timestamp
	Timestamp string `json:"timestamp,omitempty"`
}

ModelsPayloadCommit models payload commit

swagger:model models.PayloadCommit

func (*ModelsPayloadCommit) ContextValidate ¶

func (m *ModelsPayloadCommit) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this models payload commit based on the context it is used

func (*ModelsPayloadCommit) MarshalBinary ¶

func (m *ModelsPayloadCommit) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsPayloadCommit) UnmarshalBinary ¶

func (m *ModelsPayloadCommit) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsPayloadCommit) Validate ¶

func (m *ModelsPayloadCommit) Validate(formats strfmt.Registry) error

Validate validates this models payload commit

type ModelsPayloadUser ¶

type ModelsPayloadUser struct {

	// email
	Email string `json:"email,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// username
	Username string `json:"username,omitempty"`
}

ModelsPayloadUser models payload user

swagger:model models.PayloadUser

func (*ModelsPayloadUser) ContextValidate ¶

func (m *ModelsPayloadUser) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this models payload user based on context it is used

func (*ModelsPayloadUser) MarshalBinary ¶

func (m *ModelsPayloadUser) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsPayloadUser) UnmarshalBinary ¶

func (m *ModelsPayloadUser) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsPayloadUser) Validate ¶

func (m *ModelsPayloadUser) Validate(formats strfmt.Registry) error

Validate validates this models payload user

type ModelsPermission ¶

type ModelsPermission struct {

	// admin
	Admin bool `json:"admin,omitempty"`

	// pull
	Pull bool `json:"pull,omitempty"`

	// push
	Push bool `json:"push,omitempty"`
}

ModelsPermission models permission

swagger:model models.Permission

func (*ModelsPermission) ContextValidate ¶

func (m *ModelsPermission) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this models permission based on context it is used

func (*ModelsPermission) MarshalBinary ¶

func (m *ModelsPermission) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsPermission) UnmarshalBinary ¶

func (m *ModelsPermission) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsPermission) Validate ¶

func (m *ModelsPermission) Validate(formats strfmt.Registry) error

Validate validates this models permission

type ModelsPlatformSummary ¶

type ModelsPlatformSummary struct {

	// platform total submissions
	PlatformTotalSubmissions int64 `json:"platform_total_submissions,omitempty"`

	// platform total users
	PlatformTotalUsers int64 `json:"platform_total_users,omitempty"`

	// total active
	TotalActive int64 `json:"total_active,omitempty"`

	// total completed
	TotalCompleted int64 `json:"total_completed,omitempty"`
}

ModelsPlatformSummary models platform summary

swagger:model models.PlatformSummary

func (*ModelsPlatformSummary) ContextValidate ¶

func (m *ModelsPlatformSummary) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this models platform summary based on context it is used

func (*ModelsPlatformSummary) MarshalBinary ¶

func (m *ModelsPlatformSummary) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsPlatformSummary) UnmarshalBinary ¶

func (m *ModelsPlatformSummary) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsPlatformSummary) Validate ¶

func (m *ModelsPlatformSummary) Validate(formats strfmt.Registry) error

Validate validates this models platform summary

type ModelsPlatformTask ¶

type ModelsPlatformTask struct {

	// platform
	Platform string `json:"platform,omitempty"`

	// test result
	TestResult any `json:"test_result,omitempty"`

	// updated at
	UpdatedAt string `json:"updated_at,omitempty"`

	// verify task id
	VerifyTaskID string `json:"verify_task_id,omitempty"`
}

ModelsPlatformTask models platform task

swagger:model models.PlatformTask

func (*ModelsPlatformTask) ContextValidate ¶

func (m *ModelsPlatformTask) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this models platform task based on context it is used

func (*ModelsPlatformTask) MarshalBinary ¶

func (m *ModelsPlatformTask) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsPlatformTask) UnmarshalBinary ¶

func (m *ModelsPlatformTask) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsPlatformTask) Validate ¶

func (m *ModelsPlatformTask) Validate(formats strfmt.Registry) error

Validate validates this models platform task

type ModelsPlaygroundLog ¶

type ModelsPlaygroundLog struct {

	// cost
	Cost float64 `json:"cost,omitempty"`

	// created at
	CreatedAt string `json:"created_at,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// input data
	InputData any `json:"input_data,omitempty"`

	// input format
	InputFormat any `json:"input_format,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// output format
	OutputFormat any `json:"output_format,omitempty"`

	// result
	Result *ModelsInferenceResult `json:"result,omitempty"`

	// status
	// Enum: ["success"," failed"," canceled"," in_queue"," computing"]
	Status string `json:"status,omitempty"`

	// task id
	TaskID string `json:"task_id,omitempty"`

	// updated at
	UpdatedAt string `json:"updated_at,omitempty"`
}

ModelsPlaygroundLog models playground log

swagger:model models.PlaygroundLog

func (*ModelsPlaygroundLog) ContextValidate ¶

func (m *ModelsPlaygroundLog) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this models playground log based on the context it is used

func (*ModelsPlaygroundLog) MarshalBinary ¶

func (m *ModelsPlaygroundLog) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsPlaygroundLog) UnmarshalBinary ¶

func (m *ModelsPlaygroundLog) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsPlaygroundLog) Validate ¶

func (m *ModelsPlaygroundLog) Validate(formats strfmt.Registry) error

Validate validates this models playground log

type ModelsPlaygroundPackage ¶

type ModelsPlaygroundPackage struct {

	// model id
	ModelID string `json:"model_id,omitempty"`

	// uses remaining
	UsesRemaining int64 `json:"uses_remaining,omitempty"`
}

ModelsPlaygroundPackage models playground package

swagger:model models.PlaygroundPackage

func (*ModelsPlaygroundPackage) ContextValidate ¶

func (m *ModelsPlaygroundPackage) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this models playground package based on context it is used

func (*ModelsPlaygroundPackage) MarshalBinary ¶

func (m *ModelsPlaygroundPackage) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsPlaygroundPackage) UnmarshalBinary ¶

func (m *ModelsPlaygroundPackage) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsPlaygroundPackage) Validate ¶

func (m *ModelsPlaygroundPackage) Validate(formats strfmt.Registry) error

Validate validates this models playground package

type ModelsPublicKey ¶

type ModelsPublicKey struct {

	// created
	Created string `json:"created,omitempty"`

	// fingerprint
	Fingerprint string `json:"fingerprint,omitempty"`

	// id
	ID int64 `json:"id,omitempty"`

	// key
	Key string `json:"key,omitempty"`

	// key type
	KeyType string `json:"key_type,omitempty"`

	// title
	Title string `json:"title,omitempty"`
}

ModelsPublicKey models public key

swagger:model models.PublicKey

func (*ModelsPublicKey) ContextValidate ¶

func (m *ModelsPublicKey) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this models public key based on context it is used

func (*ModelsPublicKey) MarshalBinary ¶

func (m *ModelsPublicKey) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsPublicKey) UnmarshalBinary ¶

func (m *ModelsPublicKey) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsPublicKey) Validate ¶

func (m *ModelsPublicKey) Validate(formats strfmt.Registry) error

Validate validates this models public key

type ModelsQueueTask ¶

type ModelsQueueTask struct {

	// action
	Action string `json:"action,omitempty"`

	// created at
	CreatedAt string `json:"created_at,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// object id
	ObjectID string `json:"object_id,omitempty"`

	// object name
	ObjectName string `json:"object_name,omitempty"`

	// result
	Result any `json:"result,omitempty"`

	// state
	State string `json:"state,omitempty"`

	// updated at
	UpdatedAt string `json:"updated_at,omitempty"`

	// user id
	UserID string `json:"user_id,omitempty"`
}

ModelsQueueTask models queue task

swagger:model models.QueueTask

func (*ModelsQueueTask) ContextValidate ¶

func (m *ModelsQueueTask) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this models queue task based on context it is used

func (*ModelsQueueTask) MarshalBinary ¶

func (m *ModelsQueueTask) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsQueueTask) UnmarshalBinary ¶

func (m *ModelsQueueTask) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsQueueTask) Validate ¶

func (m *ModelsQueueTask) Validate(formats strfmt.Registry) error

Validate validates this models queue task

type ModelsReaction ¶

type ModelsReaction struct {

	// created at
	CreatedAt string `json:"created_at,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// owner
	Owner *ModelsOwner `json:"owner,omitempty"`

	// updated at
	UpdatedAt string `json:"updated_at,omitempty"`
}

ModelsReaction models reaction

swagger:model models.Reaction

func (*ModelsReaction) ContextValidate ¶

func (m *ModelsReaction) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this models reaction based on the context it is used

func (*ModelsReaction) MarshalBinary ¶

func (m *ModelsReaction) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsReaction) UnmarshalBinary ¶

func (m *ModelsReaction) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsReaction) Validate ¶

func (m *ModelsReaction) Validate(formats strfmt.Registry) error

Validate validates this models reaction

type ModelsReactionStats ¶

type ModelsReactionStats struct {

	// count
	Count int64 `json:"count,omitempty"`

	// name
	Name string `json:"name,omitempty"`
}

ModelsReactionStats models reaction stats

swagger:model models.ReactionStats

func (*ModelsReactionStats) ContextValidate ¶

func (m *ModelsReactionStats) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this models reaction stats based on context it is used

func (*ModelsReactionStats) MarshalBinary ¶

func (m *ModelsReactionStats) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsReactionStats) UnmarshalBinary ¶

func (m *ModelsReactionStats) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsReactionStats) Validate ¶

func (m *ModelsReactionStats) Validate(formats strfmt.Registry) error

Validate validates this models reaction stats

type ModelsRepoCommit ¶

type ModelsRepoCommit struct {

	// author
	Author *ModelsCommitUser `json:"author,omitempty"`

	// committer
	Committer *ModelsCommitUser `json:"committer,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// tree
	Tree *ModelsCommitMeta `json:"tree,omitempty"`
}

ModelsRepoCommit models repo commit

swagger:model models.RepoCommit

func (*ModelsRepoCommit) ContextValidate ¶

func (m *ModelsRepoCommit) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this models repo commit based on the context it is used

func (*ModelsRepoCommit) MarshalBinary ¶

func (m *ModelsRepoCommit) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsRepoCommit) UnmarshalBinary ¶

func (m *ModelsRepoCommit) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsRepoCommit) Validate ¶

func (m *ModelsRepoCommit) Validate(formats strfmt.Registry) error

Validate validates this models repo commit

type ModelsRepoStats ¶

type ModelsRepoStats struct {

	// count
	Count int64 `json:"count,omitempty"`

	// reponame
	Reponame string `json:"reponame,omitempty"`

	// username
	Username string `json:"username,omitempty"`
}

ModelsRepoStats models repo stats

swagger:model models.RepoStats

func (*ModelsRepoStats) ContextValidate ¶

func (m *ModelsRepoStats) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this models repo stats based on context it is used

func (*ModelsRepoStats) MarshalBinary ¶

func (m *ModelsRepoStats) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsRepoStats) UnmarshalBinary ¶

func (m *ModelsRepoStats) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsRepoStats) Validate ¶

func (m *ModelsRepoStats) Validate(formats strfmt.Registry) error

Validate validates this models repo stats

type ModelsReportedCollection ¶

type ModelsReportedCollection struct {

	// collection id
	CollectionID string `json:"collection_id,omitempty"`

	// collection name
	CollectionName string `json:"collection_name,omitempty"`

	// created at
	CreatedAt string `json:"created_at,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// reason
	Reason string `json:"reason,omitempty"`

	// reported count
	ReportedCount int64 `json:"reported_count,omitempty"`

	// url
	URL string `json:"url,omitempty"`

	// user id
	UserID string `json:"user_id,omitempty"`

	// username
	Username string `json:"username,omitempty"`

	// violated
	Violated bool `json:"violated,omitempty"`
}

ModelsReportedCollection models reported collection

swagger:model models.ReportedCollection

func (*ModelsReportedCollection) ContextValidate ¶

func (m *ModelsReportedCollection) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this models reported collection based on context it is used

func (*ModelsReportedCollection) MarshalBinary ¶

func (m *ModelsReportedCollection) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsReportedCollection) UnmarshalBinary ¶

func (m *ModelsReportedCollection) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsReportedCollection) Validate ¶

func (m *ModelsReportedCollection) Validate(formats strfmt.Registry) error

Validate validates this models reported collection

type ModelsReportedComment ¶

type ModelsReportedComment struct {

	// comment id
	CommentID string `json:"comment_id,omitempty"`

	// content
	Content string `json:"content,omitempty"`

	// created at
	CreatedAt string `json:"created_at,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// reason
	Reason string `json:"reason,omitempty"`

	// reported count
	ReportedCount int64 `json:"reported_count,omitempty"`

	// url
	URL string `json:"url,omitempty"`

	// user id
	UserID string `json:"user_id,omitempty"`

	// username
	Username string `json:"username,omitempty"`

	// violated
	Violated bool `json:"violated,omitempty"`
}

ModelsReportedComment models reported comment

swagger:model models.ReportedComment

func (*ModelsReportedComment) ContextValidate ¶

func (m *ModelsReportedComment) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this models reported comment based on context it is used

func (*ModelsReportedComment) MarshalBinary ¶

func (m *ModelsReportedComment) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsReportedComment) UnmarshalBinary ¶

func (m *ModelsReportedComment) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsReportedComment) Validate ¶

func (m *ModelsReportedComment) Validate(formats strfmt.Registry) error

Validate validates this models reported comment

type ModelsReportedDiscussion ¶

type ModelsReportedDiscussion struct {

	// created at
	CreatedAt string `json:"created_at,omitempty"`

	// discussion id
	DiscussionID string `json:"discussion_id,omitempty"`

	// discussion title
	DiscussionTitle string `json:"discussion_title,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// reason
	Reason string `json:"reason,omitempty"`

	// reported count
	ReportedCount int64 `json:"reported_count,omitempty"`

	// url
	URL string `json:"url,omitempty"`

	// user id
	UserID string `json:"user_id,omitempty"`

	// username
	Username string `json:"username,omitempty"`

	// violated
	Violated bool `json:"violated,omitempty"`
}

ModelsReportedDiscussion models reported discussion

swagger:model models.ReportedDiscussion

func (*ModelsReportedDiscussion) ContextValidate ¶

func (m *ModelsReportedDiscussion) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this models reported discussion based on context it is used

func (*ModelsReportedDiscussion) MarshalBinary ¶

func (m *ModelsReportedDiscussion) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsReportedDiscussion) UnmarshalBinary ¶

func (m *ModelsReportedDiscussion) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsReportedDiscussion) Validate ¶

func (m *ModelsReportedDiscussion) Validate(formats strfmt.Registry) error

Validate validates this models reported discussion

type ModelsRepository ¶

type ModelsRepository struct {

	// allow merge
	AllowMerge bool `json:"allow_merge,omitempty"`

	// allow rebase
	AllowRebase bool `json:"allow_rebase,omitempty"`

	// allow rebase merge
	AllowRebaseMerge bool `json:"allow_rebase_merge,omitempty"`

	// allow squash
	AllowSquash bool `json:"allow_squash,omitempty"`

	// archived
	Archived bool `json:"archived,omitempty"`

	// clone url
	CloneURL string `json:"clone_url,omitempty"`

	// created
	Created string `json:"created,omitempty"`

	// default branch
	DefaultBranch string `json:"default_branch,omitempty"`

	// default merge style
	DefaultMergeStyle string `json:"default_merge_style,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// empty
	Empty bool `json:"empty,omitempty"`

	// fork
	Fork bool `json:"fork,omitempty"`

	// forks
	Forks int64 `json:"forks,omitempty"`

	// full name
	FullName string `json:"full_name,omitempty"`

	// has pull requests
	HasPullRequests bool `json:"has_pull_requests,omitempty"`

	// id
	ID int64 `json:"id,omitempty"`

	// mirror
	Mirror bool `json:"mirror,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// original url
	OriginalURL string `json:"original_url,omitempty"`

	// owner
	Owner *ModelsUser `json:"owner,omitempty"`

	// parent
	Parent *ModelsRepository `json:"parent,omitempty"`

	// permissions
	Permissions *ModelsPermission `json:"permissions,omitempty"`

	// private
	Private bool `json:"private,omitempty"`

	// size
	Size int64 `json:"size,omitempty"`

	// ssh url
	SSHURL string `json:"ssh_url,omitempty"`

	// stars
	Stars int64 `json:"stars,omitempty"`

	// template
	Template bool `json:"template,omitempty"`

	// updated
	Updated string `json:"updated,omitempty"`

	// watchers
	Watchers int64 `json:"watchers,omitempty"`

	// website
	Website string `json:"website,omitempty"`
}

ModelsRepository models repository

swagger:model models.Repository

func (*ModelsRepository) ContextValidate ¶

func (m *ModelsRepository) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this models repository based on the context it is used

func (*ModelsRepository) MarshalBinary ¶

func (m *ModelsRepository) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsRepository) UnmarshalBinary ¶

func (m *ModelsRepository) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsRepository) Validate ¶

func (m *ModelsRepository) Validate(formats strfmt.Registry) error

Validate validates this models repository

type ModelsSpendingAnalytics ¶

type ModelsSpendingAnalytics struct {

	// api call used
	APICallUsed float64 `json:"api_call_used,omitempty"`

	// bandwidth
	Bandwidth float64 `json:"bandwidth,omitempty"`

	// dataset used
	DatasetUsed float64 `json:"dataset_used,omitempty"`

	// model used
	ModelUsed float64 `json:"model_used,omitempty"`

	// package
	Package float64 `json:"package,omitempty"`

	// playground used
	PlaygroundUsed float64 `json:"playground_used,omitempty"`

	// storage
	Storage float64 `json:"storage,omitempty"`

	// total spending
	TotalSpending float64 `json:"total_spending,omitempty"`

	// verify model
	VerifyModel float64 `json:"verify_model,omitempty"`
}

ModelsSpendingAnalytics models spending analytics

swagger:model models.SpendingAnalytics

func (*ModelsSpendingAnalytics) ContextValidate ¶

func (m *ModelsSpendingAnalytics) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this models spending analytics based on context it is used

func (*ModelsSpendingAnalytics) MarshalBinary ¶

func (m *ModelsSpendingAnalytics) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsSpendingAnalytics) UnmarshalBinary ¶

func (m *ModelsSpendingAnalytics) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsSpendingAnalytics) Validate ¶

func (m *ModelsSpendingAnalytics) Validate(formats strfmt.Registry) error

Validate validates this models spending analytics

type ModelsSubmitHistory ¶

type ModelsSubmitHistory struct {

	// code size
	CodeSize float64 `json:"code_size,omitempty"`

	// commit hash
	CommitHash string `json:"commit_hash,omitempty"`

	// created at
	CreatedAt string `json:"created_at,omitempty"`

	// CompetitionId uuid.UUID `json:"competition_id"`
	// UserId      uuid.UUID `json:"user_id"`
	Description string `json:"description,omitempty"`

	// file name
	FileName string `json:"file_name,omitempty"`

	// file size
	FileSize float64 `json:"file_size,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// logs
	Logs any `json:"logs,omitempty"`

	// FileUrl        string    `json:"file_url"`
	// ModelWeightUrl string    `json:"model_weight_url"`
	// SourceCodeUrl  string    `json:"source_code_url"`
	ModelID string `json:"model_id,omitempty"`

	// model size
	ModelSize float64 `json:"model_size,omitempty"`

	// score
	Score float64 `json:"score,omitempty"`

	// status
	Status string `json:"status,omitempty"`

	// submission type
	SubmissionType string `json:"submission_type,omitempty"`

	// time
	Time float64 `json:"time,omitempty"`

	// updated at
	UpdatedAt string `json:"updated_at,omitempty"`
}

ModelsSubmitHistory models submit history

swagger:model models.SubmitHistory

func (*ModelsSubmitHistory) ContextValidate ¶

func (m *ModelsSubmitHistory) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this models submit history based on context it is used

func (*ModelsSubmitHistory) MarshalBinary ¶

func (m *ModelsSubmitHistory) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsSubmitHistory) UnmarshalBinary ¶

func (m *ModelsSubmitHistory) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsSubmitHistory) Validate ¶

func (m *ModelsSubmitHistory) Validate(formats strfmt.Registry) error

Validate validates this models submit history

type ModelsTaskReviews ¶

type ModelsTaskReviews struct {

	// created at
	CreatedAt string `json:"created_at,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// model id
	ModelID string `json:"model_id,omitempty"`

	// owner
	Owner *ModelsOwner `json:"owner,omitempty"`

	// point
	Point int64 `json:"point,omitempty"`

	// result
	Result any `json:"result,omitempty"`

	// task id
	TaskID string `json:"task_id,omitempty"`

	// updated at
	UpdatedAt string `json:"updated_at,omitempty"`
}

ModelsTaskReviews models task reviews

swagger:model models.TaskReviews

func (*ModelsTaskReviews) ContextValidate ¶

func (m *ModelsTaskReviews) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this models task reviews based on the context it is used

func (*ModelsTaskReviews) MarshalBinary ¶

func (m *ModelsTaskReviews) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsTaskReviews) UnmarshalBinary ¶

func (m *ModelsTaskReviews) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsTaskReviews) Validate ¶

func (m *ModelsTaskReviews) Validate(formats strfmt.Registry) error

Validate validates this models task reviews

type ModelsTaskReviewsStatistics ¶

type ModelsTaskReviewsStatistics struct {

	// count
	Count int64 `json:"count,omitempty"`

	// point
	Point int64 `json:"point,omitempty"`
}

ModelsTaskReviewsStatistics models task reviews statistics

swagger:model models.TaskReviewsStatistics

func (*ModelsTaskReviewsStatistics) ContextValidate ¶

func (m *ModelsTaskReviewsStatistics) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this models task reviews statistics based on context it is used

func (*ModelsTaskReviewsStatistics) MarshalBinary ¶

func (m *ModelsTaskReviewsStatistics) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsTaskReviewsStatistics) UnmarshalBinary ¶

func (m *ModelsTaskReviewsStatistics) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsTaskReviewsStatistics) Validate ¶

func (m *ModelsTaskReviewsStatistics) Validate(formats strfmt.Registry) error

Validate validates this models task reviews statistics

type ModelsTimeline ¶

type ModelsTimeline struct {

	// competition id
	CompetitionID string `json:"competition_id,omitempty"`

	// created at
	CreatedAt string `json:"created_at,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// end date
	EndDate string `json:"end_date,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// start date
	StartDate string `json:"start_date,omitempty"`

	// updated at
	UpdatedAt string `json:"updated_at,omitempty"`

	// weight
	Weight float64 `json:"weight,omitempty"`
}

ModelsTimeline models timeline

swagger:model models.Timeline

func (*ModelsTimeline) ContextValidate ¶

func (m *ModelsTimeline) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this models timeline based on context it is used

func (*ModelsTimeline) MarshalBinary ¶

func (m *ModelsTimeline) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsTimeline) UnmarshalBinary ¶

func (m *ModelsTimeline) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsTimeline) Validate ¶

func (m *ModelsTimeline) Validate(formats strfmt.Registry) error

Validate validates this models timeline

type ModelsTinyUser ¶

type ModelsTinyUser struct {

	// avatar url
	AvatarURL string `json:"avatar_url,omitempty"`

	// bio
	Bio string `json:"bio,omitempty"`

	// github link
	GithubLink string `json:"github_link,omitempty"`

	// github name
	GithubName string `json:"github_name,omitempty"`

	// home page name
	HomePageName string `json:"home_page_name,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// interests
	Interests string `json:"interests,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// twitter link
	TwitterLink string `json:"twitter_link,omitempty"`

	// twitter name
	TwitterName string `json:"twitter_name,omitempty"`

	// username
	Username string `json:"username,omitempty"`
}

ModelsTinyUser models tiny user

swagger:model models.TinyUser

func (*ModelsTinyUser) ContextValidate ¶

func (m *ModelsTinyUser) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this models tiny user based on context it is used

func (*ModelsTinyUser) MarshalBinary ¶

func (m *ModelsTinyUser) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsTinyUser) UnmarshalBinary ¶

func (m *ModelsTinyUser) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsTinyUser) Validate ¶

func (m *ModelsTinyUser) Validate(formats strfmt.Registry) error

Validate validates this models tiny user

type ModelsTrainingTask ¶

type ModelsTrainingTask struct {

	// active
	Active bool `json:"active,omitempty"`

	// created at
	CreatedAt string `json:"created_at,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// metadata
	Metadata any `json:"metadata,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// updated at
	UpdatedAt string `json:"updated_at,omitempty"`
}

ModelsTrainingTask models training task

swagger:model models.TrainingTask

func (*ModelsTrainingTask) ContextValidate ¶

func (m *ModelsTrainingTask) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this models training task based on context it is used

func (*ModelsTrainingTask) MarshalBinary ¶

func (m *ModelsTrainingTask) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsTrainingTask) UnmarshalBinary ¶

func (m *ModelsTrainingTask) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsTrainingTask) Validate ¶

func (m *ModelsTrainingTask) Validate(formats strfmt.Registry) error

Validate validates this models training task

type ModelsTransaction ¶

type ModelsTransaction struct {

	// action
	Action string `json:"action,omitempty"`

	// aioz usd rate
	AiozUsdRate float64 `json:"aioz_usd_rate,omitempty"`

	// amount
	Amount float64 `json:"amount,omitempty"`

	// burn
	Burn float64 `json:"burn,omitempty"`

	// created at
	CreatedAt string `json:"created_at,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// object id
	ObjectID string `json:"object_id,omitempty"`

	// object type
	ObjectType string `json:"object_type,omitempty"`

	// updated at
	UpdatedAt string `json:"updated_at,omitempty"`

	// user id
	UserID string `json:"user_id,omitempty"`

	// value
	Value float64 `json:"value,omitempty"`
}

ModelsTransaction models transaction

swagger:model models.Transaction

func (*ModelsTransaction) ContextValidate ¶

func (m *ModelsTransaction) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this models transaction based on context it is used

func (*ModelsTransaction) MarshalBinary ¶

func (m *ModelsTransaction) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsTransaction) UnmarshalBinary ¶

func (m *ModelsTransaction) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsTransaction) Validate ¶

func (m *ModelsTransaction) Validate(formats strfmt.Registry) error

Validate validates this models transaction

type ModelsTransactionAnalytics ¶

type ModelsTransactionAnalytics struct {

	// earnings analytics
	EarningsAnalytics *ModelsEarningsAnalytics `json:"earnings_analytics,omitempty"`

	// spending analytics
	SpendingAnalytics *ModelsSpendingAnalytics `json:"spending_analytics,omitempty"`
}

ModelsTransactionAnalytics models transaction analytics

swagger:model models.TransactionAnalytics

func (*ModelsTransactionAnalytics) ContextValidate ¶

func (m *ModelsTransactionAnalytics) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this models transaction analytics based on the context it is used

func (*ModelsTransactionAnalytics) MarshalBinary ¶

func (m *ModelsTransactionAnalytics) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsTransactionAnalytics) UnmarshalBinary ¶

func (m *ModelsTransactionAnalytics) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsTransactionAnalytics) Validate ¶

func (m *ModelsTransactionAnalytics) Validate(formats strfmt.Registry) error

Validate validates this models transaction analytics

type ModelsTransactionHistoryStatistics ¶

type ModelsTransactionHistoryStatistics struct {

	// action statistics
	ActionStatistics []*ModelsActionStatistics `json:"action_statistics"`

	// amount
	Amount float64 `json:"amount,omitempty"`

	// created at
	CreatedAt string `json:"created_at,omitempty"`

	// transactions
	Transactions []*ModelsTransactionLite `json:"transactions"`
}

ModelsTransactionHistoryStatistics models transaction history statistics

swagger:model models.TransactionHistoryStatistics

func (*ModelsTransactionHistoryStatistics) ContextValidate ¶

func (m *ModelsTransactionHistoryStatistics) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this models transaction history statistics based on the context it is used

func (*ModelsTransactionHistoryStatistics) MarshalBinary ¶

func (m *ModelsTransactionHistoryStatistics) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsTransactionHistoryStatistics) UnmarshalBinary ¶

func (m *ModelsTransactionHistoryStatistics) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsTransactionHistoryStatistics) Validate ¶

Validate validates this models transaction history statistics

type ModelsTransactionLite ¶

type ModelsTransactionLite struct {

	// action
	Action string `json:"action,omitempty"`

	// amount
	Amount float64 `json:"amount,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// object type
	ObjectType string `json:"object_type,omitempty"`

	// txn
	Txn string `json:"txn,omitempty"`

	// value
	Value float64 `json:"value,omitempty"`
}

ModelsTransactionLite models transaction lite

swagger:model models.TransactionLite

func (*ModelsTransactionLite) ContextValidate ¶

func (m *ModelsTransactionLite) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this models transaction lite based on context it is used

func (*ModelsTransactionLite) MarshalBinary ¶

func (m *ModelsTransactionLite) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsTransactionLite) UnmarshalBinary ¶

func (m *ModelsTransactionLite) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsTransactionLite) Validate ¶

func (m *ModelsTransactionLite) Validate(formats strfmt.Registry) error

Validate validates this models transaction lite

type ModelsTreasuryWithdrawal ¶

type ModelsTreasuryWithdrawal struct {

	// amount
	Amount float64 `json:"amount,omitempty"`

	// created at
	CreatedAt string `json:"created_at,omitempty"`

	// evm tx hash
	EvmTxHash string `json:"evm_tx_hash,omitempty"`

	// from service
	FromService string `json:"from_service,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// recipient
	Recipient string `json:"recipient,omitempty"`

	// sender
	Sender string `json:"sender,omitempty"`

	// updated at
	UpdatedAt string `json:"updated_at,omitempty"`
}

ModelsTreasuryWithdrawal models treasury withdrawal

swagger:model models.TreasuryWithdrawal

func (*ModelsTreasuryWithdrawal) ContextValidate ¶

func (m *ModelsTreasuryWithdrawal) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this models treasury withdrawal based on context it is used

func (*ModelsTreasuryWithdrawal) MarshalBinary ¶

func (m *ModelsTreasuryWithdrawal) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsTreasuryWithdrawal) UnmarshalBinary ¶

func (m *ModelsTreasuryWithdrawal) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsTreasuryWithdrawal) Validate ¶

func (m *ModelsTreasuryWithdrawal) Validate(formats strfmt.Registry) error

Validate validates this models treasury withdrawal

type ModelsTxIn ¶

type ModelsTxIn struct {

	// aioz usd rate
	AiozUsdRate float64 `json:"aioz_usd_rate,omitempty"`

	// amount
	Amount string `json:"amount,omitempty"`

	// block number
	BlockNumber int64 `json:"block_number,omitempty"`

	// cosmos tx hash
	CosmosTxHash string `json:"cosmos_tx_hash,omitempty"`

	// created at
	CreatedAt string `json:"created_at,omitempty"`

	// credit
	Credit string `json:"credit,omitempty"`

	// evm tx hash
	EvmTxHash string `json:"evm_tx_hash,omitempty"`

	// sender
	Sender string `json:"sender,omitempty"`

	// status
	Status bool `json:"status,omitempty"`

	// updated at
	UpdatedAt string `json:"updated_at,omitempty"`
}

ModelsTxIn models tx in

swagger:model models.TxIn

func (*ModelsTxIn) ContextValidate ¶

func (m *ModelsTxIn) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this models tx in based on context it is used

func (*ModelsTxIn) MarshalBinary ¶

func (m *ModelsTxIn) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsTxIn) UnmarshalBinary ¶

func (m *ModelsTxIn) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsTxIn) Validate ¶

func (m *ModelsTxIn) Validate(formats strfmt.Registry) error

Validate validates this models tx in

type ModelsUser ¶

type ModelsUser struct {

	// allow request to join
	AllowRequestToJoin bool `json:"allow_request_to_join,omitempty"`

	// avatar url
	AvatarURL string `json:"avatar_url,omitempty"`

	// bio
	Bio string `json:"bio,omitempty"`

	// blocked
	Blocked bool `json:"blocked,omitempty"`

	// blocked at
	BlockedAt string `json:"blocked_at,omitempty"`

	// email
	Email string `json:"email,omitempty"`

	// followers
	Followers []*ModelsFollow `json:"followers"`

	// followers count
	FollowersCount int64 `json:"followers_count,omitempty"`

	// followings
	Followings []*ModelsFollow `json:"followings"`

	// followings count
	FollowingsCount int64 `json:"followings_count,omitempty"`

	// github link
	GithubLink string `json:"github_link,omitempty"`

	// github name
	GithubName string `json:"github_name,omitempty"`

	// home page name
	HomePageName string `json:"home_page_name,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// interests
	Interests string `json:"interests,omitempty"`

	// invite offers
	InviteOffers []*ModelsOffer `json:"invite_offers"`

	// invite offers count
	InviteOffersCount int64 `json:"invite_offers_count,omitempty"`

	// is following
	IsFollowing bool `json:"is_following,omitempty"`

	// join id
	JoinID string `json:"join_id,omitempty"`

	// join offers
	JoinOffers []*ModelsOffer `json:"join_offers"`

	// join offers count
	JoinOffersCount int64 `json:"join_offers_count,omitempty"`

	// members
	Members []*ModelsMember `json:"members"`

	// members count
	MembersCount int64 `json:"members_count,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// role
	Role string `json:"role,omitempty"`

	// token
	Token string `json:"token,omitempty"`

	// twitter link
	TwitterLink string `json:"twitter_link,omitempty"`

	// twitter name
	TwitterName string `json:"twitter_name,omitempty"`

	// type
	Type string `json:"type,omitempty"`

	// username
	Username string `json:"username,omitempty"`

	// verified
	Verified bool `json:"verified,omitempty"`

	// visibility
	Visibility string `json:"visibility,omitempty"`

	// wallet
	Wallet *ModelsWallet `json:"wallet,omitempty"`

	// wallet address
	WalletAddress string `json:"wallet_address,omitempty"`

	// wallet connection
	WalletConnection string `json:"wallet_connection,omitempty"`
}

ModelsUser models user

swagger:model models.User

func (*ModelsUser) ContextValidate ¶

func (m *ModelsUser) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this models user based on the context it is used

func (*ModelsUser) MarshalBinary ¶

func (m *ModelsUser) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsUser) UnmarshalBinary ¶

func (m *ModelsUser) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsUser) Validate ¶

func (m *ModelsUser) Validate(formats strfmt.Registry) error

Validate validates this models user

type ModelsUserEarningsStatistics ¶

type ModelsUserEarningsStatistics struct {

	// api calls
	APICalls int64 `json:"api_calls,omitempty"`

	// api calls amount
	APICallsAmount float64 `json:"api_calls_amount,omitempty"`

	// dataset used
	DatasetUsed int64 `json:"dataset_used,omitempty"`

	// dataset used amount
	DatasetUsedAmount float64 `json:"dataset_used_amount,omitempty"`

	// model used
	ModelUsed int64 `json:"model_used,omitempty"`

	// model used amount
	ModelUsedAmount float64 `json:"model_used_amount,omitempty"`

	// playground used
	PlaygroundUsed int64 `json:"playground_used,omitempty"`

	// playground used amount
	PlaygroundUsedAmount float64 `json:"playground_used_amount,omitempty"`

	// total
	Total float64 `json:"total,omitempty"`
}

ModelsUserEarningsStatistics models user earnings statistics

swagger:model models.UserEarningsStatistics

func (*ModelsUserEarningsStatistics) ContextValidate ¶

func (m *ModelsUserEarningsStatistics) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this models user earnings statistics based on context it is used

func (*ModelsUserEarningsStatistics) MarshalBinary ¶

func (m *ModelsUserEarningsStatistics) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsUserEarningsStatistics) UnmarshalBinary ¶

func (m *ModelsUserEarningsStatistics) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsUserEarningsStatistics) Validate ¶

func (m *ModelsUserEarningsStatistics) Validate(formats strfmt.Registry) error

Validate validates this models user earnings statistics

type ModelsUserInfo ¶

type ModelsUserInfo struct {

	// avatar
	Avatar string `json:"avatar,omitempty"`

	// bio
	Bio string `json:"bio,omitempty"`

	// fullname
	Fullname string `json:"fullname,omitempty"`

	// github link
	GithubLink string `json:"github_link,omitempty"`

	// home page
	HomePage string `json:"home_page,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// interests
	Interests string `json:"interests,omitempty"`

	// twitter link
	TwitterLink string `json:"twitter_link,omitempty"`

	// twitter name
	TwitterName string `json:"twitter_name,omitempty"`

	// type
	Type string `json:"type,omitempty"`

	// username
	Username string `json:"username,omitempty"`

	// visibility
	Visibility string `json:"visibility,omitempty"`
}

ModelsUserInfo models user info

swagger:model models.UserInfo

func (*ModelsUserInfo) ContextValidate ¶

func (m *ModelsUserInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this models user info based on context it is used

func (*ModelsUserInfo) MarshalBinary ¶

func (m *ModelsUserInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsUserInfo) UnmarshalBinary ¶

func (m *ModelsUserInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsUserInfo) Validate ¶

func (m *ModelsUserInfo) Validate(formats strfmt.Registry) error

Validate validates this models user info

type ModelsUserInfoData ¶

type ModelsUserInfoData struct {

	// email
	Email string `json:"email,omitempty"`

	// username
	Username string `json:"username,omitempty"`

	// wallet address
	WalletAddress string `json:"wallet_address,omitempty"`

	// wallet connection
	WalletConnection string `json:"wallet_connection,omitempty"`
}

ModelsUserInfoData models user info data

swagger:model models.UserInfoData

func (*ModelsUserInfoData) ContextValidate ¶

func (m *ModelsUserInfoData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this models user info data based on context it is used

func (*ModelsUserInfoData) MarshalBinary ¶

func (m *ModelsUserInfoData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsUserInfoData) UnmarshalBinary ¶

func (m *ModelsUserInfoData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsUserInfoData) Validate ¶

func (m *ModelsUserInfoData) Validate(formats strfmt.Registry) error

Validate validates this models user info data

type ModelsUserMedal ¶

type ModelsUserMedal struct {

	// competition
	Competition *ModelsCompetition `json:"competition,omitempty"`

	// created at
	CreatedAt string `json:"created_at,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// medal name
	MedalName string `json:"medal_name,omitempty"`

	// rank
	Rank int64 `json:"rank,omitempty"`

	// updated at
	UpdatedAt string `json:"updated_at,omitempty"`

	// user id
	UserID string `json:"user_id,omitempty"`
}

ModelsUserMedal models user medal

swagger:model models.UserMedal

func (*ModelsUserMedal) ContextValidate ¶

func (m *ModelsUserMedal) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this models user medal based on the context it is used

func (*ModelsUserMedal) MarshalBinary ¶

func (m *ModelsUserMedal) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsUserMedal) UnmarshalBinary ¶

func (m *ModelsUserMedal) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsUserMedal) Validate ¶

func (m *ModelsUserMedal) Validate(formats strfmt.Registry) error

Validate validates this models user medal

type ModelsUserSpendingCostStatistics ¶

type ModelsUserSpendingCostStatistics struct {

	// api calls
	APICalls int64 `json:"api_calls,omitempty"`

	// api calls amount
	APICallsAmount float64 `json:"api_calls_amount,omitempty"`

	// bandwidth
	Bandwidth float64 `json:"bandwidth,omitempty"`

	// bandwidth amount
	BandwidthAmount float64 `json:"bandwidth_amount,omitempty"`

	// dataset used
	DatasetUsed int64 `json:"dataset_used,omitempty"`

	// dataset used amount
	DatasetUsedAmount float64 `json:"dataset_used_amount,omitempty"`

	// model used
	ModelUsed int64 `json:"model_used,omitempty"`

	// model used amount
	ModelUsedAmount float64 `json:"model_used_amount,omitempty"`

	// playground used
	PlaygroundUsed int64 `json:"playground_used,omitempty"`

	// playground used amount
	PlaygroundUsedAmount float64 `json:"playground_used_amount,omitempty"`

	// storage
	Storage float64 `json:"storage,omitempty"`

	// storage amount
	StorageAmount float64 `json:"storage_amount,omitempty"`

	// total
	Total float64 `json:"total,omitempty"`
}

ModelsUserSpendingCostStatistics models user spending cost statistics

swagger:model models.UserSpendingCostStatistics

func (*ModelsUserSpendingCostStatistics) ContextValidate ¶

func (m *ModelsUserSpendingCostStatistics) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this models user spending cost statistics based on context it is used

func (*ModelsUserSpendingCostStatistics) MarshalBinary ¶

func (m *ModelsUserSpendingCostStatistics) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsUserSpendingCostStatistics) UnmarshalBinary ¶

func (m *ModelsUserSpendingCostStatistics) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsUserSpendingCostStatistics) Validate ¶

Validate validates this models user spending cost statistics

type ModelsUserSubmissionStats ¶

type ModelsUserSubmissionStats struct {

	// avg score
	AvgScore float64 `json:"avg_score,omitempty"`

	// max score
	MaxScore float64 `json:"max_score,omitempty"`

	// min score
	MinScore float64 `json:"min_score,omitempty"`

	// total fail
	TotalFail int64 `json:"total_fail,omitempty"`

	// total success
	TotalSuccess int64 `json:"total_success,omitempty"`
}

ModelsUserSubmissionStats models user submission stats

swagger:model models.UserSubmissionStats

func (*ModelsUserSubmissionStats) ContextValidate ¶

func (m *ModelsUserSubmissionStats) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this models user submission stats based on context it is used

func (*ModelsUserSubmissionStats) MarshalBinary ¶

func (m *ModelsUserSubmissionStats) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsUserSubmissionStats) UnmarshalBinary ¶

func (m *ModelsUserSubmissionStats) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsUserSubmissionStats) Validate ¶

func (m *ModelsUserSubmissionStats) Validate(formats strfmt.Registry) error

Validate validates this models user submission stats

type ModelsUserTrainingTask ¶

type ModelsUserTrainingTask struct {

	// created at
	CreatedAt string `json:"created_at,omitempty"`

	// dataset id
	DatasetID string `json:"dataset_id,omitempty"`

	// dataset repo size
	DatasetRepoSize float64 `json:"dataset_repo_size,omitempty"`

	// dataset repo url
	DatasetRepoURL string `json:"dataset_repo_url,omitempty"`

	// dataset sha
	DatasetSha string `json:"dataset_sha,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// task id
	TaskID string `json:"task_id,omitempty"`

	// training data
	TrainingData any `json:"training_data,omitempty"`

	// training metadata
	TrainingMetadata any `json:"training_metadata,omitempty"`

	// updated at
	UpdatedAt string `json:"updated_at,omitempty"`

	// user id
	UserID string `json:"user_id,omitempty"`
}

ModelsUserTrainingTask models user training task

swagger:model models.UserTrainingTask

func (*ModelsUserTrainingTask) ContextValidate ¶

func (m *ModelsUserTrainingTask) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this models user training task based on context it is used

func (*ModelsUserTrainingTask) MarshalBinary ¶

func (m *ModelsUserTrainingTask) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsUserTrainingTask) UnmarshalBinary ¶

func (m *ModelsUserTrainingTask) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsUserTrainingTask) Validate ¶

func (m *ModelsUserTrainingTask) Validate(formats strfmt.Registry) error

Validate validates this models user training task

type ModelsUserWalletInfo ¶

type ModelsUserWalletInfo struct {

	// balance
	Balance float64 `json:"balance,omitempty"`

	// blocked
	Blocked bool `json:"blocked,omitempty"`

	// blocked at
	BlockedAt string `json:"blocked_at,omitempty"`

	// created at
	CreatedAt string `json:"created_at,omitempty"`

	// debt
	Debt float64 `json:"debt,omitempty"`

	// earnings
	Earnings float64 `json:"earnings,omitempty"`

	// email
	Email string `json:"email,omitempty"`

	// first usage at
	FirstUsageAt string `json:"first_usage_at,omitempty"`

	// free balance
	FreeBalance float64 `json:"free_balance,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// playground usage
	PlaygroundUsage int64 `json:"playground_usage,omitempty"`

	// type
	Type string `json:"type,omitempty"`

	// updated at
	UpdatedAt string `json:"updated_at,omitempty"`

	// username
	Username string `json:"username,omitempty"`

	// verified
	Verified bool `json:"verified,omitempty"`

	// wallet address
	WalletAddress string `json:"wallet_address,omitempty"`

	// wallet connection
	WalletConnection string `json:"wallet_connection,omitempty"`
}

ModelsUserWalletInfo models user wallet info

swagger:model models.UserWalletInfo

func (*ModelsUserWalletInfo) ContextValidate ¶

func (m *ModelsUserWalletInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this models user wallet info based on context it is used

func (*ModelsUserWalletInfo) MarshalBinary ¶

func (m *ModelsUserWalletInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsUserWalletInfo) UnmarshalBinary ¶

func (m *ModelsUserWalletInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsUserWalletInfo) Validate ¶

func (m *ModelsUserWalletInfo) Validate(formats strfmt.Registry) error

Validate validates this models user wallet info

type ModelsVerifyAiModelCustom ¶

type ModelsVerifyAiModelCustom struct {

	// active
	Active bool `json:"active,omitempty"`

	// created at
	CreatedAt string `json:"created_at,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// model id
	ModelID string `json:"model_id,omitempty"`

	// model size
	ModelSize int64 `json:"model_size,omitempty"`

	// model url
	ModelURL string `json:"model_url,omitempty"`

	// source code size
	SourceCodeSize int64 `json:"source_code_size,omitempty"`

	// source code url
	SourceCodeURL string `json:"source_code_url,omitempty"`

	// updated at
	UpdatedAt string `json:"updated_at,omitempty"`
}

ModelsVerifyAiModelCustom models verify ai model custom

swagger:model models.VerifyAiModelCustom

func (*ModelsVerifyAiModelCustom) ContextValidate ¶

func (m *ModelsVerifyAiModelCustom) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this models verify ai model custom based on context it is used

func (*ModelsVerifyAiModelCustom) MarshalBinary ¶

func (m *ModelsVerifyAiModelCustom) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsVerifyAiModelCustom) UnmarshalBinary ¶

func (m *ModelsVerifyAiModelCustom) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsVerifyAiModelCustom) Validate ¶

func (m *ModelsVerifyAiModelCustom) Validate(formats strfmt.Registry) error

Validate validates this models verify ai model custom

type ModelsVoucher ¶

type ModelsVoucher struct {

	// active
	Active bool `json:"active,omitempty"`

	// code
	Code string `json:"code,omitempty"`

	// created at
	CreatedAt string `json:"created_at,omitempty"`

	// credit applied at
	CreditAppliedAt string `json:"credit_applied_at,omitempty"`

	// credit expired at
	CreditExpiredAt string `json:"credit_expired_at,omitempty"`

	// credit expired days
	CreditExpiredDays int64 `json:"credit_expired_days,omitempty"`

	// expired at
	ExpiredAt int64 `json:"expired_at,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// updated at
	UpdatedAt string `json:"updated_at,omitempty"`

	// user id
	UserID string `json:"user_id,omitempty"`

	// value
	Value float64 `json:"value,omitempty"`
}

ModelsVoucher models voucher

swagger:model models.Voucher

func (*ModelsVoucher) ContextValidate ¶

func (m *ModelsVoucher) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this models voucher based on context it is used

func (*ModelsVoucher) MarshalBinary ¶

func (m *ModelsVoucher) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsVoucher) UnmarshalBinary ¶

func (m *ModelsVoucher) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsVoucher) Validate ¶

func (m *ModelsVoucher) Validate(formats strfmt.Registry) error

Validate validates this models voucher

type ModelsVoucherStatistics ¶

type ModelsVoucherStatistics struct {

	// total assign voucher
	TotalAssignVoucher int64 `json:"total_assign_voucher,omitempty"`

	// total assign voucher value
	TotalAssignVoucherValue float64 `json:"total_assign_voucher_value,omitempty"`

	// total ga voucher claimed
	TotalGaVoucherClaimed int64 `json:"total_ga_voucher_claimed,omitempty"`

	// total ga voucher claimed value
	TotalGaVoucherClaimedValue float64 `json:"total_ga_voucher_claimed_value,omitempty"`

	// total ga voucher unclaimed
	TotalGaVoucherUnclaimed int64 `json:"total_ga_voucher_unclaimed,omitempty"`

	// total ga voucher unclaimed expired
	TotalGaVoucherUnclaimedExpired int64 `json:"total_ga_voucher_unclaimed_expired,omitempty"`

	// total ga voucher unclaimed expired value
	TotalGaVoucherUnclaimedExpiredValue float64 `json:"total_ga_voucher_unclaimed_expired_value,omitempty"`

	// total ga voucher unclaimed value
	TotalGaVoucherUnclaimedValue float64 `json:"total_ga_voucher_unclaimed_value,omitempty"`

	// total revoke voucher
	TotalRevokeVoucher int64 `json:"total_revoke_voucher,omitempty"`

	// total revoke voucher value
	TotalRevokeVoucherValue float64 `json:"total_revoke_voucher_value,omitempty"`

	// total voucher
	TotalVoucher int64 `json:"total_voucher,omitempty"`

	// total voucher value
	TotalVoucherValue float64 `json:"total_voucher_value,omitempty"`
}

ModelsVoucherStatistics models voucher statistics

swagger:model models.VoucherStatistics

func (*ModelsVoucherStatistics) ContextValidate ¶

func (m *ModelsVoucherStatistics) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this models voucher statistics based on context it is used

func (*ModelsVoucherStatistics) MarshalBinary ¶

func (m *ModelsVoucherStatistics) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsVoucherStatistics) UnmarshalBinary ¶

func (m *ModelsVoucherStatistics) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsVoucherStatistics) Validate ¶

func (m *ModelsVoucherStatistics) Validate(formats strfmt.Registry) error

Validate validates this models voucher statistics

type ModelsWallet ¶

type ModelsWallet struct {

	// balance
	Balance float64 `json:"balance,omitempty"`

	// debt
	Debt float64 `json:"debt,omitempty"`

	// earnings
	Earnings float64 `json:"earnings,omitempty"`

	// free balance
	FreeBalance float64 `json:"free_balance,omitempty"`
}

ModelsWallet models wallet

swagger:model models.Wallet

func (*ModelsWallet) ContextValidate ¶

func (m *ModelsWallet) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this models wallet based on context it is used

func (*ModelsWallet) MarshalBinary ¶

func (m *ModelsWallet) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsWallet) UnmarshalBinary ¶

func (m *ModelsWallet) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsWallet) Validate ¶

func (m *ModelsWallet) Validate(formats strfmt.Registry) error

Validate validates this models wallet

type ModelsWalletWithAddress ¶

type ModelsWalletWithAddress struct {

	// balance
	Balance string `json:"balance,omitempty"`

	// debt
	Debt string `json:"debt,omitempty"`

	// earnings
	Earnings string `json:"earnings,omitempty"`

	// free balance
	FreeBalance string `json:"free_balance,omitempty"`

	// wallet address
	WalletAddress string `json:"wallet_address,omitempty"`
}

ModelsWalletWithAddress models wallet with address

swagger:model models.WalletWithAddress

func (*ModelsWalletWithAddress) ContextValidate ¶

func (m *ModelsWalletWithAddress) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this models wallet with address based on context it is used

func (*ModelsWalletWithAddress) MarshalBinary ¶

func (m *ModelsWalletWithAddress) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsWalletWithAddress) UnmarshalBinary ¶

func (m *ModelsWalletWithAddress) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsWalletWithAddress) Validate ¶

func (m *ModelsWalletWithAddress) Validate(formats strfmt.Registry) error

Validate validates this models wallet with address

type ModelsWithdrawalHistory ¶

type ModelsWithdrawalHistory struct {

	// aioz usd rate
	AiozUsdRate float64 `json:"aioz_usd_rate,omitempty"`

	// amount
	Amount string `json:"amount,omitempty"`

	// created at
	CreatedAt string `json:"created_at,omitempty"`

	// credit
	Credit string `json:"credit,omitempty"`

	// to wallet
	ToWallet string `json:"to_wallet,omitempty"`

	// tx hash
	TxHash string `json:"tx_hash,omitempty"`

	// type
	Type string `json:"type,omitempty"`

	// updated at
	UpdatedAt string `json:"updated_at,omitempty"`

	// username
	Username string `json:"username,omitempty"`
}

ModelsWithdrawalHistory models withdrawal history

swagger:model models.WithdrawalHistory

func (*ModelsWithdrawalHistory) ContextValidate ¶

func (m *ModelsWithdrawalHistory) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this models withdrawal history based on context it is used

func (*ModelsWithdrawalHistory) MarshalBinary ¶

func (m *ModelsWithdrawalHistory) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsWithdrawalHistory) UnmarshalBinary ¶

func (m *ModelsWithdrawalHistory) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsWithdrawalHistory) Validate ¶

func (m *ModelsWithdrawalHistory) Validate(formats strfmt.Registry) error

Validate validates this models withdrawal history

type RequestAddItemToCollectionRequest ¶

type RequestAddItemToCollectionRequest struct {

	// item id
	ItemID string `json:"item_id,omitempty"`

	// type
	// Required: true
	// Enum: ["dataset","model"]
	Type *string `json:"type"`
}

RequestAddItemToCollectionRequest request add item to collection request

swagger:model request.AddItemToCollectionRequest

func (*RequestAddItemToCollectionRequest) ContextValidate ¶

func (m *RequestAddItemToCollectionRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request add item to collection request based on context it is used

func (*RequestAddItemToCollectionRequest) MarshalBinary ¶

func (m *RequestAddItemToCollectionRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestAddItemToCollectionRequest) UnmarshalBinary ¶

func (m *RequestAddItemToCollectionRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestAddItemToCollectionRequest) Validate ¶

Validate validates this request add item to collection request

type RequestAdminAddNewAccountRequest ¶

type RequestAdminAddNewAccountRequest struct {

	// email
	Email string `json:"email,omitempty"`

	// is active
	IsActive bool `json:"is_active,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// password
	Password string `json:"password,omitempty"`

	// role
	// Required: true
	// Enum: ["admin","mod","viewer"]
	Role *string `json:"role"`
}

RequestAdminAddNewAccountRequest request admin add new account request

swagger:model request.AdminAddNewAccountRequest

func (*RequestAdminAddNewAccountRequest) ContextValidate ¶

func (m *RequestAdminAddNewAccountRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request admin add new account request based on context it is used

func (*RequestAdminAddNewAccountRequest) MarshalBinary ¶

func (m *RequestAdminAddNewAccountRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestAdminAddNewAccountRequest) UnmarshalBinary ¶

func (m *RequestAdminAddNewAccountRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestAdminAddNewAccountRequest) Validate ¶

Validate validates this request admin add new account request

type RequestAdminAssignVoucherToUserRequest ¶

type RequestAdminAssignVoucherToUserRequest struct {

	// campaign name
	CampaignName string `json:"campaign_name,omitempty"`

	// is campaign
	IsCampaign bool `json:"is_campaign,omitempty"`

	// user id
	// Required: true
	UserID *string `json:"user_id"`

	// voucher code
	// Required: true
	VoucherCode *string `json:"voucher_code"`
}

RequestAdminAssignVoucherToUserRequest request admin assign voucher to user request

swagger:model request.AdminAssignVoucherToUserRequest

func (*RequestAdminAssignVoucherToUserRequest) ContextValidate ¶

ContextValidate validates this request admin assign voucher to user request based on context it is used

func (*RequestAdminAssignVoucherToUserRequest) MarshalBinary ¶

func (m *RequestAdminAssignVoucherToUserRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestAdminAssignVoucherToUserRequest) UnmarshalBinary ¶

func (m *RequestAdminAssignVoucherToUserRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestAdminAssignVoucherToUserRequest) Validate ¶

Validate validates this request admin assign voucher to user request

type RequestAdminChangePasswordRequest ¶

type RequestAdminChangePasswordRequest struct {

	// new password
	NewPassword string `json:"new_password,omitempty"`

	// old password
	OldPassword string `json:"old_password,omitempty"`
}

RequestAdminChangePasswordRequest request admin change password request

swagger:model request.AdminChangePasswordRequest

func (*RequestAdminChangePasswordRequest) ContextValidate ¶

func (m *RequestAdminChangePasswordRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request admin change password request based on context it is used

func (*RequestAdminChangePasswordRequest) MarshalBinary ¶

func (m *RequestAdminChangePasswordRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestAdminChangePasswordRequest) UnmarshalBinary ¶

func (m *RequestAdminChangePasswordRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestAdminChangePasswordRequest) Validate ¶

Validate validates this request admin change password request

type RequestAdminCheckModelsIsServingRequest ¶

type RequestAdminCheckModelsIsServingRequest struct {

	// model ids
	ModelIds []string `json:"model_ids"`
}

RequestAdminCheckModelsIsServingRequest request admin check models is serving request

swagger:model request.AdminCheckModelsIsServingRequest

func (*RequestAdminCheckModelsIsServingRequest) ContextValidate ¶

ContextValidate validates this request admin check models is serving request based on context it is used

func (*RequestAdminCheckModelsIsServingRequest) MarshalBinary ¶

func (m *RequestAdminCheckModelsIsServingRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestAdminCheckModelsIsServingRequest) UnmarshalBinary ¶

func (m *RequestAdminCheckModelsIsServingRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestAdminCheckModelsIsServingRequest) Validate ¶

Validate validates this request admin check models is serving request

type RequestAdminCreateAPIPackageRequest ¶

type RequestAdminCreateAPIPackageRequest struct {

	// active
	Active bool `json:"active,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// discount
	Discount float64 `json:"discount,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// quantity uses
	QuantityUses int64 `json:"quantity_uses,omitempty"`
}

RequestAdminCreateAPIPackageRequest request admin create Api package request

swagger:model request.AdminCreateApiPackageRequest

func (*RequestAdminCreateAPIPackageRequest) ContextValidate ¶

func (m *RequestAdminCreateAPIPackageRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request admin create Api package request based on context it is used

func (*RequestAdminCreateAPIPackageRequest) MarshalBinary ¶

func (m *RequestAdminCreateAPIPackageRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestAdminCreateAPIPackageRequest) UnmarshalBinary ¶

func (m *RequestAdminCreateAPIPackageRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestAdminCreateAPIPackageRequest) Validate ¶

Validate validates this request admin create Api package request

type RequestAdminCreateAccountRequest ¶

type RequestAdminCreateAccountRequest struct {

	// email
	Email string `json:"email,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// password
	Password string `json:"password,omitempty"`
}

RequestAdminCreateAccountRequest request admin create account request

swagger:model request.AdminCreateAccountRequest

func (*RequestAdminCreateAccountRequest) ContextValidate ¶

func (m *RequestAdminCreateAccountRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request admin create account request based on context it is used

func (*RequestAdminCreateAccountRequest) MarshalBinary ¶

func (m *RequestAdminCreateAccountRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestAdminCreateAccountRequest) UnmarshalBinary ¶

func (m *RequestAdminCreateAccountRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestAdminCreateAccountRequest) Validate ¶

Validate validates this request admin create account request

type RequestAdminCreateBlacklistContentRequest ¶

type RequestAdminCreateBlacklistContentRequest struct {

	// content
	// Required: true
	Content *string `json:"content"`

	// type
	// Required: true
	Type *string `json:"type"`
}

RequestAdminCreateBlacklistContentRequest request admin create blacklist content request

swagger:model request.AdminCreateBlacklistContentRequest

func (*RequestAdminCreateBlacklistContentRequest) ContextValidate ¶

ContextValidate validates this request admin create blacklist content request based on context it is used

func (*RequestAdminCreateBlacklistContentRequest) MarshalBinary ¶

func (m *RequestAdminCreateBlacklistContentRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestAdminCreateBlacklistContentRequest) UnmarshalBinary ¶

func (m *RequestAdminCreateBlacklistContentRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestAdminCreateBlacklistContentRequest) Validate ¶

Validate validates this request admin create blacklist content request

type RequestAdminCreateCompetitionRequest ¶

type RequestAdminCreateCompetitionRequest struct {

	// author id
	AuthorID string `json:"author_id,omitempty"`

	// category
	Category *string `json:"category,omitempty"`

	// code
	Code string `json:"code,omitempty"`

	// cover
	Cover string `json:"cover,omitempty"`

	// data
	Data string `json:"data,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// end date
	// Example: 2025-01-01 12:00:00
	EndDate string `json:"end_date,omitempty"`

	// final result mode
	// Example: auto,manual
	FinalResultMode *string `json:"final_result_mode,omitempty"`

	// max daily private submissions
	MaxDailyPrivateSubmissions int64 `json:"max_daily_private_submissions,omitempty"`

	// overview
	Overview string `json:"overview,omitempty"`

	// private leaderboard release date
	// Example: 2025-01-01 12:00:00
	PrivateLeaderboardReleaseDate string `json:"private_leaderboard_release_date,omitempty"`

	// registration deadline
	// Example: 2025-01-01 12:00:00
	RegistrationDeadline string `json:"registration_deadline,omitempty"`

	// reward type
	RewardType *string `json:"reward_type,omitempty"`

	// rules
	Rules string `json:"rules,omitempty"`

	// start date
	// Example: 2025-01-01 12:00:00
	StartDate string `json:"start_date,omitempty"`

	// submission deadline
	// Example: 2025-01-01 12:00:00
	SubmissionDeadline string `json:"submission_deadline,omitempty"`

	// tags
	Tags []string `json:"tags"`

	// thumbnail
	Thumbnail string `json:"thumbnail,omitempty"`

	// time zone config
	TimeZoneConfig any `json:"time_zone_config,omitempty"`

	// title
	// Required: true
	Title *string `json:"title"`

	// total prize pool
	TotalPrizePool float64 `json:"total_prize_pool,omitempty"`

	// user id
	// Required: true
	UserID *string `json:"user_id"`

	// visibility
	Visibility *string `json:"visibility,omitempty"`
}

RequestAdminCreateCompetitionRequest request admin create competition request

swagger:model request.AdminCreateCompetitionRequest

func (*RequestAdminCreateCompetitionRequest) ContextValidate ¶

func (m *RequestAdminCreateCompetitionRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request admin create competition request based on context it is used

func (*RequestAdminCreateCompetitionRequest) MarshalBinary ¶

func (m *RequestAdminCreateCompetitionRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestAdminCreateCompetitionRequest) UnmarshalBinary ¶

func (m *RequestAdminCreateCompetitionRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestAdminCreateCompetitionRequest) Validate ¶

Validate validates this request admin create competition request

type RequestAdminCreateContentConfigRequest ¶

type RequestAdminCreateContentConfigRequest struct {

	// key
	// Required: true
	Key *string `json:"key"`

	// value
	// Required: true
	Value *string `json:"value"`
}

RequestAdminCreateContentConfigRequest request admin create content config request

swagger:model request.AdminCreateContentConfigRequest

func (*RequestAdminCreateContentConfigRequest) ContextValidate ¶

ContextValidate validates this request admin create content config request based on context it is used

func (*RequestAdminCreateContentConfigRequest) MarshalBinary ¶

func (m *RequestAdminCreateContentConfigRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestAdminCreateContentConfigRequest) UnmarshalBinary ¶

func (m *RequestAdminCreateContentConfigRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestAdminCreateContentConfigRequest) Validate ¶

Validate validates this request admin create content config request

type RequestAdminCreateDependencyRequest ¶

type RequestAdminCreateDependencyRequest struct {

	// active
	Active bool `json:"active,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// url
	URL string `json:"url,omitempty"`

	// version
	Version string `json:"version,omitempty"`
}

RequestAdminCreateDependencyRequest request admin create dependency request

swagger:model request.AdminCreateDependencyRequest

func (*RequestAdminCreateDependencyRequest) ContextValidate ¶

func (m *RequestAdminCreateDependencyRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request admin create dependency request based on context it is used

func (*RequestAdminCreateDependencyRequest) MarshalBinary ¶

func (m *RequestAdminCreateDependencyRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestAdminCreateDependencyRequest) UnmarshalBinary ¶

func (m *RequestAdminCreateDependencyRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestAdminCreateDependencyRequest) Validate ¶

Validate validates this request admin create dependency request

type RequestAdminCreateMetadataRequest ¶

type RequestAdminCreateMetadataRequest struct {

	// category
	// Required: true
	Category *string `json:"category"`

	// id
	// Required: true
	ID *string `json:"id"`

	// label
	// Required: true
	Label *string `json:"label"`

	// type
	// Required: true
	Type *string `json:"type"`
}

RequestAdminCreateMetadataRequest request admin create metadata request

swagger:model request.AdminCreateMetadataRequest

func (*RequestAdminCreateMetadataRequest) ContextValidate ¶

func (m *RequestAdminCreateMetadataRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request admin create metadata request based on context it is used

func (*RequestAdminCreateMetadataRequest) MarshalBinary ¶

func (m *RequestAdminCreateMetadataRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestAdminCreateMetadataRequest) UnmarshalBinary ¶

func (m *RequestAdminCreateMetadataRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestAdminCreateMetadataRequest) Validate ¶

Validate validates this request admin create metadata request

type RequestAdminCreateMultipleBlacklistContentsRequest ¶

type RequestAdminCreateMultipleBlacklistContentsRequest struct {

	// contents
	// Required: true
	Contents *string `json:"contents"`

	// type
	// Required: true
	Type *string `json:"type"`
}

RequestAdminCreateMultipleBlacklistContentsRequest request admin create multiple blacklist contents request

swagger:model request.AdminCreateMultipleBlacklistContentsRequest

func (*RequestAdminCreateMultipleBlacklistContentsRequest) ContextValidate ¶

ContextValidate validates this request admin create multiple blacklist contents request based on context it is used

func (*RequestAdminCreateMultipleBlacklistContentsRequest) MarshalBinary ¶

MarshalBinary interface implementation

func (*RequestAdminCreateMultipleBlacklistContentsRequest) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*RequestAdminCreateMultipleBlacklistContentsRequest) Validate ¶

Validate validates this request admin create multiple blacklist contents request

type RequestAdminCreateMultipleMetadataRequest ¶

type RequestAdminCreateMultipleMetadataRequest struct {

	// category
	// Required: true
	Category *string `json:"category"`

	// metadata
	// Required: true
	Metadata []*ModelsMetadata `json:"metadata"`
}

RequestAdminCreateMultipleMetadataRequest request admin create multiple metadata request

swagger:model request.AdminCreateMultipleMetadataRequest

func (*RequestAdminCreateMultipleMetadataRequest) ContextValidate ¶

ContextValidate validate this request admin create multiple metadata request based on the context it is used

func (*RequestAdminCreateMultipleMetadataRequest) MarshalBinary ¶

func (m *RequestAdminCreateMultipleMetadataRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestAdminCreateMultipleMetadataRequest) UnmarshalBinary ¶

func (m *RequestAdminCreateMultipleMetadataRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestAdminCreateMultipleMetadataRequest) Validate ¶

Validate validates this request admin create multiple metadata request

type RequestAdminCreateMultipleVoucherRequest ¶

type RequestAdminCreateMultipleVoucherRequest struct {

	// active
	Active bool `json:"active,omitempty"`

	// credit expired days
	// Minimum: 0
	CreditExpiredDays *int64 `json:"credit_expired_days,omitempty"`

	// expired at
	// Required: true
	ExpiredAt *string `json:"expired_at"`

	// max value
	// Required: true
	// Maximum: 100
	MaxValue *float64 `json:"max_value"`

	// min value
	// Required: true
	MinValue *float64 `json:"min_value"`

	// quantity
	// Required: true
	// Maximum: 1000
	// Minimum: 1
	Quantity *int64 `json:"quantity"`
}

RequestAdminCreateMultipleVoucherRequest request admin create multiple voucher request

swagger:model request.AdminCreateMultipleVoucherRequest

func (*RequestAdminCreateMultipleVoucherRequest) ContextValidate ¶

ContextValidate validates this request admin create multiple voucher request based on context it is used

func (*RequestAdminCreateMultipleVoucherRequest) MarshalBinary ¶

func (m *RequestAdminCreateMultipleVoucherRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestAdminCreateMultipleVoucherRequest) UnmarshalBinary ¶

func (m *RequestAdminCreateMultipleVoucherRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestAdminCreateMultipleVoucherRequest) Validate ¶

Validate validates this request admin create multiple voucher request

type RequestAdminCreateTrainingTaskRequest ¶

type RequestAdminCreateTrainingTaskRequest struct {

	// active
	Active bool `json:"active,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// metadata
	Metadata string `json:"metadata,omitempty"`

	// name
	Name string `json:"name,omitempty"`
}

RequestAdminCreateTrainingTaskRequest request admin create training task request

swagger:model request.AdminCreateTrainingTaskRequest

func (*RequestAdminCreateTrainingTaskRequest) ContextValidate ¶

func (m *RequestAdminCreateTrainingTaskRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request admin create training task request based on context it is used

func (*RequestAdminCreateTrainingTaskRequest) MarshalBinary ¶

func (m *RequestAdminCreateTrainingTaskRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestAdminCreateTrainingTaskRequest) UnmarshalBinary ¶

func (m *RequestAdminCreateTrainingTaskRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestAdminCreateTrainingTaskRequest) Validate ¶

Validate validates this request admin create training task request

type RequestAdminCreateVerifyAiModelCustomRequest ¶

type RequestAdminCreateVerifyAiModelCustomRequest struct {

	// active
	Active bool `json:"active,omitempty"`

	// model id
	ModelID string `json:"model_id,omitempty"`

	// model size
	ModelSize int64 `json:"model_size,omitempty"`

	// model url
	ModelURL string `json:"model_url,omitempty"`

	// source code size
	SourceCodeSize int64 `json:"source_code_size,omitempty"`

	// source code url
	SourceCodeURL string `json:"source_code_url,omitempty"`
}

RequestAdminCreateVerifyAiModelCustomRequest request admin create verify ai model custom request

swagger:model request.AdminCreateVerifyAiModelCustomRequest

func (*RequestAdminCreateVerifyAiModelCustomRequest) ContextValidate ¶

ContextValidate validates this request admin create verify ai model custom request based on context it is used

func (*RequestAdminCreateVerifyAiModelCustomRequest) MarshalBinary ¶

MarshalBinary interface implementation

func (*RequestAdminCreateVerifyAiModelCustomRequest) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*RequestAdminCreateVerifyAiModelCustomRequest) Validate ¶

Validate validates this request admin create verify ai model custom request

type RequestAdminDeleteR2UrlsRequest ¶

type RequestAdminDeleteR2UrlsRequest struct {

	// urls
	// Required: true
	Urls *string `json:"urls"`
}

RequestAdminDeleteR2UrlsRequest request admin delete r2 urls request

swagger:model request.AdminDeleteR2UrlsRequest

func (*RequestAdminDeleteR2UrlsRequest) ContextValidate ¶

func (m *RequestAdminDeleteR2UrlsRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request admin delete r2 urls request based on context it is used

func (*RequestAdminDeleteR2UrlsRequest) MarshalBinary ¶

func (m *RequestAdminDeleteR2UrlsRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestAdminDeleteR2UrlsRequest) UnmarshalBinary ¶

func (m *RequestAdminDeleteR2UrlsRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestAdminDeleteR2UrlsRequest) Validate ¶

Validate validates this request admin delete r2 urls request

type RequestAdminDeleteUrlsRequest ¶

type RequestAdminDeleteUrlsRequest struct {

	// urls
	// Required: true
	Urls *string `json:"urls"`
}

RequestAdminDeleteUrlsRequest request admin delete urls request

swagger:model request.AdminDeleteUrlsRequest

func (*RequestAdminDeleteUrlsRequest) ContextValidate ¶

func (m *RequestAdminDeleteUrlsRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request admin delete urls request based on context it is used

func (*RequestAdminDeleteUrlsRequest) MarshalBinary ¶

func (m *RequestAdminDeleteUrlsRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestAdminDeleteUrlsRequest) UnmarshalBinary ¶

func (m *RequestAdminDeleteUrlsRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestAdminDeleteUrlsRequest) Validate ¶

func (m *RequestAdminDeleteUrlsRequest) Validate(formats strfmt.Registry) error

Validate validates this request admin delete urls request

type RequestAdminDistributeRewardToUserRequest ¶

type RequestAdminDistributeRewardToUserRequest struct {

	// message
	// Required: true
	Message *string `json:"message"`

	// reward
	// Required: true
	Reward *float64 `json:"reward"`

	// title
	// Required: true
	Title *string `json:"title"`

	// user id
	// Required: true
	UserID *string `json:"user_id"`
}

RequestAdminDistributeRewardToUserRequest request admin distribute reward to user request

swagger:model request.AdminDistributeRewardToUserRequest

func (*RequestAdminDistributeRewardToUserRequest) ContextValidate ¶

ContextValidate validates this request admin distribute reward to user request based on context it is used

func (*RequestAdminDistributeRewardToUserRequest) MarshalBinary ¶

func (m *RequestAdminDistributeRewardToUserRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestAdminDistributeRewardToUserRequest) UnmarshalBinary ¶

func (m *RequestAdminDistributeRewardToUserRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestAdminDistributeRewardToUserRequest) Validate ¶

Validate validates this request admin distribute reward to user request

type RequestAdminGetBurnStatisticsRequest ¶

type RequestAdminGetBurnStatisticsRequest struct {

	// from
	// Example: 2023-05-07 15:04:05
	From string `json:"from,omitempty"`

	// to
	// Example: 2023-05-07 15:04:05
	To string `json:"to,omitempty"`
}

RequestAdminGetBurnStatisticsRequest request admin get burn statistics request

swagger:model request.AdminGetBurnStatisticsRequest

func (*RequestAdminGetBurnStatisticsRequest) ContextValidate ¶

func (m *RequestAdminGetBurnStatisticsRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request admin get burn statistics request based on context it is used

func (*RequestAdminGetBurnStatisticsRequest) MarshalBinary ¶

func (m *RequestAdminGetBurnStatisticsRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestAdminGetBurnStatisticsRequest) UnmarshalBinary ¶

func (m *RequestAdminGetBurnStatisticsRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestAdminGetBurnStatisticsRequest) Validate ¶

Validate validates this request admin get burn statistics request

type RequestAdminGetDashboardBotStatisticsRequest ¶

type RequestAdminGetDashboardBotStatisticsRequest struct {

	// from
	// Example: 2023-05-07 15:04:05
	From string `json:"from,omitempty"`

	// to
	// Example: 2023-05-07 15:04:05
	To string `json:"to,omitempty"`
}

RequestAdminGetDashboardBotStatisticsRequest request admin get dashboard bot statistics request

swagger:model request.AdminGetDashboardBotStatisticsRequest

func (*RequestAdminGetDashboardBotStatisticsRequest) ContextValidate ¶

ContextValidate validates this request admin get dashboard bot statistics request based on context it is used

func (*RequestAdminGetDashboardBotStatisticsRequest) MarshalBinary ¶

MarshalBinary interface implementation

func (*RequestAdminGetDashboardBotStatisticsRequest) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*RequestAdminGetDashboardBotStatisticsRequest) Validate ¶

Validate validates this request admin get dashboard bot statistics request

type RequestAdminGetDashboardStatisticsRequest ¶

type RequestAdminGetDashboardStatisticsRequest struct {

	// from
	// Example: 2023-05-07 15:04:05
	From string `json:"from,omitempty"`

	// to
	// Example: 2023-05-07 15:04:05
	To string `json:"to,omitempty"`
}

RequestAdminGetDashboardStatisticsRequest request admin get dashboard statistics request

swagger:model request.AdminGetDashboardStatisticsRequest

func (*RequestAdminGetDashboardStatisticsRequest) ContextValidate ¶

ContextValidate validates this request admin get dashboard statistics request based on context it is used

func (*RequestAdminGetDashboardStatisticsRequest) MarshalBinary ¶

func (m *RequestAdminGetDashboardStatisticsRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestAdminGetDashboardStatisticsRequest) UnmarshalBinary ¶

func (m *RequestAdminGetDashboardStatisticsRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestAdminGetDashboardStatisticsRequest) Validate ¶

Validate validates this request admin get dashboard statistics request

type RequestAdminGetDatasetListRequest ¶

type RequestAdminGetDatasetListRequest struct {

	// language
	Language []string `json:"language"`

	// license
	License string `json:"license,omitempty"`

	// limit
	Limit *int64 `json:"limit,omitempty"`

	// offset
	Offset int64 `json:"offset,omitempty"`

	// search
	Search string `json:"search,omitempty"`

	// size category
	SizeCategory string `json:"size_category,omitempty"`

	// sort
	// Enum: ["trending","likes","downloads","created","created_oldest","modified"]
	Sort string `json:"sort,omitempty"`

	// tag type
	TagType string `json:"tag_type,omitempty"`

	// tags
	Tags []string `json:"tags"`

	// task categories
	TaskCategories []string `json:"task_categories"`
}

RequestAdminGetDatasetListRequest request admin get dataset list request

swagger:model request.AdminGetDatasetListRequest

func (*RequestAdminGetDatasetListRequest) ContextValidate ¶

func (m *RequestAdminGetDatasetListRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request admin get dataset list request based on context it is used

func (*RequestAdminGetDatasetListRequest) MarshalBinary ¶

func (m *RequestAdminGetDatasetListRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestAdminGetDatasetListRequest) UnmarshalBinary ¶

func (m *RequestAdminGetDatasetListRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestAdminGetDatasetListRequest) Validate ¶

Validate validates this request admin get dataset list request

type RequestAdminGetListUserAccountRequest ¶

type RequestAdminGetListUserAccountRequest struct {

	// from
	From string `json:"from,omitempty"`

	// model ids
	ModelIds []string `json:"model_ids"`

	// page
	// Minimum: 0
	Page *int64 `json:"page,omitempty"`

	// page size
	// Maximum: 100
	PageSize int64 `json:"page_size,omitempty"`

	// search
	Search string `json:"search,omitempty"`

	// sort by
	SortBy *string `json:"sort_by,omitempty"`

	// to
	To string `json:"to,omitempty"`

	// type
	Type int64 `json:"type,omitempty"`
}

RequestAdminGetListUserAccountRequest request admin get list user account request

swagger:model request.AdminGetListUserAccountRequest

func (*RequestAdminGetListUserAccountRequest) ContextValidate ¶

func (m *RequestAdminGetListUserAccountRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request admin get list user account request based on context it is used

func (*RequestAdminGetListUserAccountRequest) MarshalBinary ¶

func (m *RequestAdminGetListUserAccountRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestAdminGetListUserAccountRequest) UnmarshalBinary ¶

func (m *RequestAdminGetListUserAccountRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestAdminGetListUserAccountRequest) Validate ¶

Validate validates this request admin get list user account request

type RequestAdminGetModelListRequest ¶

type RequestAdminGetModelListRequest struct {

	// language
	Language []string `json:"language"`

	// library
	Library []string `json:"library"`

	// license
	License string `json:"license,omitempty"`

	// limit
	Limit *int64 `json:"limit,omitempty"`

	// offset
	Offset int64 `json:"offset,omitempty"`

	// search
	Search string `json:"search,omitempty"`

	// sort
	Sort string `json:"sort,omitempty"`

	// tag type
	TagType string `json:"tag_type,omitempty"`

	// task
	Task string `json:"task,omitempty"`
}

RequestAdminGetModelListRequest request admin get model list request

swagger:model request.AdminGetModelListRequest

func (*RequestAdminGetModelListRequest) ContextValidate ¶

func (m *RequestAdminGetModelListRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request admin get model list request based on context it is used

func (*RequestAdminGetModelListRequest) MarshalBinary ¶

func (m *RequestAdminGetModelListRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestAdminGetModelListRequest) UnmarshalBinary ¶

func (m *RequestAdminGetModelListRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestAdminGetModelListRequest) Validate ¶

Validate validates this request admin get model list request

type RequestAdminLoginRequest ¶

type RequestAdminLoginRequest struct {

	// email
	// Required: true
	Email *string `json:"email"`

	// password
	// Required: true
	// Max Length: 32
	// Min Length: 8
	Password *string `json:"password"`
}

RequestAdminLoginRequest request admin login request

swagger:model request.AdminLoginRequest

func (*RequestAdminLoginRequest) ContextValidate ¶

func (m *RequestAdminLoginRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request admin login request based on context it is used

func (*RequestAdminLoginRequest) MarshalBinary ¶

func (m *RequestAdminLoginRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestAdminLoginRequest) UnmarshalBinary ¶

func (m *RequestAdminLoginRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestAdminLoginRequest) Validate ¶

func (m *RequestAdminLoginRequest) Validate(formats strfmt.Registry) error

Validate validates this request admin login request

type RequestAdminRefreshTokenRequest ¶

type RequestAdminRefreshTokenRequest struct {

	// refresh token
	RefreshToken string `json:"refresh_token,omitempty"`
}

RequestAdminRefreshTokenRequest request admin refresh token request

swagger:model request.AdminRefreshTokenRequest

func (*RequestAdminRefreshTokenRequest) ContextValidate ¶

func (m *RequestAdminRefreshTokenRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request admin refresh token request based on context it is used

func (*RequestAdminRefreshTokenRequest) MarshalBinary ¶

func (m *RequestAdminRefreshTokenRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestAdminRefreshTokenRequest) UnmarshalBinary ¶

func (m *RequestAdminRefreshTokenRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestAdminRefreshTokenRequest) Validate ¶

Validate validates this request admin refresh token request

type RequestAdminUpdateAPIPackageRequest ¶

type RequestAdminUpdateAPIPackageRequest struct {

	// active
	Active bool `json:"active,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// discount
	Discount float64 `json:"discount,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// quantity uses
	QuantityUses int64 `json:"quantity_uses,omitempty"`
}

RequestAdminUpdateAPIPackageRequest request admin update Api package request

swagger:model request.AdminUpdateApiPackageRequest

func (*RequestAdminUpdateAPIPackageRequest) ContextValidate ¶

func (m *RequestAdminUpdateAPIPackageRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request admin update Api package request based on context it is used

func (*RequestAdminUpdateAPIPackageRequest) MarshalBinary ¶

func (m *RequestAdminUpdateAPIPackageRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestAdminUpdateAPIPackageRequest) UnmarshalBinary ¶

func (m *RequestAdminUpdateAPIPackageRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestAdminUpdateAPIPackageRequest) Validate ¶

Validate validates this request admin update Api package request

type RequestAdminUpdateApprovalRequestRequest ¶

type RequestAdminUpdateApprovalRequestRequest struct {

	// admin note
	AdminNote string `json:"admin_note,omitempty"`

	// approved / rejected
	Status string `json:"status,omitempty"`
}

RequestAdminUpdateApprovalRequestRequest request admin update approval request request

swagger:model request.AdminUpdateApprovalRequestRequest

func (*RequestAdminUpdateApprovalRequestRequest) ContextValidate ¶

ContextValidate validates this request admin update approval request request based on context it is used

func (*RequestAdminUpdateApprovalRequestRequest) MarshalBinary ¶

func (m *RequestAdminUpdateApprovalRequestRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestAdminUpdateApprovalRequestRequest) UnmarshalBinary ¶

func (m *RequestAdminUpdateApprovalRequestRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestAdminUpdateApprovalRequestRequest) Validate ¶

Validate validates this request admin update approval request request

type RequestAdminUpdateBlacklistContentByIDRequest ¶

type RequestAdminUpdateBlacklistContentByIDRequest struct {

	// new content
	NewContent string `json:"new_content,omitempty"`

	// type
	Type string `json:"type,omitempty"`
}

RequestAdminUpdateBlacklistContentByIDRequest request admin update blacklist content by Id request

swagger:model request.AdminUpdateBlacklistContentByIdRequest

func (*RequestAdminUpdateBlacklistContentByIDRequest) ContextValidate ¶

ContextValidate validates this request admin update blacklist content by Id request based on context it is used

func (*RequestAdminUpdateBlacklistContentByIDRequest) MarshalBinary ¶

MarshalBinary interface implementation

func (*RequestAdminUpdateBlacklistContentByIDRequest) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*RequestAdminUpdateBlacklistContentByIDRequest) Validate ¶

Validate validates this request admin update blacklist content by Id request

type RequestAdminUpdateCompetitionRequest ¶

type RequestAdminUpdateCompetitionRequest struct {

	// category
	// Example: featured,research,getting-started,playground,community,analytics,simulations
	Category string `json:"category,omitempty"`

	// code
	Code string `json:"code,omitempty"`

	// cover
	Cover string `json:"cover,omitempty"`

	// data
	Data string `json:"data,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// end date
	// Example: 2025-01-01 12:00:00
	EndDate string `json:"end_date,omitempty"`

	// final result mode
	// Example: auto,manual
	FinalResultMode string `json:"final_result_mode,omitempty"`

	// max daily private submissions
	MaxDailyPrivateSubmissions int64 `json:"max_daily_private_submissions,omitempty"`

	// overview
	Overview string `json:"overview,omitempty"`

	// private leaderboard release date
	// Example: 2025-01-01 12:00:00
	PrivateLeaderboardReleaseDate string `json:"private_leaderboard_release_date,omitempty"`

	// registration deadline
	// Example: 2025-01-01 12:00:00
	RegistrationDeadline string `json:"registration_deadline,omitempty"`

	// reward type
	// Example: monetary,knowledge,swag,kudos
	RewardType string `json:"reward_type,omitempty"`

	// rules
	Rules string `json:"rules,omitempty"`

	// start date
	// Example: 2025-01-01 12:00:00
	StartDate string `json:"start_date,omitempty"`

	// submission deadline
	// Example: 2025-01-01 12:00:00
	SubmissionDeadline string `json:"submission_deadline,omitempty"`

	// tags
	Tags []string `json:"tags"`

	// thumbnail
	Thumbnail string `json:"thumbnail,omitempty"`

	// time zone config
	TimeZoneConfig any `json:"time_zone_config,omitempty"`

	// title
	Title string `json:"title,omitempty"`

	// total prize pool
	TotalPrizePool float64 `json:"total_prize_pool,omitempty"`

	// visibility
	// Example: public
	Visibility string `json:"visibility,omitempty"`
}

RequestAdminUpdateCompetitionRequest request admin update competition request

swagger:model request.AdminUpdateCompetitionRequest

func (*RequestAdminUpdateCompetitionRequest) ContextValidate ¶

func (m *RequestAdminUpdateCompetitionRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request admin update competition request based on context it is used

func (*RequestAdminUpdateCompetitionRequest) MarshalBinary ¶

func (m *RequestAdminUpdateCompetitionRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestAdminUpdateCompetitionRequest) UnmarshalBinary ¶

func (m *RequestAdminUpdateCompetitionRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestAdminUpdateCompetitionRequest) Validate ¶

Validate validates this request admin update competition request

type RequestAdminUpdateContentConfigRequest ¶

type RequestAdminUpdateContentConfigRequest struct {

	// key
	Key string `json:"key,omitempty"`

	// value
	Value string `json:"value,omitempty"`
}

RequestAdminUpdateContentConfigRequest request admin update content config request

swagger:model request.AdminUpdateContentConfigRequest

func (*RequestAdminUpdateContentConfigRequest) ContextValidate ¶

ContextValidate validates this request admin update content config request based on context it is used

func (*RequestAdminUpdateContentConfigRequest) MarshalBinary ¶

func (m *RequestAdminUpdateContentConfigRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestAdminUpdateContentConfigRequest) UnmarshalBinary ¶

func (m *RequestAdminUpdateContentConfigRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestAdminUpdateContentConfigRequest) Validate ¶

Validate validates this request admin update content config request

type RequestAdminUpdateDatasetStatusRequest ¶

type RequestAdminUpdateDatasetStatusRequest struct {

	// is official
	IsOfficial bool `json:"is_official,omitempty"`

	// is released
	IsReleased bool `json:"is_released,omitempty"`

	// is verified
	IsVerified bool `json:"is_verified,omitempty"`
}

RequestAdminUpdateDatasetStatusRequest request admin update dataset status request

swagger:model request.AdminUpdateDatasetStatusRequest

func (*RequestAdminUpdateDatasetStatusRequest) ContextValidate ¶

ContextValidate validates this request admin update dataset status request based on context it is used

func (*RequestAdminUpdateDatasetStatusRequest) MarshalBinary ¶

func (m *RequestAdminUpdateDatasetStatusRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestAdminUpdateDatasetStatusRequest) UnmarshalBinary ¶

func (m *RequestAdminUpdateDatasetStatusRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestAdminUpdateDatasetStatusRequest) Validate ¶

Validate validates this request admin update dataset status request

type RequestAdminUpdateDependencyLibRequestRequest ¶

type RequestAdminUpdateDependencyLibRequestRequest struct {

	// package name
	PackageName string `json:"package_name,omitempty"`

	// reason
	Reason string `json:"reason,omitempty"`

	// status
	Status string `json:"status,omitempty"`

	// user id
	UserID string `json:"user_id,omitempty"`

	// version
	Version string `json:"version,omitempty"`
}

RequestAdminUpdateDependencyLibRequestRequest request admin update dependency lib request request

swagger:model request.AdminUpdateDependencyLibRequestRequest

func (*RequestAdminUpdateDependencyLibRequestRequest) ContextValidate ¶

ContextValidate validates this request admin update dependency lib request request based on context it is used

func (*RequestAdminUpdateDependencyLibRequestRequest) MarshalBinary ¶

MarshalBinary interface implementation

func (*RequestAdminUpdateDependencyLibRequestRequest) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*RequestAdminUpdateDependencyLibRequestRequest) Validate ¶

Validate validates this request admin update dependency lib request request

type RequestAdminUpdateDependencyRequest ¶

type RequestAdminUpdateDependencyRequest struct {

	// active
	Active bool `json:"active,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// url
	URL string `json:"url,omitempty"`

	// version
	Version string `json:"version,omitempty"`
}

RequestAdminUpdateDependencyRequest request admin update dependency request

swagger:model request.AdminUpdateDependencyRequest

func (*RequestAdminUpdateDependencyRequest) ContextValidate ¶

func (m *RequestAdminUpdateDependencyRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request admin update dependency request based on context it is used

func (*RequestAdminUpdateDependencyRequest) MarshalBinary ¶

func (m *RequestAdminUpdateDependencyRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestAdminUpdateDependencyRequest) UnmarshalBinary ¶

func (m *RequestAdminUpdateDependencyRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestAdminUpdateDependencyRequest) Validate ¶

Validate validates this request admin update dependency request

type RequestAdminUpdateInfoRequest ¶

type RequestAdminUpdateInfoRequest struct {

	// name
	Name string `json:"name,omitempty"`
}

RequestAdminUpdateInfoRequest request admin update info request

swagger:model request.AdminUpdateInfoRequest

func (*RequestAdminUpdateInfoRequest) ContextValidate ¶

func (m *RequestAdminUpdateInfoRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request admin update info request based on context it is used

func (*RequestAdminUpdateInfoRequest) MarshalBinary ¶

func (m *RequestAdminUpdateInfoRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestAdminUpdateInfoRequest) UnmarshalBinary ¶

func (m *RequestAdminUpdateInfoRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestAdminUpdateInfoRequest) Validate ¶

func (m *RequestAdminUpdateInfoRequest) Validate(formats strfmt.Registry) error

Validate validates this request admin update info request

type RequestAdminUpdateMetadataByIDRequest ¶

type RequestAdminUpdateMetadataByIDRequest struct {

	// category
	// Required: true
	Category *string `json:"category"`

	// label
	Label string `json:"label,omitempty"`

	// new category
	NewCategory string `json:"new_category,omitempty"`

	// type
	Type string `json:"type,omitempty"`
}

RequestAdminUpdateMetadataByIDRequest request admin update metadata by Id request

swagger:model request.AdminUpdateMetadataByIdRequest

func (*RequestAdminUpdateMetadataByIDRequest) ContextValidate ¶

func (m *RequestAdminUpdateMetadataByIDRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request admin update metadata by Id request based on context it is used

func (*RequestAdminUpdateMetadataByIDRequest) MarshalBinary ¶

func (m *RequestAdminUpdateMetadataByIDRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestAdminUpdateMetadataByIDRequest) UnmarshalBinary ¶

func (m *RequestAdminUpdateMetadataByIDRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestAdminUpdateMetadataByIDRequest) Validate ¶

Validate validates this request admin update metadata by Id request

type RequestAdminUpdateModelStatusRequest ¶

type RequestAdminUpdateModelStatusRequest struct {

	// is official
	IsOfficial bool `json:"is_official,omitempty"`

	// is released
	IsReleased bool `json:"is_released,omitempty"`

	// is verified
	IsVerified bool `json:"is_verified,omitempty"`
}

RequestAdminUpdateModelStatusRequest request admin update model status request

swagger:model request.AdminUpdateModelStatusRequest

func (*RequestAdminUpdateModelStatusRequest) ContextValidate ¶

func (m *RequestAdminUpdateModelStatusRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request admin update model status request based on context it is used

func (*RequestAdminUpdateModelStatusRequest) MarshalBinary ¶

func (m *RequestAdminUpdateModelStatusRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestAdminUpdateModelStatusRequest) UnmarshalBinary ¶

func (m *RequestAdminUpdateModelStatusRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestAdminUpdateModelStatusRequest) Validate ¶

Validate validates this request admin update model status request

type RequestAdminUpdateOrganizationRequest ¶

type RequestAdminUpdateOrganizationRequest struct {

	// visibility
	// Required: true
	// Enum: ["public","private"]
	Visibility *string `json:"visibility"`
}

RequestAdminUpdateOrganizationRequest request admin update organization request

swagger:model request.AdminUpdateOrganizationRequest

func (*RequestAdminUpdateOrganizationRequest) ContextValidate ¶

func (m *RequestAdminUpdateOrganizationRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request admin update organization request based on context it is used

func (*RequestAdminUpdateOrganizationRequest) MarshalBinary ¶

func (m *RequestAdminUpdateOrganizationRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestAdminUpdateOrganizationRequest) UnmarshalBinary ¶

func (m *RequestAdminUpdateOrganizationRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestAdminUpdateOrganizationRequest) Validate ¶

Validate validates this request admin update organization request

type RequestAdminUpdateReportedCollectionByCollectionIDRequest ¶

type RequestAdminUpdateReportedCollectionByCollectionIDRequest struct {

	// violate
	Violate bool `json:"violate,omitempty"`
}

RequestAdminUpdateReportedCollectionByCollectionIDRequest request admin update reported collection by collection Id request

swagger:model request.AdminUpdateReportedCollectionByCollectionIdRequest

func (*RequestAdminUpdateReportedCollectionByCollectionIDRequest) ContextValidate ¶

ContextValidate validates this request admin update reported collection by collection Id request based on context it is used

func (*RequestAdminUpdateReportedCollectionByCollectionIDRequest) MarshalBinary ¶

MarshalBinary interface implementation

func (*RequestAdminUpdateReportedCollectionByCollectionIDRequest) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*RequestAdminUpdateReportedCollectionByCollectionIDRequest) Validate ¶

Validate validates this request admin update reported collection by collection Id request

type RequestAdminUpdateReportedCommentByCommentIDRequest ¶

type RequestAdminUpdateReportedCommentByCommentIDRequest struct {

	// violate
	Violate bool `json:"violate,omitempty"`
}

RequestAdminUpdateReportedCommentByCommentIDRequest request admin update reported comment by comment Id request

swagger:model request.AdminUpdateReportedCommentByCommentIdRequest

func (*RequestAdminUpdateReportedCommentByCommentIDRequest) ContextValidate ¶

ContextValidate validates this request admin update reported comment by comment Id request based on context it is used

func (*RequestAdminUpdateReportedCommentByCommentIDRequest) MarshalBinary ¶

MarshalBinary interface implementation

func (*RequestAdminUpdateReportedCommentByCommentIDRequest) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*RequestAdminUpdateReportedCommentByCommentIDRequest) Validate ¶

Validate validates this request admin update reported comment by comment Id request

type RequestAdminUpdateReportedDiscussionByDiscussionIDRequest ¶

type RequestAdminUpdateReportedDiscussionByDiscussionIDRequest struct {

	// violate
	Violate bool `json:"violate,omitempty"`
}

RequestAdminUpdateReportedDiscussionByDiscussionIDRequest request admin update reported discussion by discussion Id request

swagger:model request.AdminUpdateReportedDiscussionByDiscussionIdRequest

func (*RequestAdminUpdateReportedDiscussionByDiscussionIDRequest) ContextValidate ¶

ContextValidate validates this request admin update reported discussion by discussion Id request based on context it is used

func (*RequestAdminUpdateReportedDiscussionByDiscussionIDRequest) MarshalBinary ¶

MarshalBinary interface implementation

func (*RequestAdminUpdateReportedDiscussionByDiscussionIDRequest) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*RequestAdminUpdateReportedDiscussionByDiscussionIDRequest) Validate ¶

Validate validates this request admin update reported discussion by discussion Id request

type RequestAdminUpdateRequest ¶

type RequestAdminUpdateRequest struct {

	// email
	Email string `json:"email,omitempty"`

	// is active
	IsActive bool `json:"is_active,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// password
	Password string `json:"password,omitempty"`

	// role
	// Required: true
	// Enum: ["admin","mod","viewer"]
	Role *string `json:"role"`
}

RequestAdminUpdateRequest request admin update request

swagger:model request.AdminUpdateRequest

func (*RequestAdminUpdateRequest) ContextValidate ¶

func (m *RequestAdminUpdateRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request admin update request based on context it is used

func (*RequestAdminUpdateRequest) MarshalBinary ¶

func (m *RequestAdminUpdateRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestAdminUpdateRequest) UnmarshalBinary ¶

func (m *RequestAdminUpdateRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestAdminUpdateRequest) Validate ¶

func (m *RequestAdminUpdateRequest) Validate(formats strfmt.Registry) error

Validate validates this request admin update request

type RequestAdminUpdateTrainingTaskRequest ¶

type RequestAdminUpdateTrainingTaskRequest struct {

	// active
	Active bool `json:"active,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// metadata
	Metadata string `json:"metadata,omitempty"`

	// name
	Name string `json:"name,omitempty"`
}

RequestAdminUpdateTrainingTaskRequest request admin update training task request

swagger:model request.AdminUpdateTrainingTaskRequest

func (*RequestAdminUpdateTrainingTaskRequest) ContextValidate ¶

func (m *RequestAdminUpdateTrainingTaskRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request admin update training task request based on context it is used

func (*RequestAdminUpdateTrainingTaskRequest) MarshalBinary ¶

func (m *RequestAdminUpdateTrainingTaskRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestAdminUpdateTrainingTaskRequest) UnmarshalBinary ¶

func (m *RequestAdminUpdateTrainingTaskRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestAdminUpdateTrainingTaskRequest) Validate ¶

Validate validates this request admin update training task request

type RequestAdminUpdateVerifyAiModelCustomRequest ¶

type RequestAdminUpdateVerifyAiModelCustomRequest struct {

	// active
	Active bool `json:"active,omitempty"`

	// model id
	ModelID string `json:"model_id,omitempty"`

	// model size
	ModelSize int64 `json:"model_size,omitempty"`

	// model url
	ModelURL string `json:"model_url,omitempty"`

	// source code size
	SourceCodeSize int64 `json:"source_code_size,omitempty"`

	// source code url
	SourceCodeURL string `json:"source_code_url,omitempty"`
}

RequestAdminUpdateVerifyAiModelCustomRequest request admin update verify ai model custom request

swagger:model request.AdminUpdateVerifyAiModelCustomRequest

func (*RequestAdminUpdateVerifyAiModelCustomRequest) ContextValidate ¶

ContextValidate validates this request admin update verify ai model custom request based on context it is used

func (*RequestAdminUpdateVerifyAiModelCustomRequest) MarshalBinary ¶

MarshalBinary interface implementation

func (*RequestAdminUpdateVerifyAiModelCustomRequest) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*RequestAdminUpdateVerifyAiModelCustomRequest) Validate ¶

Validate validates this request admin update verify ai model custom request

type RequestAdminUpdateVoucherRequest ¶

type RequestAdminUpdateVoucherRequest struct {

	// active
	Active bool `json:"active,omitempty"`

	// credit expired at
	// Example: 2024-12-12
	CreditExpiredAt string `json:"credit_expired_at,omitempty"`

	// expired at
	// Example: 2024-12-12
	ExpiredAt string `json:"expired_at,omitempty"`

	// value
	// Required: true
	Value *float64 `json:"value"`
}

RequestAdminUpdateVoucherRequest request admin update voucher request

swagger:model request.AdminUpdateVoucherRequest

func (*RequestAdminUpdateVoucherRequest) ContextValidate ¶

func (m *RequestAdminUpdateVoucherRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request admin update voucher request based on context it is used

func (*RequestAdminUpdateVoucherRequest) MarshalBinary ¶

func (m *RequestAdminUpdateVoucherRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestAdminUpdateVoucherRequest) UnmarshalBinary ¶

func (m *RequestAdminUpdateVoucherRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestAdminUpdateVoucherRequest) Validate ¶

Validate validates this request admin update voucher request

type RequestAdminVerifyUserRequest ¶

type RequestAdminVerifyUserRequest struct {

	// blocked
	Blocked bool `json:"blocked,omitempty"`

	// verified
	Verified bool `json:"verified,omitempty"`
}

RequestAdminVerifyUserRequest request admin verify user request

swagger:model request.AdminVerifyUserRequest

func (*RequestAdminVerifyUserRequest) ContextValidate ¶

func (m *RequestAdminVerifyUserRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request admin verify user request based on context it is used

func (*RequestAdminVerifyUserRequest) MarshalBinary ¶

func (m *RequestAdminVerifyUserRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestAdminVerifyUserRequest) UnmarshalBinary ¶

func (m *RequestAdminVerifyUserRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestAdminVerifyUserRequest) Validate ¶

func (m *RequestAdminVerifyUserRequest) Validate(formats strfmt.Registry) error

Validate validates this request admin verify user request

type RequestBuyAPIKeyPackageRequest ¶

type RequestBuyAPIKeyPackageRequest struct {

	// api key id
	APIKeyID string `json:"api_key_id,omitempty"`

	// model id
	ModelID string `json:"model_id,omitempty"`

	// quantity uses
	QuantityUses int64 `json:"quantity_uses,omitempty"`
}

RequestBuyAPIKeyPackageRequest request buy Api key package request

swagger:model request.BuyApiKeyPackageRequest

func (*RequestBuyAPIKeyPackageRequest) ContextValidate ¶

func (m *RequestBuyAPIKeyPackageRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request buy Api key package request based on context it is used

func (*RequestBuyAPIKeyPackageRequest) MarshalBinary ¶

func (m *RequestBuyAPIKeyPackageRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestBuyAPIKeyPackageRequest) UnmarshalBinary ¶

func (m *RequestBuyAPIKeyPackageRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestBuyAPIKeyPackageRequest) Validate ¶

func (m *RequestBuyAPIKeyPackageRequest) Validate(formats strfmt.Registry) error

Validate validates this request buy Api key package request

type RequestBuyPlaygroundMasterPackageRequest ¶

type RequestBuyPlaygroundMasterPackageRequest struct {

	// quantity uses
	QuantityUses int64 `json:"quantity_uses,omitempty"`
}

RequestBuyPlaygroundMasterPackageRequest request buy playground master package request

swagger:model request.BuyPlaygroundMasterPackageRequest

func (*RequestBuyPlaygroundMasterPackageRequest) ContextValidate ¶

ContextValidate validates this request buy playground master package request based on context it is used

func (*RequestBuyPlaygroundMasterPackageRequest) MarshalBinary ¶

func (m *RequestBuyPlaygroundMasterPackageRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestBuyPlaygroundMasterPackageRequest) UnmarshalBinary ¶

func (m *RequestBuyPlaygroundMasterPackageRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestBuyPlaygroundMasterPackageRequest) Validate ¶

Validate validates this request buy playground master package request

type RequestBuyPlaygroundPackageRequest ¶

type RequestBuyPlaygroundPackageRequest struct {

	// model id
	ModelID string `json:"model_id,omitempty"`

	// quantity uses
	QuantityUses int64 `json:"quantity_uses,omitempty"`
}

RequestBuyPlaygroundPackageRequest request buy playground package request

swagger:model request.BuyPlaygroundPackageRequest

func (*RequestBuyPlaygroundPackageRequest) ContextValidate ¶

func (m *RequestBuyPlaygroundPackageRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request buy playground package request based on context it is used

func (*RequestBuyPlaygroundPackageRequest) MarshalBinary ¶

func (m *RequestBuyPlaygroundPackageRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestBuyPlaygroundPackageRequest) UnmarshalBinary ¶

func (m *RequestBuyPlaygroundPackageRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestBuyPlaygroundPackageRequest) Validate ¶

Validate validates this request buy playground package request

type RequestCalculateCostToTrainingAiModelRequest ¶

type RequestCalculateCostToTrainingAiModelRequest struct {

	// dataset id
	DatasetID string `json:"dataset_id,omitempty"`

	// training task id
	TrainingTaskID string `json:"training_task_id,omitempty"`
}

RequestCalculateCostToTrainingAiModelRequest request calculate cost to training ai model request

swagger:model request.CalculateCostToTrainingAiModelRequest

func (*RequestCalculateCostToTrainingAiModelRequest) ContextValidate ¶

ContextValidate validates this request calculate cost to training ai model request based on context it is used

func (*RequestCalculateCostToTrainingAiModelRequest) MarshalBinary ¶

MarshalBinary interface implementation

func (*RequestCalculateCostToTrainingAiModelRequest) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*RequestCalculateCostToTrainingAiModelRequest) Validate ¶

Validate validates this request calculate cost to training ai model request

type RequestCalculateCostToVerifyAiModelRequest ¶

type RequestCalculateCostToVerifyAiModelRequest struct {

	// commit hash
	// Required: true
	CommitHash *string `json:"commit_hash"`

	// platforms
	// Required: true
	Platforms []string `json:"platforms"`
}

RequestCalculateCostToVerifyAiModelRequest request calculate cost to verify ai model request

swagger:model request.CalculateCostToVerifyAiModelRequest

func (*RequestCalculateCostToVerifyAiModelRequest) ContextValidate ¶

ContextValidate validates this request calculate cost to verify ai model request based on context it is used

func (*RequestCalculateCostToVerifyAiModelRequest) MarshalBinary ¶

func (m *RequestCalculateCostToVerifyAiModelRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestCalculateCostToVerifyAiModelRequest) UnmarshalBinary ¶

func (m *RequestCalculateCostToVerifyAiModelRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestCalculateCostToVerifyAiModelRequest) Validate ¶

Validate validates this request calculate cost to verify ai model request

type RequestChangeMemberRoleRequest ¶

type RequestChangeMemberRoleRequest struct {

	// role
	// Required: true
	Role *string `json:"role"`
}

RequestChangeMemberRoleRequest request change member role request

swagger:model request.ChangeMemberRoleRequest

func (*RequestChangeMemberRoleRequest) ContextValidate ¶

func (m *RequestChangeMemberRoleRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request change member role request based on context it is used

func (*RequestChangeMemberRoleRequest) MarshalBinary ¶

func (m *RequestChangeMemberRoleRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestChangeMemberRoleRequest) UnmarshalBinary ¶

func (m *RequestChangeMemberRoleRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestChangeMemberRoleRequest) Validate ¶

func (m *RequestChangeMemberRoleRequest) Validate(formats strfmt.Registry) error

Validate validates this request change member role request

type RequestChangeUserPasswordRequest ¶

type RequestChangeUserPasswordRequest struct {

	// User's new password (required)
	// Required: true
	// Max Length: 32
	// Min Length: 8
	NewPassword *string `json:"new_password"`

	// User's old passowrd (required)
	// Required: true
	// Max Length: 32
	// Min Length: 8
	OldPassword *string `json:"old_password"`
}

RequestChangeUserPasswordRequest request change user password request

swagger:model request.ChangeUserPasswordRequest

func (*RequestChangeUserPasswordRequest) ContextValidate ¶

func (m *RequestChangeUserPasswordRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request change user password request based on context it is used

func (*RequestChangeUserPasswordRequest) MarshalBinary ¶

func (m *RequestChangeUserPasswordRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestChangeUserPasswordRequest) UnmarshalBinary ¶

func (m *RequestChangeUserPasswordRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestChangeUserPasswordRequest) Validate ¶

Validate validates this request change user password request

type RequestCheckModelPendingStateRequest ¶

type RequestCheckModelPendingStateRequest any

RequestCheckModelPendingStateRequest request check model pending state request

swagger:model request.CheckModelPendingStateRequest

type RequestCheckValidRepoToEvaluateModelRequest ¶

type RequestCheckValidRepoToEvaluateModelRequest struct {

	// commit hash
	CommitHash string `json:"commit_hash,omitempty"`

	// model id
	// Required: true
	ModelID *string `json:"model_id"`
}

RequestCheckValidRepoToEvaluateModelRequest request check valid repo to evaluate model request

swagger:model request.CheckValidRepoToEvaluateModelRequest

func (*RequestCheckValidRepoToEvaluateModelRequest) ContextValidate ¶

ContextValidate validates this request check valid repo to evaluate model request based on context it is used

func (*RequestCheckValidRepoToEvaluateModelRequest) MarshalBinary ¶

func (m *RequestCheckValidRepoToEvaluateModelRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestCheckValidRepoToEvaluateModelRequest) UnmarshalBinary ¶

func (m *RequestCheckValidRepoToEvaluateModelRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestCheckValidRepoToEvaluateModelRequest) Validate ¶

Validate validates this request check valid repo to evaluate model request

type RequestCheckValidToVerifyAiModelRequest ¶

type RequestCheckValidToVerifyAiModelRequest struct {

	// commit hash
	// Required: true
	CommitHash *string `json:"commit_hash"`

	// platforms
	// Required: true
	Platforms []string `json:"platforms"`
}

RequestCheckValidToVerifyAiModelRequest request check valid to verify ai model request

swagger:model request.CheckValidToVerifyAiModelRequest

func (*RequestCheckValidToVerifyAiModelRequest) ContextValidate ¶

ContextValidate validates this request check valid to verify ai model request based on context it is used

func (*RequestCheckValidToVerifyAiModelRequest) MarshalBinary ¶

func (m *RequestCheckValidToVerifyAiModelRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestCheckValidToVerifyAiModelRequest) UnmarshalBinary ¶

func (m *RequestCheckValidToVerifyAiModelRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestCheckValidToVerifyAiModelRequest) Validate ¶

Validate validates this request check valid to verify ai model request

type RequestCreateAPIKeyRequest ¶

type RequestCreateAPIKeyRequest struct {

	// active
	Active bool `json:"active,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// name
	// Required: true
	// Max Length: 200
	Name *string `json:"name"`

	// org username
	OrgUsername string `json:"org_username,omitempty"`
}

RequestCreateAPIKeyRequest request create Api key request

swagger:model request.CreateApiKeyRequest

func (*RequestCreateAPIKeyRequest) ContextValidate ¶

func (m *RequestCreateAPIKeyRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request create Api key request based on context it is used

func (*RequestCreateAPIKeyRequest) MarshalBinary ¶

func (m *RequestCreateAPIKeyRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestCreateAPIKeyRequest) UnmarshalBinary ¶

func (m *RequestCreateAPIKeyRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestCreateAPIKeyRequest) Validate ¶

func (m *RequestCreateAPIKeyRequest) Validate(formats strfmt.Registry) error

Validate validates this request create Api key request

type RequestCreateCollectionRequest ¶

type RequestCreateCollectionRequest struct {

	// description
	Description string `json:"description,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// thumbnail
	Thumbnail string `json:"thumbnail,omitempty"`

	// visibility
	// Required: true
	// Enum: ["public","private"]
	Visibility *string `json:"visibility"`
}

RequestCreateCollectionRequest request create collection request

swagger:model request.CreateCollectionRequest

func (*RequestCreateCollectionRequest) ContextValidate ¶

func (m *RequestCreateCollectionRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request create collection request based on context it is used

func (*RequestCreateCollectionRequest) MarshalBinary ¶

func (m *RequestCreateCollectionRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestCreateCollectionRequest) UnmarshalBinary ¶

func (m *RequestCreateCollectionRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestCreateCollectionRequest) Validate ¶

func (m *RequestCreateCollectionRequest) Validate(formats strfmt.Registry) error

Validate validates this request create collection request

type RequestCreateCommentRequest ¶

type RequestCreateCommentRequest struct {

	// content
	Content string `json:"content,omitempty"`

	// tag usernames
	TagUsernames []string `json:"tag_usernames"`
}

RequestCreateCommentRequest request create comment request

swagger:model request.CreateCommentRequest

func (*RequestCreateCommentRequest) ContextValidate ¶

func (m *RequestCreateCommentRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request create comment request based on context it is used

func (*RequestCreateCommentRequest) MarshalBinary ¶

func (m *RequestCreateCommentRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestCreateCommentRequest) UnmarshalBinary ¶

func (m *RequestCreateCommentRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestCreateCommentRequest) Validate ¶

func (m *RequestCreateCommentRequest) Validate(formats strfmt.Registry) error

Validate validates this request create comment request

type RequestCreateCompetitionDiscussionRequest ¶

type RequestCreateCompetitionDiscussionRequest struct {

	// content
	// Required: true
	Content *string `json:"content"`

	// title
	// Required: true
	Title *string `json:"title"`
}

RequestCreateCompetitionDiscussionRequest request create competition discussion request

swagger:model request.CreateCompetitionDiscussionRequest

func (*RequestCreateCompetitionDiscussionRequest) ContextValidate ¶

ContextValidate validates this request create competition discussion request based on context it is used

func (*RequestCreateCompetitionDiscussionRequest) MarshalBinary ¶

func (m *RequestCreateCompetitionDiscussionRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestCreateCompetitionDiscussionRequest) UnmarshalBinary ¶

func (m *RequestCreateCompetitionDiscussionRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestCreateCompetitionDiscussionRequest) Validate ¶

Validate validates this request create competition discussion request

type RequestCreateCompetitionRequest ¶

type RequestCreateCompetitionRequest struct {

	// author id
	AuthorID string `json:"author_id,omitempty"`

	// category
	// Example: featured,research,getting-started,playground,community,analytics,simulations
	Category *string `json:"category,omitempty"`

	// code
	Code string `json:"code,omitempty"`

	// cover
	Cover string `json:"cover,omitempty"`

	// data
	Data string `json:"data,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// end date
	// Example: 2025-01-01 12:00:00
	EndDate string `json:"end_date,omitempty"`

	// final result mode
	// Example: auto,manual
	FinalResultMode *string `json:"final_result_mode,omitempty"`

	// max daily private submissions
	MaxDailyPrivateSubmissions int64 `json:"max_daily_private_submissions,omitempty"`

	// overview
	Overview string `json:"overview,omitempty"`

	// private leaderboard release date
	// Example: 2025-01-01 12:00:00
	PrivateLeaderboardReleaseDate string `json:"private_leaderboard_release_date,omitempty"`

	// prize distribution method
	// Example: manual,smart_contract
	// Enum: ["manual","smart_contract"]
	PrizeDistributionMethod *string `json:"prize_distribution_method,omitempty"`

	// registration deadline
	// Example: 2025-01-01 12:00:00
	RegistrationDeadline string `json:"registration_deadline,omitempty"`

	// reward type
	// Example: monetary,knowledge,swag,kudos
	RewardType *string `json:"reward_type,omitempty"`

	// rules
	Rules string `json:"rules,omitempty"`

	// start date
	// Example: 2025-01-01 12:00:00
	StartDate string `json:"start_date,omitempty"`

	// submission deadline
	// Example: 2025-01-01 12:00:00
	SubmissionDeadline string `json:"submission_deadline,omitempty"`

	// tags
	Tags []string `json:"tags"`

	// thumbnail
	Thumbnail string `json:"thumbnail,omitempty"`

	// time zone config
	TimeZoneConfig any `json:"time_zone_config,omitempty"`

	// title
	// Required: true
	Title *string `json:"title"`

	// total prize pool
	TotalPrizePool float64 `json:"total_prize_pool,omitempty"`

	// visibility
	Visibility *string `json:"visibility,omitempty"`
}

RequestCreateCompetitionRequest request create competition request

swagger:model request.CreateCompetitionRequest

func (*RequestCreateCompetitionRequest) ContextValidate ¶

func (m *RequestCreateCompetitionRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request create competition request based on context it is used

func (*RequestCreateCompetitionRequest) MarshalBinary ¶

func (m *RequestCreateCompetitionRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestCreateCompetitionRequest) UnmarshalBinary ¶

func (m *RequestCreateCompetitionRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestCreateCompetitionRequest) Validate ¶

Validate validates this request create competition request

type RequestCreateDatasetDiscussionRequest ¶

type RequestCreateDatasetDiscussionRequest struct {

	// content
	// Required: true
	Content *string `json:"content"`

	// title
	// Required: true
	Title *string `json:"title"`
}

RequestCreateDatasetDiscussionRequest request create dataset discussion request

swagger:model request.CreateDatasetDiscussionRequest

func (*RequestCreateDatasetDiscussionRequest) ContextValidate ¶

func (m *RequestCreateDatasetDiscussionRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request create dataset discussion request based on context it is used

func (*RequestCreateDatasetDiscussionRequest) MarshalBinary ¶

func (m *RequestCreateDatasetDiscussionRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestCreateDatasetDiscussionRequest) UnmarshalBinary ¶

func (m *RequestCreateDatasetDiscussionRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestCreateDatasetDiscussionRequest) Validate ¶

Validate validates this request create dataset discussion request

type RequestCreateDatasetRequest ¶

type RequestCreateDatasetRequest struct {

	// author id
	AuthorID *string `json:"author_id,omitempty"`

	// cover
	Cover string `json:"cover,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// language
	// Example: ["en","vi"]
	Language []string `json:"language"`

	// license
	// Required: true
	License *string `json:"license"`

	// name
	// Required: true
	Name *string `json:"name"`

	// pretty name
	PrettyName string `json:"pretty_name,omitempty"`

	// price
	Price float64 `json:"price,omitempty"`

	// size category
	SizeCategory string `json:"size_category,omitempty"`

	// tags
	// Example: ["art","medical"]
	Tags []string `json:"tags"`

	// task categories
	// Example: ["feature-extraction","text-to-video"]
	TaskCategories []string `json:"task_categories"`

	// thumbnail
	Thumbnail string `json:"thumbnail,omitempty"`

	// visibility
	// Required: true
	// Enum: ["public","private"]
	Visibility *string `json:"visibility"`
}

RequestCreateDatasetRequest request create dataset request

swagger:model request.CreateDatasetRequest

func (*RequestCreateDatasetRequest) ContextValidate ¶

func (m *RequestCreateDatasetRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request create dataset request based on context it is used

func (*RequestCreateDatasetRequest) MarshalBinary ¶

func (m *RequestCreateDatasetRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestCreateDatasetRequest) UnmarshalBinary ¶

func (m *RequestCreateDatasetRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestCreateDatasetRequest) Validate ¶

func (m *RequestCreateDatasetRequest) Validate(formats strfmt.Registry) error

Validate validates this request create dataset request

type RequestCreateDependencyLibRequest ¶

type RequestCreateDependencyLibRequest struct {

	// package name
	PackageName string `json:"package_name,omitempty"`

	// reason
	Reason string `json:"reason,omitempty"`

	// version
	Version string `json:"version,omitempty"`
}

RequestCreateDependencyLibRequest request create dependency lib request

swagger:model request.CreateDependencyLibRequest

func (*RequestCreateDependencyLibRequest) ContextValidate ¶

func (m *RequestCreateDependencyLibRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request create dependency lib request based on context it is used

func (*RequestCreateDependencyLibRequest) MarshalBinary ¶

func (m *RequestCreateDependencyLibRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestCreateDependencyLibRequest) UnmarshalBinary ¶

func (m *RequestCreateDependencyLibRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestCreateDependencyLibRequest) Validate ¶

Validate validates this request create dependency lib request

type RequestCreateModelDiscussionRequest ¶

type RequestCreateModelDiscussionRequest struct {

	// content
	// Required: true
	Content *string `json:"content"`

	// title
	// Required: true
	Title *string `json:"title"`
}

RequestCreateModelDiscussionRequest request create model discussion request

swagger:model request.CreateModelDiscussionRequest

func (*RequestCreateModelDiscussionRequest) ContextValidate ¶

func (m *RequestCreateModelDiscussionRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request create model discussion request based on context it is used

func (*RequestCreateModelDiscussionRequest) MarshalBinary ¶

func (m *RequestCreateModelDiscussionRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestCreateModelDiscussionRequest) UnmarshalBinary ¶

func (m *RequestCreateModelDiscussionRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestCreateModelDiscussionRequest) Validate ¶

Validate validates this request create model discussion request

type RequestCreateModelRequest ¶

type RequestCreateModelRequest struct {

	// author id
	AuthorID string `json:"author_id,omitempty"`

	// cover
	Cover string `json:"cover,omitempty"`

	// dependency id
	DependencyID string `json:"dependency_id,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// language
	// Example: ["en","vi"]
	Language []string `json:"language"`

	// library
	// Example: ["tf"]
	Library []string `json:"library"`

	// license
	// Required: true
	License *string `json:"license"`

	// name
	// Required: true
	Name *string `json:"name"`

	// pretty name
	PrettyName string `json:"pretty_name,omitempty"`

	// price
	Price float64 `json:"price,omitempty"`

	// task
	Task string `json:"task,omitempty"`

	// thumbnail
	Thumbnail string `json:"thumbnail,omitempty"`

	// visibility
	// Required: true
	// Enum: ["public","private"]
	Visibility *string `json:"visibility"`
}

RequestCreateModelRequest request create model request

swagger:model request.CreateModelRequest

func (*RequestCreateModelRequest) ContextValidate ¶

func (m *RequestCreateModelRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request create model request based on context it is used

func (*RequestCreateModelRequest) MarshalBinary ¶

func (m *RequestCreateModelRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestCreateModelRequest) UnmarshalBinary ¶

func (m *RequestCreateModelRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestCreateModelRequest) Validate ¶

func (m *RequestCreateModelRequest) Validate(formats strfmt.Registry) error

Validate validates this request create model request

type RequestCreateMultipleTimelinesRequest ¶

type RequestCreateMultipleTimelinesRequest struct {

	// competition id
	// Required: true
	CompetitionID *string `json:"competition_id"`

	// timelines
	Timelines []*ModelsLiteTimeline `json:"timelines"`
}

RequestCreateMultipleTimelinesRequest request create multiple timelines request

swagger:model request.CreateMultipleTimelinesRequest

func (*RequestCreateMultipleTimelinesRequest) ContextValidate ¶

func (m *RequestCreateMultipleTimelinesRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this request create multiple timelines request based on the context it is used

func (*RequestCreateMultipleTimelinesRequest) MarshalBinary ¶

func (m *RequestCreateMultipleTimelinesRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestCreateMultipleTimelinesRequest) UnmarshalBinary ¶

func (m *RequestCreateMultipleTimelinesRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestCreateMultipleTimelinesRequest) Validate ¶

Validate validates this request create multiple timelines request

type RequestCreateOrUpdateMultipleLeaderboardRewardRequest ¶

type RequestCreateOrUpdateMultipleLeaderboardRewardRequest struct {

	// competition id
	// Required: true
	CompetitionID *string `json:"competition_id"`

	// reason
	Reason string `json:"reason,omitempty"`

	// rewards
	Rewards []*ModelsLiteLeaderboardReward `json:"rewards"`
}

RequestCreateOrUpdateMultipleLeaderboardRewardRequest request create or update multiple leaderboard reward request

swagger:model request.CreateOrUpdateMultipleLeaderboardRewardRequest

func (*RequestCreateOrUpdateMultipleLeaderboardRewardRequest) ContextValidate ¶

ContextValidate validate this request create or update multiple leaderboard reward request based on the context it is used

func (*RequestCreateOrUpdateMultipleLeaderboardRewardRequest) MarshalBinary ¶

MarshalBinary interface implementation

func (*RequestCreateOrUpdateMultipleLeaderboardRewardRequest) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*RequestCreateOrUpdateMultipleLeaderboardRewardRequest) Validate ¶

Validate validates this request create or update multiple leaderboard reward request

type RequestCreateOrganizationRequest ¶

type RequestCreateOrganizationRequest struct {

	// Avatar is the avatar of the organization (optional)
	Avatar string `json:"avatar,omitempty"`

	// Bio is the full name of the organization (optional)
	Bio string `json:"bio,omitempty"`

	// FullName is the full name of the organization (optional)
	FullName string `json:"full_name,omitempty"`

	// GithubName is the github name of the organization (optional)
	GithubName string `json:"github_name,omitempty"`

	// HomePage is the home page of the organization (optional)
	HomePage string `json:"home_page,omitempty"`

	// Interests is the list of interests of the organization (optional)
	Interests string `json:"interests,omitempty"`

	// TwitterName is the twitter name of the organization (optional)
	TwitterName string `json:"twitter_name,omitempty"`

	// Type is the type of the organization (allow: company, university, classroom, non_profit, community) (required)
	// Required: true
	// Enum: ["company","university","classroom","non_profit","community"]
	Type *string `json:"type"`

	// Username is the username of the organization (required)
	// Required: true
	// Max Length: 30
	// Min Length: 6
	Username *string `json:"username"`

	// visibility
	// Enum: ["public","private"]
	Visibility string `json:"visibility,omitempty"`
}

RequestCreateOrganizationRequest request create organization request

swagger:model request.CreateOrganizationRequest

func (*RequestCreateOrganizationRequest) ContextValidate ¶

func (m *RequestCreateOrganizationRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request create organization request based on context it is used

func (*RequestCreateOrganizationRequest) MarshalBinary ¶

func (m *RequestCreateOrganizationRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestCreateOrganizationRequest) UnmarshalBinary ¶

func (m *RequestCreateOrganizationRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestCreateOrganizationRequest) Validate ¶

Validate validates this request create organization request

type RequestCreatePresignedURLRequest ¶

type RequestCreatePresignedURLRequest struct {

	// folder
	// Required: true
	// Enum: ["avatars","thumbnails","covers","samples","documents"]
	Folder *string `json:"folder"`

	// mime
	// Required: true
	Mime *string `json:"mime"`

	// name
	// Required: true
	Name *string `json:"name"`

	// org username
	OrgUsername string `json:"org_username,omitempty"`

	// size
	// Required: true
	// Minimum: 1
	Size *int64 `json:"size"`
}

RequestCreatePresignedURLRequest request create presigned Url request

swagger:model request.CreatePresignedUrlRequest

func (*RequestCreatePresignedURLRequest) ContextValidate ¶

func (m *RequestCreatePresignedURLRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request create presigned Url request based on context it is used

func (*RequestCreatePresignedURLRequest) MarshalBinary ¶

func (m *RequestCreatePresignedURLRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestCreatePresignedURLRequest) UnmarshalBinary ¶

func (m *RequestCreatePresignedURLRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestCreatePresignedURLRequest) Validate ¶

Validate validates this request create presigned Url request

type RequestCreatePublicKeyRequest ¶

type RequestCreatePublicKeyRequest struct {

	// Key is the ssh public key (required)
	// Required: true
	Key *string `json:"key"`

	// ReadOnly is the flag to indicate if the key is read only (default: false) (optional)
	ReadOnly bool `json:"read_only,omitempty"`

	// Title is the title of the key (required)
	// Required: true
	Title *string `json:"title"`
}

RequestCreatePublicKeyRequest request create public key request

swagger:model request.CreatePublicKeyRequest

func (*RequestCreatePublicKeyRequest) ContextValidate ¶

func (m *RequestCreatePublicKeyRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request create public key request based on context it is used

func (*RequestCreatePublicKeyRequest) MarshalBinary ¶

func (m *RequestCreatePublicKeyRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestCreatePublicKeyRequest) UnmarshalBinary ¶

func (m *RequestCreatePublicKeyRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestCreatePublicKeyRequest) Validate ¶

func (m *RequestCreatePublicKeyRequest) Validate(formats strfmt.Registry) error

Validate validates this request create public key request

type RequestCreateR2PresignedURLRequest ¶

type RequestCreateR2PresignedURLRequest struct {

	// name
	// Required: true
	Name *string `json:"name"`
}

RequestCreateR2PresignedURLRequest request create r2 presigned Url request

swagger:model request.CreateR2PresignedUrlRequest

func (*RequestCreateR2PresignedURLRequest) ContextValidate ¶

func (m *RequestCreateR2PresignedURLRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request create r2 presigned Url request based on context it is used

func (*RequestCreateR2PresignedURLRequest) MarshalBinary ¶

func (m *RequestCreateR2PresignedURLRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestCreateR2PresignedURLRequest) UnmarshalBinary ¶

func (m *RequestCreateR2PresignedURLRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestCreateR2PresignedURLRequest) Validate ¶

Validate validates this request create r2 presigned Url request

type RequestCreateRepositoryContentRequest ¶

type RequestCreateRepositoryContentRequest struct {

	// BranchName is the name of the branch (required)
	BranchName string `json:"branch_name,omitempty"`

	// Email is the email of the committer (optional) (default: author's email)
	Email string `json:"email,omitempty"`

	// Files is the list of files to be created (required) (min:1, max:5, max file size: 50MB)
	Files []*ModelsFile `json:"files"`

	// Commit message is the commit message (required)
	Message string `json:"message,omitempty"`

	// NewBranchName is the name of the new branch (default usually master) (optional)
	NewBranchName string `json:"new_branch_name,omitempty"`

	// repo type
	RepoType string `json:"repo_type,omitempty"`

	// Signoff is the flag to indicate if the commit is signed off (default: false) (optional)
	Signoff bool `json:"signoff,omitempty"`

	// Timestamp is the timestamp of the commit (default: now) (optional)
	Timestamp string `json:"timestamp,omitempty"`
}

RequestCreateRepositoryContentRequest request create repository content request

swagger:model request.CreateRepositoryContentRequest

func (*RequestCreateRepositoryContentRequest) ContextValidate ¶

func (m *RequestCreateRepositoryContentRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this request create repository content request based on the context it is used

func (*RequestCreateRepositoryContentRequest) MarshalBinary ¶

func (m *RequestCreateRepositoryContentRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestCreateRepositoryContentRequest) UnmarshalBinary ¶

func (m *RequestCreateRepositoryContentRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestCreateRepositoryContentRequest) Validate ¶

Validate validates this request create repository content request

type RequestCreateTaskReviewsRequest ¶

type RequestCreateTaskReviewsRequest struct {

	// description
	Description string `json:"description,omitempty"`

	// point
	Point int64 `json:"point,omitempty"`

	// task id
	TaskID string `json:"task_id,omitempty"`
}

RequestCreateTaskReviewsRequest request create task reviews request

swagger:model request.CreateTaskReviewsRequest

func (*RequestCreateTaskReviewsRequest) ContextValidate ¶

func (m *RequestCreateTaskReviewsRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request create task reviews request based on context it is used

func (*RequestCreateTaskReviewsRequest) MarshalBinary ¶

func (m *RequestCreateTaskReviewsRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestCreateTaskReviewsRequest) UnmarshalBinary ¶

func (m *RequestCreateTaskReviewsRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestCreateTaskReviewsRequest) Validate ¶

Validate validates this request create task reviews request

type RequestDeleteAPIKeyRequest ¶

type RequestDeleteAPIKeyRequest struct {

	// org username
	OrgUsername string `json:"org_username,omitempty"`
}

RequestDeleteAPIKeyRequest request delete Api key request

swagger:model request.DeleteApiKeyRequest

func (*RequestDeleteAPIKeyRequest) ContextValidate ¶

func (m *RequestDeleteAPIKeyRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request delete Api key request based on context it is used

func (*RequestDeleteAPIKeyRequest) MarshalBinary ¶

func (m *RequestDeleteAPIKeyRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestDeleteAPIKeyRequest) UnmarshalBinary ¶

func (m *RequestDeleteAPIKeyRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestDeleteAPIKeyRequest) Validate ¶

func (m *RequestDeleteAPIKeyRequest) Validate(formats strfmt.Registry) error

Validate validates this request delete Api key request

type RequestDeleteDatasetRequest ¶

type RequestDeleteDatasetRequest struct {

	// repository name
	RepositoryName string `json:"repository_name,omitempty"`
}

RequestDeleteDatasetRequest request delete dataset request

swagger:model request.DeleteDatasetRequest

func (*RequestDeleteDatasetRequest) ContextValidate ¶

func (m *RequestDeleteDatasetRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request delete dataset request based on context it is used

func (*RequestDeleteDatasetRequest) MarshalBinary ¶

func (m *RequestDeleteDatasetRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestDeleteDatasetRequest) UnmarshalBinary ¶

func (m *RequestDeleteDatasetRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestDeleteDatasetRequest) Validate ¶

func (m *RequestDeleteDatasetRequest) Validate(formats strfmt.Registry) error

Validate validates this request delete dataset request

type RequestDeleteModelRequest ¶

type RequestDeleteModelRequest struct {

	// name
	// Required: true
	Name *string `json:"name"`
}

RequestDeleteModelRequest request delete model request

swagger:model request.DeleteModelRequest

func (*RequestDeleteModelRequest) ContextValidate ¶

func (m *RequestDeleteModelRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request delete model request based on context it is used

func (*RequestDeleteModelRequest) MarshalBinary ¶

func (m *RequestDeleteModelRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestDeleteModelRequest) UnmarshalBinary ¶

func (m *RequestDeleteModelRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestDeleteModelRequest) Validate ¶

func (m *RequestDeleteModelRequest) Validate(formats strfmt.Registry) error

Validate validates this request delete model request

type RequestDeleteNotificationByIdsRequest ¶

type RequestDeleteNotificationByIdsRequest struct {

	// ids
	// Required: true
	Ids []string `json:"ids"`
}

RequestDeleteNotificationByIdsRequest request delete notification by ids request

swagger:model request.DeleteNotificationByIdsRequest

func (*RequestDeleteNotificationByIdsRequest) ContextValidate ¶

func (m *RequestDeleteNotificationByIdsRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request delete notification by ids request based on context it is used

func (*RequestDeleteNotificationByIdsRequest) MarshalBinary ¶

func (m *RequestDeleteNotificationByIdsRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestDeleteNotificationByIdsRequest) UnmarshalBinary ¶

func (m *RequestDeleteNotificationByIdsRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestDeleteNotificationByIdsRequest) Validate ¶

Validate validates this request delete notification by ids request

type RequestDeleteRepositoryContentRequest ¶

type RequestDeleteRepositoryContentRequest struct {

	// BranchName is the name of the branch (required)
	// Required: true
	BranchName *string `json:"branch_name"`

	// Commit message is the commit message (required)
	// Required: true
	Message *string `json:"message"`

	// NewBranchName is the name of the new branch (default usually master) (optional)
	NewBranchName string `json:"new_branch_name,omitempty"`

	// Path is the path of the file to be deleted (optional)
	Path string `json:"path,omitempty"`

	// Sha is the sha of the file to be deleted (required)
	// Required: true
	Sha *string `json:"sha"`

	// Signoff is the flag to indicate if the commit is signed off (default: false) (optional)
	Signoff bool `json:"signoff,omitempty"`
}

RequestDeleteRepositoryContentRequest request delete repository content request

swagger:model request.DeleteRepositoryContentRequest

func (*RequestDeleteRepositoryContentRequest) ContextValidate ¶

func (m *RequestDeleteRepositoryContentRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request delete repository content request based on context it is used

func (*RequestDeleteRepositoryContentRequest) MarshalBinary ¶

func (m *RequestDeleteRepositoryContentRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestDeleteRepositoryContentRequest) UnmarshalBinary ¶

func (m *RequestDeleteRepositoryContentRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestDeleteRepositoryContentRequest) Validate ¶

Validate validates this request delete repository content request

type RequestDeleteURLRequest ¶

type RequestDeleteURLRequest struct {

	// url
	// Required: true
	URL *string `json:"url"`
}

RequestDeleteURLRequest request delete Url request

swagger:model request.DeleteUrlRequest

func (*RequestDeleteURLRequest) ContextValidate ¶

func (m *RequestDeleteURLRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request delete Url request based on context it is used

func (*RequestDeleteURLRequest) MarshalBinary ¶

func (m *RequestDeleteURLRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestDeleteURLRequest) UnmarshalBinary ¶

func (m *RequestDeleteURLRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestDeleteURLRequest) Validate ¶

func (m *RequestDeleteURLRequest) Validate(formats strfmt.Registry) error

Validate validates this request delete Url request

type RequestDistributeTaskRequest ¶

type RequestDistributeTaskRequest struct {

	// files
	Files []any `json:"files"`

	// input params
	InputParams any `json:"input_params,omitempty"`

	// model id
	ModelID string `json:"model_id,omitempty"`
}

RequestDistributeTaskRequest request distribute task request

swagger:model request.DistributeTaskRequest

func (*RequestDistributeTaskRequest) ContextValidate ¶

func (m *RequestDistributeTaskRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request distribute task request based on context it is used

func (*RequestDistributeTaskRequest) MarshalBinary ¶

func (m *RequestDistributeTaskRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestDistributeTaskRequest) UnmarshalBinary ¶

func (m *RequestDistributeTaskRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestDistributeTaskRequest) Validate ¶

func (m *RequestDistributeTaskRequest) Validate(formats strfmt.Registry) error

Validate validates this request distribute task request

type RequestDistributeTaskWithAPIKeyRequest ¶

type RequestDistributeTaskWithAPIKeyRequest any

RequestDistributeTaskWithAPIKeyRequest request distribute task with Api key request

swagger:model request.DistributeTaskWithApiKeyRequest

type RequestDownloadRepoZipRequest ¶

type RequestDownloadRepoZipRequest struct {

	// Ref is the ref of the commit, name of the branch, default: main (optional)
	Ref string `json:"ref,omitempty"`

	// repo type
	RepoType string `json:"repoType,omitempty"`

	// ZipType is the type of the zip file (optional)
	ZipType string `json:"zipType,omitempty"`
}

RequestDownloadRepoZipRequest request download repo zip request

swagger:model request.DownloadRepoZipRequest

func (*RequestDownloadRepoZipRequest) ContextValidate ¶

func (m *RequestDownloadRepoZipRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request download repo zip request based on context it is used

func (*RequestDownloadRepoZipRequest) MarshalBinary ¶

func (m *RequestDownloadRepoZipRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestDownloadRepoZipRequest) UnmarshalBinary ¶

func (m *RequestDownloadRepoZipRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestDownloadRepoZipRequest) Validate ¶

func (m *RequestDownloadRepoZipRequest) Validate(formats strfmt.Registry) error

Validate validates this request download repo zip request

type RequestEstimateCostRequest ¶

type RequestEstimateCostRequest struct {

	// total size
	// Required: true
	TotalSize *float64 `json:"total_size"`
}

RequestEstimateCostRequest request estimate cost request

swagger:model request.EstimateCostRequest

func (*RequestEstimateCostRequest) ContextValidate ¶

func (m *RequestEstimateCostRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request estimate cost request based on context it is used

func (*RequestEstimateCostRequest) MarshalBinary ¶

func (m *RequestEstimateCostRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestEstimateCostRequest) UnmarshalBinary ¶

func (m *RequestEstimateCostRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestEstimateCostRequest) Validate ¶

func (m *RequestEstimateCostRequest) Validate(formats strfmt.Registry) error

Validate validates this request estimate cost request

type RequestEstimateCostToEvaluateModelRequest ¶

type RequestEstimateCostToEvaluateModelRequest struct {

	// commit hash
	CommitHash string `json:"commit_hash,omitempty"`

	// competition id
	// Required: true
	CompetitionID *string `json:"competition_id"`

	// model id
	// Required: true
	ModelID *string `json:"model_id"`
}

RequestEstimateCostToEvaluateModelRequest request estimate cost to evaluate model request

swagger:model request.EstimateCostToEvaluateModelRequest

func (*RequestEstimateCostToEvaluateModelRequest) ContextValidate ¶

ContextValidate validates this request estimate cost to evaluate model request based on context it is used

func (*RequestEstimateCostToEvaluateModelRequest) MarshalBinary ¶

func (m *RequestEstimateCostToEvaluateModelRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestEstimateCostToEvaluateModelRequest) UnmarshalBinary ¶

func (m *RequestEstimateCostToEvaluateModelRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestEstimateCostToEvaluateModelRequest) Validate ¶

Validate validates this request estimate cost to evaluate model request

type RequestEvaluateViolationInCompetitionRequest ¶

type RequestEvaluateViolationInCompetitionRequest struct {

	// reason
	Reason string `json:"reason,omitempty"`

	// user ids
	UserIds []string `json:"user_ids"`
}

RequestEvaluateViolationInCompetitionRequest request evaluate violation in competition request

swagger:model request.EvaluateViolationInCompetitionRequest

func (*RequestEvaluateViolationInCompetitionRequest) ContextValidate ¶

ContextValidate validates this request evaluate violation in competition request based on context it is used

func (*RequestEvaluateViolationInCompetitionRequest) MarshalBinary ¶

MarshalBinary interface implementation

func (*RequestEvaluateViolationInCompetitionRequest) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*RequestEvaluateViolationInCompetitionRequest) Validate ¶

Validate validates this request evaluate violation in competition request

type RequestGetAPIKeyByIDRequest ¶

type RequestGetAPIKeyByIDRequest struct {

	// from
	// Example: 2023-05-07 15:04:05
	From string `json:"from,omitempty"`

	// org username
	OrgUsername string `json:"org_username,omitempty"`

	// to
	// Example: 2023-05-07 15:04:05
	To string `json:"to,omitempty"`
}

RequestGetAPIKeyByIDRequest request get Api key by Id request

swagger:model request.GetApiKeyByIdRequest

func (*RequestGetAPIKeyByIDRequest) ContextValidate ¶

func (m *RequestGetAPIKeyByIDRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request get Api key by Id request based on context it is used

func (*RequestGetAPIKeyByIDRequest) MarshalBinary ¶

func (m *RequestGetAPIKeyByIDRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestGetAPIKeyByIDRequest) UnmarshalBinary ¶

func (m *RequestGetAPIKeyByIDRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestGetAPIKeyByIDRequest) Validate ¶

func (m *RequestGetAPIKeyByIDRequest) Validate(formats strfmt.Registry) error

Validate validates this request get Api key by Id request

type RequestGetAPIKeyStatisticsByModelIDRequest ¶

type RequestGetAPIKeyStatisticsByModelIDRequest struct {

	// from
	// Example: 2023-05-07 15:04:05
	From string `json:"from,omitempty"`

	// to
	// Example: 2023-05-07 15:04:05
	To string `json:"to,omitempty"`
}

RequestGetAPIKeyStatisticsByModelIDRequest request get Api key statistics by model Id request

swagger:model request.GetApiKeyStatisticsByModelIdRequest

func (*RequestGetAPIKeyStatisticsByModelIDRequest) ContextValidate ¶

ContextValidate validates this request get Api key statistics by model Id request based on context it is used

func (*RequestGetAPIKeyStatisticsByModelIDRequest) MarshalBinary ¶

func (m *RequestGetAPIKeyStatisticsByModelIDRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestGetAPIKeyStatisticsByModelIDRequest) UnmarshalBinary ¶

func (m *RequestGetAPIKeyStatisticsByModelIDRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestGetAPIKeyStatisticsByModelIDRequest) Validate ¶

Validate validates this request get Api key statistics by model Id request

type RequestGetAPIKeyStatisticsByUserIDRequest ¶

type RequestGetAPIKeyStatisticsByUserIDRequest struct {

	// from
	// Example: 2023-05-07 15:04:05
	From string `json:"from,omitempty"`

	// to
	// Example: 2023-05-07 15:04:05
	To string `json:"to,omitempty"`
}

RequestGetAPIKeyStatisticsByUserIDRequest request get Api key statistics by user Id request

swagger:model request.GetApiKeyStatisticsByUserIdRequest

func (*RequestGetAPIKeyStatisticsByUserIDRequest) ContextValidate ¶

ContextValidate validates this request get Api key statistics by user Id request based on context it is used

func (*RequestGetAPIKeyStatisticsByUserIDRequest) MarshalBinary ¶

func (m *RequestGetAPIKeyStatisticsByUserIDRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestGetAPIKeyStatisticsByUserIDRequest) UnmarshalBinary ¶

func (m *RequestGetAPIKeyStatisticsByUserIDRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestGetAPIKeyStatisticsByUserIDRequest) Validate ¶

Validate validates this request get Api key statistics by user Id request

type RequestGetAPIPackageListRequest ¶

type RequestGetAPIPackageListRequest struct {

	// limit
	// Maximum: 100
	Limit int64 `json:"limit,omitempty"`

	// offset
	// Minimum: 0
	Offset *int64 `json:"offset,omitempty"`
}

RequestGetAPIPackageListRequest request get Api package list request

swagger:model request.GetApiPackageListRequest

func (*RequestGetAPIPackageListRequest) ContextValidate ¶

func (m *RequestGetAPIPackageListRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request get Api package list request based on context it is used

func (*RequestGetAPIPackageListRequest) MarshalBinary ¶

func (m *RequestGetAPIPackageListRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestGetAPIPackageListRequest) UnmarshalBinary ¶

func (m *RequestGetAPIPackageListRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestGetAPIPackageListRequest) Validate ¶

Validate validates this request get Api package list request

type RequestGetCompetitionListRequest ¶

type RequestGetCompetitionListRequest struct {

	// category
	// Example: featured,research,getting-started,playground,community,analytics,simulations
	Category string `json:"category,omitempty"`

	// following
	Following *bool `json:"following,omitempty"`

	// limit
	// Minimum: 0
	Limit *int64 `json:"limit,omitempty"`

	// offset
	// Minimum: 0
	Offset *int64 `json:"offset,omitempty"`

	// reward type
	// Example: monetary,knowledge,swag,kudos
	RewardType string `json:"reward_type,omitempty"`

	// role
	// Example: host,participant
	Role string `json:"role,omitempty"`

	// search
	Search string `json:"search,omitempty"`

	// sort by
	// Example: reward,created_at,created_oldest,hotness,total_team,closing_soon,recently_completed
	// Enum: ["reward","created_at","created_oldest","hotness","total_team","closing_soon","recently_completed"]
	SortBy string `json:"sort_by,omitempty"`

	// status
	// Example: active,completed,entered,spotlight
	Status string `json:"status,omitempty"`

	// tags
	Tags []string `json:"tags"`
}

RequestGetCompetitionListRequest request get competition list request

swagger:model request.GetCompetitionListRequest

func (*RequestGetCompetitionListRequest) ContextValidate ¶

func (m *RequestGetCompetitionListRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request get competition list request based on context it is used

func (*RequestGetCompetitionListRequest) MarshalBinary ¶

func (m *RequestGetCompetitionListRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestGetCompetitionListRequest) UnmarshalBinary ¶

func (m *RequestGetCompetitionListRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestGetCompetitionListRequest) Validate ¶

Validate validates this request get competition list request

type RequestGetDatasetListByAuthorRequest ¶

type RequestGetDatasetListByAuthorRequest struct {

	// language
	Language []string `json:"language"`

	// license
	License string `json:"license,omitempty"`

	// limit
	// Maximum: 100
	Limit int64 `json:"limit,omitempty"`

	// offset
	// Minimum: 0
	Offset *int64 `json:"offset,omitempty"`

	// search
	Search string `json:"search,omitempty"`

	// size category
	SizeCategory string `json:"size_category,omitempty"`

	// sort
	// Enum: ["trending","likes","downloads","created","created_oldest","modified"]
	Sort string `json:"sort,omitempty"`

	// tag type
	TagType string `json:"tag_type,omitempty"`

	// tags
	Tags []string `json:"tags"`

	// task categories
	TaskCategories []string `json:"task_categories"`
}

RequestGetDatasetListByAuthorRequest request get dataset list by author request

swagger:model request.GetDatasetListByAuthorRequest

func (*RequestGetDatasetListByAuthorRequest) ContextValidate ¶

func (m *RequestGetDatasetListByAuthorRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request get dataset list by author request based on context it is used

func (*RequestGetDatasetListByAuthorRequest) MarshalBinary ¶

func (m *RequestGetDatasetListByAuthorRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestGetDatasetListByAuthorRequest) UnmarshalBinary ¶

func (m *RequestGetDatasetListByAuthorRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestGetDatasetListByAuthorRequest) Validate ¶

Validate validates this request get dataset list by author request

type RequestGetDatasetListRequest ¶

type RequestGetDatasetListRequest struct {

	// filter by
	// Enum: ["public","community","author","official","permission"]
	FilterBy string `json:"filter_by,omitempty"`

	// language
	Language []string `json:"language"`

	// license
	License string `json:"license,omitempty"`

	// limit
	// Maximum: 100
	Limit int64 `json:"limit,omitempty"`

	// offset
	// Minimum: 0
	Offset *int64 `json:"offset,omitempty"`

	// search
	Search string `json:"search,omitempty"`

	// size category
	SizeCategory string `json:"size_category,omitempty"`

	// sort
	// Enum: ["trending","likes","downloads","created","created_oldest","modified"]
	Sort string `json:"sort,omitempty"`

	// tag type
	TagType string `json:"tag_type,omitempty"`

	// tags
	Tags []string `json:"tags"`

	// task categories
	TaskCategories []string `json:"task_categories"`
}

RequestGetDatasetListRequest request get dataset list request

swagger:model request.GetDatasetListRequest

func (*RequestGetDatasetListRequest) ContextValidate ¶

func (m *RequestGetDatasetListRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request get dataset list request based on context it is used

func (*RequestGetDatasetListRequest) MarshalBinary ¶

func (m *RequestGetDatasetListRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestGetDatasetListRequest) UnmarshalBinary ¶

func (m *RequestGetDatasetListRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestGetDatasetListRequest) Validate ¶

func (m *RequestGetDatasetListRequest) Validate(formats strfmt.Registry) error

Validate validates this request get dataset list request

type RequestGetLinkEmailCodeRequest ¶

type RequestGetLinkEmailCodeRequest struct {

	// email
	Email string `json:"email,omitempty"`

	// password
	// Max Length: 32
	// Min Length: 8
	Password string `json:"password,omitempty"`

	// Username is the username of the user (required)
	// Required: true
	Username *string `json:"username"`
}

RequestGetLinkEmailCodeRequest request get link email code request

swagger:model request.GetLinkEmailCodeRequest

func (*RequestGetLinkEmailCodeRequest) ContextValidate ¶

func (m *RequestGetLinkEmailCodeRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request get link email code request based on context it is used

func (*RequestGetLinkEmailCodeRequest) MarshalBinary ¶

func (m *RequestGetLinkEmailCodeRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestGetLinkEmailCodeRequest) UnmarshalBinary ¶

func (m *RequestGetLinkEmailCodeRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestGetLinkEmailCodeRequest) Validate ¶

func (m *RequestGetLinkEmailCodeRequest) Validate(formats strfmt.Registry) error

Validate validates this request get link email code request

type RequestGetListCollectionByUsernameRequest ¶

type RequestGetListCollectionByUsernameRequest struct {

	// limit
	Limit *int64 `json:"limit,omitempty"`

	// offset
	Offset int64 `json:"offset,omitempty"`

	// search
	Search string `json:"search,omitempty"`

	// sort
	// Enum: ["trending","votes","updated","oldest"]
	Sort string `json:"sort,omitempty"`
}

RequestGetListCollectionByUsernameRequest request get list collection by username request

swagger:model request.GetListCollectionByUsernameRequest

func (*RequestGetListCollectionByUsernameRequest) ContextValidate ¶

ContextValidate validates this request get list collection by username request based on context it is used

func (*RequestGetListCollectionByUsernameRequest) MarshalBinary ¶

func (m *RequestGetListCollectionByUsernameRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestGetListCollectionByUsernameRequest) UnmarshalBinary ¶

func (m *RequestGetListCollectionByUsernameRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestGetListCollectionByUsernameRequest) Validate ¶

Validate validates this request get list collection by username request

type RequestGetListCollectionRequest ¶

type RequestGetListCollectionRequest struct {

	// filter
	// Enum: ["public","community","author"]
	Filter *string `json:"filter,omitempty"`

	// limit
	Limit *int64 `json:"limit,omitempty"`

	// offset
	Offset int64 `json:"offset,omitempty"`

	// search
	Search string `json:"search,omitempty"`

	// sort
	// Enum: ["trending","votes","updated","oldest"]
	Sort string `json:"sort,omitempty"`
}

RequestGetListCollectionRequest request get list collection request

swagger:model request.GetListCollectionRequest

func (*RequestGetListCollectionRequest) ContextValidate ¶

func (m *RequestGetListCollectionRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request get list collection request based on context it is used

func (*RequestGetListCollectionRequest) MarshalBinary ¶

func (m *RequestGetListCollectionRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestGetListCollectionRequest) UnmarshalBinary ¶

func (m *RequestGetListCollectionRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestGetListCollectionRequest) Validate ¶

Validate validates this request get list collection request

type RequestGetListOrgDepositHistoryByOwnerRequest ¶

type RequestGetListOrgDepositHistoryByOwnerRequest struct {

	// limit
	// Maximum: 100
	Limit int64 `json:"limit,omitempty"`

	// offset
	// Minimum: 0
	Offset *int64 `json:"offset,omitempty"`
}

RequestGetListOrgDepositHistoryByOwnerRequest request get list org deposit history by owner request

swagger:model request.GetListOrgDepositHistoryByOwnerRequest

func (*RequestGetListOrgDepositHistoryByOwnerRequest) ContextValidate ¶

ContextValidate validates this request get list org deposit history by owner request based on context it is used

func (*RequestGetListOrgDepositHistoryByOwnerRequest) MarshalBinary ¶

MarshalBinary interface implementation

func (*RequestGetListOrgDepositHistoryByOwnerRequest) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*RequestGetListOrgDepositHistoryByOwnerRequest) Validate ¶

Validate validates this request get list org deposit history by owner request

type RequestGetListOrgRecentTransactionByOwnerRequest ¶

type RequestGetListOrgRecentTransactionByOwnerRequest struct {

	// from
	// Example: 2023-05-07 15:04:05
	From string `json:"from,omitempty"`

	// limit
	// Maximum: 100
	Limit int64 `json:"limit,omitempty"`

	// offset
	// Minimum: 0
	Offset *int64 `json:"offset,omitempty"`

	// to
	// Example: 2023-05-07 15:04:05
	To string `json:"to,omitempty"`

	// type
	Type *string `json:"type,omitempty"`
}

RequestGetListOrgRecentTransactionByOwnerRequest request get list org recent transaction by owner request

swagger:model request.GetListOrgRecentTransactionByOwnerRequest

func (*RequestGetListOrgRecentTransactionByOwnerRequest) ContextValidate ¶

ContextValidate validates this request get list org recent transaction by owner request based on context it is used

func (*RequestGetListOrgRecentTransactionByOwnerRequest) MarshalBinary ¶

MarshalBinary interface implementation

func (*RequestGetListOrgRecentTransactionByOwnerRequest) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*RequestGetListOrgRecentTransactionByOwnerRequest) Validate ¶

Validate validates this request get list org recent transaction by owner request

type RequestGetListOrgTransactionHistoryByOwnerRequest ¶

type RequestGetListOrgTransactionHistoryByOwnerRequest struct {

	// limit
	// Maximum: 100
	Limit int64 `json:"limit,omitempty"`

	// offset
	// Minimum: 0
	Offset *int64 `json:"offset,omitempty"`

	// type
	Type string `json:"type,omitempty"`
}

RequestGetListOrgTransactionHistoryByOwnerRequest request get list org transaction history by owner request

swagger:model request.GetListOrgTransactionHistoryByOwnerRequest

func (*RequestGetListOrgTransactionHistoryByOwnerRequest) ContextValidate ¶

ContextValidate validates this request get list org transaction history by owner request based on context it is used

func (*RequestGetListOrgTransactionHistoryByOwnerRequest) MarshalBinary ¶

MarshalBinary interface implementation

func (*RequestGetListOrgTransactionHistoryByOwnerRequest) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*RequestGetListOrgTransactionHistoryByOwnerRequest) Validate ¶

Validate validates this request get list org transaction history by owner request

type RequestGetListOrgWithdrawalHistoryByOwnerRequest ¶

type RequestGetListOrgWithdrawalHistoryByOwnerRequest struct {

	// limit
	// Maximum: 100
	Limit int64 `json:"limit,omitempty"`

	// offset
	// Minimum: 0
	Offset *int64 `json:"offset,omitempty"`
}

RequestGetListOrgWithdrawalHistoryByOwnerRequest request get list org withdrawal history by owner request

swagger:model request.GetListOrgWithdrawalHistoryByOwnerRequest

func (*RequestGetListOrgWithdrawalHistoryByOwnerRequest) ContextValidate ¶

ContextValidate validates this request get list org withdrawal history by owner request based on context it is used

func (*RequestGetListOrgWithdrawalHistoryByOwnerRequest) MarshalBinary ¶

MarshalBinary interface implementation

func (*RequestGetListOrgWithdrawalHistoryByOwnerRequest) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*RequestGetListOrgWithdrawalHistoryByOwnerRequest) Validate ¶

Validate validates this request get list org withdrawal history by owner request

type RequestGetListRecentTransactionByUserRequest ¶

type RequestGetListRecentTransactionByUserRequest struct {

	// from
	// Example: 2023-05-07 15:04:05
	From string `json:"from,omitempty"`

	// limit
	// Maximum: 100
	Limit int64 `json:"limit,omitempty"`

	// offset
	// Minimum: 0
	Offset *int64 `json:"offset,omitempty"`

	// to
	// Example: 2023-05-07 15:04:05
	To string `json:"to,omitempty"`

	// type
	Type *string `json:"type,omitempty"`
}

RequestGetListRecentTransactionByUserRequest request get list recent transaction by user request

swagger:model request.GetListRecentTransactionByUserRequest

func (*RequestGetListRecentTransactionByUserRequest) ContextValidate ¶

ContextValidate validates this request get list recent transaction by user request based on context it is used

func (*RequestGetListRecentTransactionByUserRequest) MarshalBinary ¶

MarshalBinary interface implementation

func (*RequestGetListRecentTransactionByUserRequest) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*RequestGetListRecentTransactionByUserRequest) Validate ¶

Validate validates this request get list recent transaction by user request

type RequestGetListUserTrainingTaskRequest ¶

type RequestGetListUserTrainingTaskRequest struct {

	// limit
	// Maximum: 100
	Limit int64 `json:"limit,omitempty"`

	// offset
	// Minimum: 0
	Offset *int64 `json:"offset,omitempty"`
}

RequestGetListUserTrainingTaskRequest request get list user training task request

swagger:model request.GetListUserTrainingTaskRequest

func (*RequestGetListUserTrainingTaskRequest) ContextValidate ¶

func (m *RequestGetListUserTrainingTaskRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request get list user training task request based on context it is used

func (*RequestGetListUserTrainingTaskRequest) MarshalBinary ¶

func (m *RequestGetListUserTrainingTaskRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestGetListUserTrainingTaskRequest) UnmarshalBinary ¶

func (m *RequestGetListUserTrainingTaskRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestGetListUserTrainingTaskRequest) Validate ¶

Validate validates this request get list user training task request

type RequestGetModelListByAuthorRequest ¶

type RequestGetModelListByAuthorRequest struct {

	// language
	Language []string `json:"language"`

	// library
	Library []string `json:"library"`

	// license
	License string `json:"license,omitempty"`

	// limit
	Limit *int64 `json:"limit,omitempty"`

	// offset
	Offset int64 `json:"offset,omitempty"`

	// search
	Search string `json:"search,omitempty"`

	// sort
	// Enum: ["trending","likes","downloads","created","created_oldest","modified","name","size"]
	Sort string `json:"sort,omitempty"`

	// tag type
	TagType string `json:"tag_type,omitempty"`

	// task
	Task string `json:"task,omitempty"`
}

RequestGetModelListByAuthorRequest request get model list by author request

swagger:model request.GetModelListByAuthorRequest

func (*RequestGetModelListByAuthorRequest) ContextValidate ¶

func (m *RequestGetModelListByAuthorRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request get model list by author request based on context it is used

func (*RequestGetModelListByAuthorRequest) MarshalBinary ¶

func (m *RequestGetModelListByAuthorRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestGetModelListByAuthorRequest) UnmarshalBinary ¶

func (m *RequestGetModelListByAuthorRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestGetModelListByAuthorRequest) Validate ¶

Validate validates this request get model list by author request

type RequestGetModelListRequest ¶

type RequestGetModelListRequest struct {

	// filter by
	// Enum: ["public","community","author","official","permission","playground"]
	FilterBy string `json:"filter_by,omitempty"`

	// language
	Language []string `json:"language"`

	// library
	Library []string `json:"library"`

	// license
	License string `json:"license,omitempty"`

	// limit
	Limit *int64 `json:"limit,omitempty"`

	// offset
	Offset int64 `json:"offset,omitempty"`

	// search
	Search string `json:"search,omitempty"`

	// sort
	// Enum: ["trending","likes","downloads","created","created_oldest","modified","name","size"]
	Sort string `json:"sort,omitempty"`

	// tag type
	TagType string `json:"tag_type,omitempty"`

	// task
	Task string `json:"task,omitempty"`
}

RequestGetModelListRequest request get model list request

swagger:model request.GetModelListRequest

func (*RequestGetModelListRequest) ContextValidate ¶

func (m *RequestGetModelListRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request get model list request based on context it is used

func (*RequestGetModelListRequest) MarshalBinary ¶

func (m *RequestGetModelListRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestGetModelListRequest) UnmarshalBinary ¶

func (m *RequestGetModelListRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestGetModelListRequest) Validate ¶

func (m *RequestGetModelListRequest) Validate(formats strfmt.Registry) error

Validate validates this request get model list request

type RequestGetOrgTransactionAnalyticsByOwnerRequest ¶

type RequestGetOrgTransactionAnalyticsByOwnerRequest struct {

	// from
	// Example: 2023-05-07 15:04:05
	From string `json:"from,omitempty"`

	// to
	// Example: 2023-05-07 15:04:05
	To string `json:"to,omitempty"`
}

RequestGetOrgTransactionAnalyticsByOwnerRequest request get org transaction analytics by owner request

swagger:model request.GetOrgTransactionAnalyticsByOwnerRequest

func (*RequestGetOrgTransactionAnalyticsByOwnerRequest) ContextValidate ¶

ContextValidate validates this request get org transaction analytics by owner request based on context it is used

func (*RequestGetOrgTransactionAnalyticsByOwnerRequest) MarshalBinary ¶

MarshalBinary interface implementation

func (*RequestGetOrgTransactionAnalyticsByOwnerRequest) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*RequestGetOrgTransactionAnalyticsByOwnerRequest) Validate ¶

Validate validates this request get org transaction analytics by owner request

type RequestGetOrganizationSpendingCostStatisticsRequest ¶

type RequestGetOrganizationSpendingCostStatisticsRequest struct {

	// from
	// Example: 2023-05-07 15:04:05
	From string `json:"from,omitempty"`

	// to
	// Example: 2023-05-07 15:04:05
	To string `json:"to,omitempty"`
}

RequestGetOrganizationSpendingCostStatisticsRequest request get organization spending cost statistics request

swagger:model request.GetOrganizationSpendingCostStatisticsRequest

func (*RequestGetOrganizationSpendingCostStatisticsRequest) ContextValidate ¶

ContextValidate validates this request get organization spending cost statistics request based on context it is used

func (*RequestGetOrganizationSpendingCostStatisticsRequest) MarshalBinary ¶

MarshalBinary interface implementation

func (*RequestGetOrganizationSpendingCostStatisticsRequest) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*RequestGetOrganizationSpendingCostStatisticsRequest) Validate ¶

Validate validates this request get organization spending cost statistics request

type RequestGetTaskReviewByTaskIDRequest ¶

type RequestGetTaskReviewByTaskIDRequest any

RequestGetTaskReviewByTaskIDRequest request get task review by task Id request

swagger:model request.GetTaskReviewByTaskIdRequest

type RequestGetTransactionAnalyticsRequest ¶

type RequestGetTransactionAnalyticsRequest struct {

	// from
	// Example: 2023-05-07 15:04:05
	From string `json:"from,omitempty"`

	// to
	// Example: 2024-05-07 15:04:05
	To string `json:"to,omitempty"`
}

RequestGetTransactionAnalyticsRequest request get transaction analytics request

swagger:model request.GetTransactionAnalyticsRequest

func (*RequestGetTransactionAnalyticsRequest) ContextValidate ¶

func (m *RequestGetTransactionAnalyticsRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request get transaction analytics request based on context it is used

func (*RequestGetTransactionAnalyticsRequest) MarshalBinary ¶

func (m *RequestGetTransactionAnalyticsRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestGetTransactionAnalyticsRequest) UnmarshalBinary ¶

func (m *RequestGetTransactionAnalyticsRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestGetTransactionAnalyticsRequest) Validate ¶

Validate validates this request get transaction analytics request

type RequestGetTransactionRecentRequest ¶

type RequestGetTransactionRecentRequest struct {

	// from
	// Example: 2023-05-07 15:04:05
	From string `json:"from,omitempty"`

	// limit
	// Example: 10
	// Minimum: 0
	Limit *int64 `json:"limit,omitempty"`

	// offset
	// Example: 0
	// Minimum: 0
	Offset *int64 `json:"offset,omitempty"`

	// to
	// Example: 2024-05-07 15:04:05
	To string `json:"to,omitempty"`

	// type
	// Example: all
	Type string `json:"type,omitempty"`
}

RequestGetTransactionRecentRequest request get transaction recent request

swagger:model request.GetTransactionRecentRequest

func (*RequestGetTransactionRecentRequest) ContextValidate ¶

func (m *RequestGetTransactionRecentRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request get transaction recent request based on context it is used

func (*RequestGetTransactionRecentRequest) MarshalBinary ¶

func (m *RequestGetTransactionRecentRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestGetTransactionRecentRequest) UnmarshalBinary ¶

func (m *RequestGetTransactionRecentRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestGetTransactionRecentRequest) Validate ¶

Validate validates this request get transaction recent request

type RequestGetUserOrganizationPermissionRequest ¶

type RequestGetUserOrganizationPermissionRequest any

RequestGetUserOrganizationPermissionRequest request get user organization permission request

swagger:model request.GetUserOrganizationPermissionRequest

type RequestGetUserSpendingCostStatisticsRequest ¶

type RequestGetUserSpendingCostStatisticsRequest struct {

	// from
	// Example: 2023-05-07 15:04:05
	From string `json:"from,omitempty"`

	// to
	// Example: 2023-05-07 15:04:05
	To string `json:"to,omitempty"`
}

RequestGetUserSpendingCostStatisticsRequest request get user spending cost statistics request

swagger:model request.GetUserSpendingCostStatisticsRequest

func (*RequestGetUserSpendingCostStatisticsRequest) ContextValidate ¶

ContextValidate validates this request get user spending cost statistics request based on context it is used

func (*RequestGetUserSpendingCostStatisticsRequest) MarshalBinary ¶

func (m *RequestGetUserSpendingCostStatisticsRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestGetUserSpendingCostStatisticsRequest) UnmarshalBinary ¶

func (m *RequestGetUserSpendingCostStatisticsRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestGetUserSpendingCostStatisticsRequest) Validate ¶

Validate validates this request get user spending cost statistics request

type RequestGetUserTransactionAnalyticsRequest ¶

type RequestGetUserTransactionAnalyticsRequest struct {

	// from
	// Example: 2023-05-07 15:04:05
	From string `json:"from,omitempty"`

	// to
	// Example: 2023-05-07 15:04:05
	To string `json:"to,omitempty"`
}

RequestGetUserTransactionAnalyticsRequest request get user transaction analytics request

swagger:model request.GetUserTransactionAnalyticsRequest

func (*RequestGetUserTransactionAnalyticsRequest) ContextValidate ¶

ContextValidate validates this request get user transaction analytics request based on context it is used

func (*RequestGetUserTransactionAnalyticsRequest) MarshalBinary ¶

func (m *RequestGetUserTransactionAnalyticsRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestGetUserTransactionAnalyticsRequest) UnmarshalBinary ¶

func (m *RequestGetUserTransactionAnalyticsRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestGetUserTransactionAnalyticsRequest) Validate ¶

Validate validates this request get user transaction analytics request

type RequestGetUserUploadsRequest ¶

type RequestGetUserUploadsRequest struct {

	// folder
	// Enum: ["avatars","thumbnails","covers","samples","documents"]
	Folder string `json:"folder,omitempty"`

	// org username
	OrgUsername string `json:"org_username,omitempty"`

	// page
	// Minimum: 0
	Page *int64 `json:"page,omitempty"`

	// page size
	// Maximum: 100
	PageSize int64 `json:"page_size,omitempty"`

	// type
	// Enum: ["image","audio","video","application","text"]
	Type string `json:"type,omitempty"`
}

RequestGetUserUploadsRequest request get user uploads request

swagger:model request.GetUserUploadsRequest

func (*RequestGetUserUploadsRequest) ContextValidate ¶

func (m *RequestGetUserUploadsRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request get user uploads request based on context it is used

func (*RequestGetUserUploadsRequest) MarshalBinary ¶

func (m *RequestGetUserUploadsRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestGetUserUploadsRequest) UnmarshalBinary ¶

func (m *RequestGetUserUploadsRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestGetUserUploadsRequest) Validate ¶

func (m *RequestGetUserUploadsRequest) Validate(formats strfmt.Registry) error

Validate validates this request get user uploads request

type RequestInternalCreateBotAccountRequest ¶

type RequestInternalCreateBotAccountRequest struct {

	// username
	Username string `json:"username,omitempty"`
}

RequestInternalCreateBotAccountRequest request internal create bot account request

swagger:model request.InternalCreateBotAccountRequest

func (*RequestInternalCreateBotAccountRequest) ContextValidate ¶

ContextValidate validates this request internal create bot account request based on context it is used

func (*RequestInternalCreateBotAccountRequest) MarshalBinary ¶

func (m *RequestInternalCreateBotAccountRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestInternalCreateBotAccountRequest) UnmarshalBinary ¶

func (m *RequestInternalCreateBotAccountRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestInternalCreateBotAccountRequest) Validate ¶

Validate validates this request internal create bot account request

type RequestInternalUpdateUserFreeBalanceRequest ¶

type RequestInternalUpdateUserFreeBalanceRequest struct {

	// amount
	Amount float64 `json:"amount,omitempty"`
}

RequestInternalUpdateUserFreeBalanceRequest request internal update user free balance request

swagger:model request.InternalUpdateUserFreeBalanceRequest

func (*RequestInternalUpdateUserFreeBalanceRequest) ContextValidate ¶

ContextValidate validates this request internal update user free balance request based on context it is used

func (*RequestInternalUpdateUserFreeBalanceRequest) MarshalBinary ¶

func (m *RequestInternalUpdateUserFreeBalanceRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestInternalUpdateUserFreeBalanceRequest) UnmarshalBinary ¶

func (m *RequestInternalUpdateUserFreeBalanceRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestInternalUpdateUserFreeBalanceRequest) Validate ¶

Validate validates this request internal update user free balance request

type RequestLoginWithPasswordRequest ¶

type RequestLoginWithPasswordRequest struct {

	// password
	// Required: true
	// Max Length: 32
	// Min Length: 8
	Password *string `json:"password"`

	// username
	// Required: true
	// Max Length: 30
	// Min Length: 6
	Username *string `json:"username"`
}

RequestLoginWithPasswordRequest request login with password request

swagger:model request.LoginWithPasswordRequest

func (*RequestLoginWithPasswordRequest) ContextValidate ¶

func (m *RequestLoginWithPasswordRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request login with password request based on context it is used

func (*RequestLoginWithPasswordRequest) MarshalBinary ¶

func (m *RequestLoginWithPasswordRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestLoginWithPasswordRequest) UnmarshalBinary ¶

func (m *RequestLoginWithPasswordRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestLoginWithPasswordRequest) Validate ¶

Validate validates this request login with password request

type RequestMakeInviteOfferRequest ¶

type RequestMakeInviteOfferRequest struct {

	// OrgUsername is the username of the organization (required)
	// Required: true
	OrgUsername *string `json:"org_username"`

	// Role is the role of the new member (required)
	// Required: true
	Role *string `json:"role"`

	// Username is the username of the new member (required)
	// Required: true
	Username *string `json:"username"`
}

RequestMakeInviteOfferRequest request make invite offer request

swagger:model request.MakeInviteOfferRequest

func (*RequestMakeInviteOfferRequest) ContextValidate ¶

func (m *RequestMakeInviteOfferRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request make invite offer request based on context it is used

func (*RequestMakeInviteOfferRequest) MarshalBinary ¶

func (m *RequestMakeInviteOfferRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestMakeInviteOfferRequest) UnmarshalBinary ¶

func (m *RequestMakeInviteOfferRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestMakeInviteOfferRequest) Validate ¶

func (m *RequestMakeInviteOfferRequest) Validate(formats strfmt.Registry) error

Validate validates this request make invite offer request

type RequestMakeJoinOfferRequest ¶

type RequestMakeJoinOfferRequest struct {

	// OrgUsername is the username of the organization (required)
	// Required: true
	JoinID *string `json:"join_id"`
}

RequestMakeJoinOfferRequest request make join offer request

swagger:model request.MakeJoinOfferRequest

func (*RequestMakeJoinOfferRequest) ContextValidate ¶

func (m *RequestMakeJoinOfferRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request make join offer request based on context it is used

func (*RequestMakeJoinOfferRequest) MarshalBinary ¶

func (m *RequestMakeJoinOfferRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestMakeJoinOfferRequest) UnmarshalBinary ¶

func (m *RequestMakeJoinOfferRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestMakeJoinOfferRequest) Validate ¶

func (m *RequestMakeJoinOfferRequest) Validate(formats strfmt.Registry) error

Validate validates this request make join offer request

type RequestMatchingDatasetsTagsRequest ¶

type RequestMatchingDatasetsTagsRequest struct {

	// language
	Language []string `json:"language"`

	// license
	License string `json:"license,omitempty"`

	// size category
	SizeCategory string `json:"size_category,omitempty"`

	// tag type
	TagType string `json:"tag_type,omitempty"`

	// tags
	Tags []string `json:"tags"`

	// task categories
	TaskCategories []string `json:"task_categories"`
}

RequestMatchingDatasetsTagsRequest request matching datasets tags request

swagger:model request.MatchingDatasetsTagsRequest

func (*RequestMatchingDatasetsTagsRequest) ContextValidate ¶

func (m *RequestMatchingDatasetsTagsRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request matching datasets tags request based on context it is used

func (*RequestMatchingDatasetsTagsRequest) MarshalBinary ¶

func (m *RequestMatchingDatasetsTagsRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestMatchingDatasetsTagsRequest) UnmarshalBinary ¶

func (m *RequestMatchingDatasetsTagsRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestMatchingDatasetsTagsRequest) Validate ¶

Validate validates this request matching datasets tags request

type RequestMatchingModelsTagsRequest ¶

type RequestMatchingModelsTagsRequest struct {

	// language
	Language []string `json:"language"`

	// library
	Library []string `json:"library"`

	// license
	License string `json:"license,omitempty"`

	// tag type
	TagType string `json:"tag_type,omitempty"`

	// task
	Task string `json:"task,omitempty"`
}

RequestMatchingModelsTagsRequest request matching models tags request

swagger:model request.MatchingModelsTagsRequest

func (*RequestMatchingModelsTagsRequest) ContextValidate ¶

func (m *RequestMatchingModelsTagsRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request matching models tags request based on context it is used

func (*RequestMatchingModelsTagsRequest) MarshalBinary ¶

func (m *RequestMatchingModelsTagsRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestMatchingModelsTagsRequest) UnmarshalBinary ¶

func (m *RequestMatchingModelsTagsRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestMatchingModelsTagsRequest) Validate ¶

Validate validates this request matching models tags request

type RequestReactItemRequest ¶

type RequestReactItemRequest struct {

	// item name
	ItemName string `json:"itemName,omitempty"`

	// react name
	ReactName string `json:"reactName,omitempty"`
}

RequestReactItemRequest request react item request

swagger:model request.ReactItemRequest

func (*RequestReactItemRequest) ContextValidate ¶

func (m *RequestReactItemRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request react item request based on context it is used

func (*RequestReactItemRequest) MarshalBinary ¶

func (m *RequestReactItemRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestReactItemRequest) UnmarshalBinary ¶

func (m *RequestReactItemRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestReactItemRequest) Validate ¶

func (m *RequestReactItemRequest) Validate(formats strfmt.Registry) error

Validate validates this request react item request

type RequestRemoveItemFromCollectionRequest ¶

type RequestRemoveItemFromCollectionRequest struct {

	// item id
	// Required: true
	ItemID *string `json:"item_id"`

	// type
	// Required: true
	// Enum: ["dataset","model"]
	Type *string `json:"type"`
}

RequestRemoveItemFromCollectionRequest request remove item from collection request

swagger:model request.RemoveItemFromCollectionRequest

func (*RequestRemoveItemFromCollectionRequest) ContextValidate ¶

ContextValidate validates this request remove item from collection request based on context it is used

func (*RequestRemoveItemFromCollectionRequest) MarshalBinary ¶

func (m *RequestRemoveItemFromCollectionRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestRemoveItemFromCollectionRequest) UnmarshalBinary ¶

func (m *RequestRemoveItemFromCollectionRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestRemoveItemFromCollectionRequest) Validate ¶

Validate validates this request remove item from collection request

type RequestReportCollectionRequest ¶

type RequestReportCollectionRequest struct {

	// reason
	// Required: true
	Reason *string `json:"reason"`

	// url
	// Required: true
	URL *string `json:"url"`
}

RequestReportCollectionRequest request report collection request

swagger:model request.ReportCollectionRequest

func (*RequestReportCollectionRequest) ContextValidate ¶

func (m *RequestReportCollectionRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request report collection request based on context it is used

func (*RequestReportCollectionRequest) MarshalBinary ¶

func (m *RequestReportCollectionRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestReportCollectionRequest) UnmarshalBinary ¶

func (m *RequestReportCollectionRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestReportCollectionRequest) Validate ¶

func (m *RequestReportCollectionRequest) Validate(formats strfmt.Registry) error

Validate validates this request report collection request

type RequestReportCommentRequest ¶

type RequestReportCommentRequest struct {

	// reason
	// Required: true
	Reason *string `json:"reason"`

	// url
	// Required: true
	URL *string `json:"url"`
}

RequestReportCommentRequest request report comment request

swagger:model request.ReportCommentRequest

func (*RequestReportCommentRequest) ContextValidate ¶

func (m *RequestReportCommentRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request report comment request based on context it is used

func (*RequestReportCommentRequest) MarshalBinary ¶

func (m *RequestReportCommentRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestReportCommentRequest) UnmarshalBinary ¶

func (m *RequestReportCommentRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestReportCommentRequest) Validate ¶

func (m *RequestReportCommentRequest) Validate(formats strfmt.Registry) error

Validate validates this request report comment request

type RequestReportContentRequest ¶

type RequestReportContentRequest struct {

	// reason
	Reason string `json:"reason,omitempty"`

	// url
	URL string `json:"url,omitempty"`
}

RequestReportContentRequest request report content request

swagger:model request.ReportContentRequest

func (*RequestReportContentRequest) ContextValidate ¶

func (m *RequestReportContentRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request report content request based on context it is used

func (*RequestReportContentRequest) MarshalBinary ¶

func (m *RequestReportContentRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestReportContentRequest) UnmarshalBinary ¶

func (m *RequestReportContentRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestReportContentRequest) Validate ¶

func (m *RequestReportContentRequest) Validate(formats strfmt.Registry) error

Validate validates this request report content request

type RequestReportDiscussionRequest ¶

type RequestReportDiscussionRequest struct {

	// reason
	// Required: true
	Reason *string `json:"reason"`

	// url
	// Required: true
	URL *string `json:"url"`
}

RequestReportDiscussionRequest request report discussion request

swagger:model request.ReportDiscussionRequest

func (*RequestReportDiscussionRequest) ContextValidate ¶

func (m *RequestReportDiscussionRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request report discussion request based on context it is used

func (*RequestReportDiscussionRequest) MarshalBinary ¶

func (m *RequestReportDiscussionRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestReportDiscussionRequest) UnmarshalBinary ¶

func (m *RequestReportDiscussionRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestReportDiscussionRequest) Validate ¶

func (m *RequestReportDiscussionRequest) Validate(formats strfmt.Registry) error

Validate validates this request report discussion request

type RequestResetPasswordRequest ¶

type RequestResetPasswordRequest struct {

	// code
	// Required: true
	// Min Length: 6
	Code *string `json:"code"`

	// email
	// Required: true
	Email *string `json:"email"`

	// password
	// Required: true
	// Max Length: 32
	// Min Length: 8
	Password *string `json:"password"`
}

RequestResetPasswordRequest request reset password request

swagger:model request.ResetPasswordRequest

func (*RequestResetPasswordRequest) ContextValidate ¶

func (m *RequestResetPasswordRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request reset password request based on context it is used

func (*RequestResetPasswordRequest) MarshalBinary ¶

func (m *RequestResetPasswordRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestResetPasswordRequest) UnmarshalBinary ¶

func (m *RequestResetPasswordRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestResetPasswordRequest) Validate ¶

func (m *RequestResetPasswordRequest) Validate(formats strfmt.Registry) error

Validate validates this request reset password request

type RequestSignUpRequest ¶

type RequestSignUpRequest struct {

	// email
	// Required: true
	Email *string `json:"email"`

	// password
	// Max Length: 32
	// Min Length: 8
	Password string `json:"password,omitempty"`

	// username
	// Required: true
	// Max Length: 30
	// Min Length: 6
	Username *string `json:"username"`
}

RequestSignUpRequest request sign up request

swagger:model request.SignUpRequest

func (*RequestSignUpRequest) ContextValidate ¶

func (m *RequestSignUpRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request sign up request based on context it is used

func (*RequestSignUpRequest) MarshalBinary ¶

func (m *RequestSignUpRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestSignUpRequest) UnmarshalBinary ¶

func (m *RequestSignUpRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestSignUpRequest) Validate ¶

func (m *RequestSignUpRequest) Validate(formats strfmt.Registry) error

Validate validates this request sign up request

type RequestTrainingAiModelRequest ¶

type RequestTrainingAiModelRequest struct {

	// config
	Config string `json:"config,omitempty"`

	// dataset id
	DatasetID string `json:"dataset_id,omitempty"`

	// kwargs
	Kwargs string `json:"kwargs,omitempty"`

	// training task id
	TrainingTaskID string `json:"training_task_id,omitempty"`
}

RequestTrainingAiModelRequest request training ai model request

swagger:model request.TrainingAiModelRequest

func (*RequestTrainingAiModelRequest) ContextValidate ¶

func (m *RequestTrainingAiModelRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request training ai model request based on context it is used

func (*RequestTrainingAiModelRequest) MarshalBinary ¶

func (m *RequestTrainingAiModelRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestTrainingAiModelRequest) UnmarshalBinary ¶

func (m *RequestTrainingAiModelRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestTrainingAiModelRequest) Validate ¶

func (m *RequestTrainingAiModelRequest) Validate(formats strfmt.Registry) error

Validate validates this request training ai model request

type RequestUpdateAPIKeyRequest ¶

type RequestUpdateAPIKeyRequest struct {

	// active
	Active bool `json:"active,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// name
	// Max Length: 200
	Name string `json:"name,omitempty"`

	// org username
	OrgUsername string `json:"org_username,omitempty"`
}

RequestUpdateAPIKeyRequest request update Api key request

swagger:model request.UpdateApiKeyRequest

func (*RequestUpdateAPIKeyRequest) ContextValidate ¶

func (m *RequestUpdateAPIKeyRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request update Api key request based on context it is used

func (*RequestUpdateAPIKeyRequest) MarshalBinary ¶

func (m *RequestUpdateAPIKeyRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestUpdateAPIKeyRequest) UnmarshalBinary ¶

func (m *RequestUpdateAPIKeyRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestUpdateAPIKeyRequest) Validate ¶

func (m *RequestUpdateAPIKeyRequest) Validate(formats strfmt.Registry) error

Validate validates this request update Api key request

type RequestUpdateCollectionRequest ¶

type RequestUpdateCollectionRequest struct {

	// description
	Description string `json:"description,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// thumbnail
	Thumbnail string `json:"thumbnail,omitempty"`

	// visibility
	// Enum: ["public","private"]
	Visibility string `json:"visibility,omitempty"`
}

RequestUpdateCollectionRequest request update collection request

swagger:model request.UpdateCollectionRequest

func (*RequestUpdateCollectionRequest) ContextValidate ¶

func (m *RequestUpdateCollectionRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request update collection request based on context it is used

func (*RequestUpdateCollectionRequest) MarshalBinary ¶

func (m *RequestUpdateCollectionRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestUpdateCollectionRequest) UnmarshalBinary ¶

func (m *RequestUpdateCollectionRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestUpdateCollectionRequest) Validate ¶

func (m *RequestUpdateCollectionRequest) Validate(formats strfmt.Registry) error

Validate validates this request update collection request

type RequestUpdateCommentRequest ¶

type RequestUpdateCommentRequest struct {

	// content
	Content string `json:"content,omitempty"`

	// tag usernames
	TagUsernames []string `json:"tag_usernames"`
}

RequestUpdateCommentRequest request update comment request

swagger:model request.UpdateCommentRequest

func (*RequestUpdateCommentRequest) ContextValidate ¶

func (m *RequestUpdateCommentRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request update comment request based on context it is used

func (*RequestUpdateCommentRequest) MarshalBinary ¶

func (m *RequestUpdateCommentRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestUpdateCommentRequest) UnmarshalBinary ¶

func (m *RequestUpdateCommentRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestUpdateCommentRequest) Validate ¶

func (m *RequestUpdateCommentRequest) Validate(formats strfmt.Registry) error

Validate validates this request update comment request

type RequestUpdateCompetitionRequest ¶

type RequestUpdateCompetitionRequest struct {

	// category
	// Example: featured,research,getting-started,playground,community,analytics,simulations
	Category string `json:"category,omitempty"`

	// code
	Code string `json:"code,omitempty"`

	// cover
	Cover string `json:"cover,omitempty"`

	// data
	Data string `json:"data,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// end date
	// Example: 2025-01-01 12:00:00
	EndDate string `json:"end_date,omitempty"`

	// final result mode
	// Example: auto,manual
	FinalResultMode string `json:"final_result_mode,omitempty"`

	// max daily private submissions
	MaxDailyPrivateSubmissions int64 `json:"max_daily_private_submissions,omitempty"`

	// overview
	Overview string `json:"overview,omitempty"`

	// private leaderboard release date
	// Example: 2025-01-01 12:00:00
	PrivateLeaderboardReleaseDate string `json:"private_leaderboard_release_date,omitempty"`

	// prize distribution method
	// Example: manual,smart_contract
	// Enum: ["manual","smart_contract"]
	PrizeDistributionMethod string `json:"prize_distribution_method,omitempty"`

	// registration deadline
	// Example: 2025-01-01 12:00:00
	RegistrationDeadline string `json:"registration_deadline,omitempty"`

	// reward type
	// Example: monetary,knowledge,swag,kudos
	RewardType string `json:"reward_type,omitempty"`

	// rules
	Rules string `json:"rules,omitempty"`

	// start date
	// Example: 2025-01-01 12:00:00
	StartDate string `json:"start_date,omitempty"`

	// submission deadline
	// Example: 2025-01-01 12:00:00
	SubmissionDeadline string `json:"submission_deadline,omitempty"`

	// tags
	Tags []string `json:"tags"`

	// thumbnail
	Thumbnail string `json:"thumbnail,omitempty"`

	// time zone config
	TimeZoneConfig any `json:"time_zone_config,omitempty"`

	// title
	Title string `json:"title,omitempty"`

	// total prize pool
	TotalPrizePool float64 `json:"total_prize_pool,omitempty"`

	// visibility
	Visibility string `json:"visibility,omitempty"`
}

RequestUpdateCompetitionRequest request update competition request

swagger:model request.UpdateCompetitionRequest

func (*RequestUpdateCompetitionRequest) ContextValidate ¶

func (m *RequestUpdateCompetitionRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request update competition request based on context it is used

func (*RequestUpdateCompetitionRequest) MarshalBinary ¶

func (m *RequestUpdateCompetitionRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestUpdateCompetitionRequest) UnmarshalBinary ¶

func (m *RequestUpdateCompetitionRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestUpdateCompetitionRequest) Validate ¶

Validate validates this request update competition request

type RequestUpdateDatasetMetadataRequest ¶

type RequestUpdateDatasetMetadataRequest struct {

	// language
	// Example: ["en","vi"]
	Language []string `json:"language"`

	// license
	// Example: mit
	License string `json:"license,omitempty"`

	// pretty name
	// Example: default pretty name
	PrettyName string `json:"pretty_name,omitempty"`

	// size category
	// Example: n\u003c1k
	SizeCategory string `json:"size_category,omitempty"`

	// tags
	// Example: ["art"]
	Tags []string `json:"tags"`

	// task categories
	// Example: ["text-to-image"]
	TaskCategories []string `json:"task_categories"`
}

RequestUpdateDatasetMetadataRequest request update dataset metadata request

swagger:model request.UpdateDatasetMetadataRequest

func (*RequestUpdateDatasetMetadataRequest) ContextValidate ¶

func (m *RequestUpdateDatasetMetadataRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request update dataset metadata request based on context it is used

func (*RequestUpdateDatasetMetadataRequest) MarshalBinary ¶

func (m *RequestUpdateDatasetMetadataRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestUpdateDatasetMetadataRequest) UnmarshalBinary ¶

func (m *RequestUpdateDatasetMetadataRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestUpdateDatasetMetadataRequest) Validate ¶

Validate validates this request update dataset metadata request

type RequestUpdateDatasetRequest ¶

type RequestUpdateDatasetRequest struct {

	// cover
	Cover string `json:"cover,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// price
	// Example: 0
	Price float64 `json:"price,omitempty"`

	// thumbnail
	Thumbnail string `json:"thumbnail,omitempty"`

	// visibility
	// Enum: ["public","private"]
	Visibility string `json:"visibility,omitempty"`
}

RequestUpdateDatasetRequest request update dataset request

swagger:model request.UpdateDatasetRequest

func (*RequestUpdateDatasetRequest) ContextValidate ¶

func (m *RequestUpdateDatasetRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request update dataset request based on context it is used

func (*RequestUpdateDatasetRequest) MarshalBinary ¶

func (m *RequestUpdateDatasetRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestUpdateDatasetRequest) UnmarshalBinary ¶

func (m *RequestUpdateDatasetRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestUpdateDatasetRequest) Validate ¶

func (m *RequestUpdateDatasetRequest) Validate(formats strfmt.Registry) error

Validate validates this request update dataset request

type RequestUpdateDiscussionRequest ¶

type RequestUpdateDiscussionRequest struct {

	// content
	Content string `json:"content,omitempty"`

	// is closed
	// Example: false
	IsClosed bool `json:"is_closed,omitempty"`

	// title
	Title string `json:"title,omitempty"`
}

RequestUpdateDiscussionRequest request update discussion request

swagger:model request.UpdateDiscussionRequest

func (*RequestUpdateDiscussionRequest) ContextValidate ¶

func (m *RequestUpdateDiscussionRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request update discussion request based on context it is used

func (*RequestUpdateDiscussionRequest) MarshalBinary ¶

func (m *RequestUpdateDiscussionRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestUpdateDiscussionRequest) UnmarshalBinary ¶

func (m *RequestUpdateDiscussionRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestUpdateDiscussionRequest) Validate ¶

func (m *RequestUpdateDiscussionRequest) Validate(formats strfmt.Registry) error

Validate validates this request update discussion request

type RequestUpdateJoinSettingsRequest ¶

type RequestUpdateJoinSettingsRequest struct {

	// AllowJoinByLink is the flag to indicate if the organization allows join by link (required)
	// Required: true
	AllowJoinByLink *bool `json:"allow_join_by_link"`

	// AllowRequestToJoin is the flag to indicate if the organization allows request to join (required)
	// Required: true
	AllowRequestToJoin *bool `json:"allow_request_to_join"`

	// AutoApproveJoinRequest is the flag to indicate if the organization auto approves join request (required)
	// Required: true
	AutoApproveJoinRequest *bool `json:"auto_approve_join_request"`

	// DefaultRole is the default role when approve new member to organization (required)
	// Required: true
	DefaultRole *string `json:"default_role"`
}

RequestUpdateJoinSettingsRequest request update join settings request

swagger:model request.UpdateJoinSettingsRequest

func (*RequestUpdateJoinSettingsRequest) ContextValidate ¶

func (m *RequestUpdateJoinSettingsRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request update join settings request based on context it is used

func (*RequestUpdateJoinSettingsRequest) MarshalBinary ¶

func (m *RequestUpdateJoinSettingsRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestUpdateJoinSettingsRequest) UnmarshalBinary ¶

func (m *RequestUpdateJoinSettingsRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestUpdateJoinSettingsRequest) Validate ¶

Validate validates this request update join settings request

type RequestUpdateListNotificationStatusByIdsRequest ¶

type RequestUpdateListNotificationStatusByIdsRequest struct {

	// ids
	// Required: true
	Ids []string `json:"ids"`

	// status
	// Required: true
	Status *string `json:"status"`
}

RequestUpdateListNotificationStatusByIdsRequest request update list notification status by ids request

swagger:model request.UpdateListNotificationStatusByIdsRequest

func (*RequestUpdateListNotificationStatusByIdsRequest) ContextValidate ¶

ContextValidate validates this request update list notification status by ids request based on context it is used

func (*RequestUpdateListNotificationStatusByIdsRequest) MarshalBinary ¶

MarshalBinary interface implementation

func (*RequestUpdateListNotificationStatusByIdsRequest) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*RequestUpdateListNotificationStatusByIdsRequest) Validate ¶

Validate validates this request update list notification status by ids request

type RequestUpdateModelMetadataRequest ¶

type RequestUpdateModelMetadataRequest struct {

	// language
	// Example: ["en","vi"]
	Language []string `json:"language"`

	// library
	// Example: ["tf","jax"]
	Library []string `json:"library"`

	// license
	License string `json:"license,omitempty"`

	// pretty name
	PrettyName string `json:"pretty_name,omitempty"`

	// task
	Task string `json:"task,omitempty"`
}

RequestUpdateModelMetadataRequest request update model metadata request

swagger:model request.UpdateModelMetadataRequest

func (*RequestUpdateModelMetadataRequest) ContextValidate ¶

func (m *RequestUpdateModelMetadataRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request update model metadata request based on context it is used

func (*RequestUpdateModelMetadataRequest) MarshalBinary ¶

func (m *RequestUpdateModelMetadataRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestUpdateModelMetadataRequest) UnmarshalBinary ¶

func (m *RequestUpdateModelMetadataRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestUpdateModelMetadataRequest) Validate ¶

Validate validates this request update model metadata request

type RequestUpdateModelRequest ¶

type RequestUpdateModelRequest struct {

	// cover
	Cover string `json:"cover,omitempty"`

	// dependency id
	DependencyID string `json:"dependency_id,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// price
	Price float64 `json:"price,omitempty"`

	// thumbnail
	Thumbnail string `json:"thumbnail,omitempty"`

	// visibility
	Visibility string `json:"visibility,omitempty"`
}

RequestUpdateModelRequest request update model request

swagger:model request.UpdateModelRequest

func (*RequestUpdateModelRequest) ContextValidate ¶

func (m *RequestUpdateModelRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request update model request based on context it is used

func (*RequestUpdateModelRequest) MarshalBinary ¶

func (m *RequestUpdateModelRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestUpdateModelRequest) UnmarshalBinary ¶

func (m *RequestUpdateModelRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestUpdateModelRequest) Validate ¶

func (m *RequestUpdateModelRequest) Validate(formats strfmt.Registry) error

Validate validates this request update model request

type RequestUpdateModelSettingRequest ¶

type RequestUpdateModelSettingRequest struct {

	// api price
	APIPrice float64 `json:"api_price,omitempty"`

	// sys req cpu cores
	SysReqCPUCores int64 `json:"sys_req_cpu_cores,omitempty"`

	// sys req gpu memory
	SysReqGpuMemory int64 `json:"sys_req_gpu_memory,omitempty"`

	// sys req ram
	SysReqRAM int64 `json:"sys_req_ram,omitempty"`
}

RequestUpdateModelSettingRequest request update model setting request

swagger:model request.UpdateModelSettingRequest

func (*RequestUpdateModelSettingRequest) ContextValidate ¶

func (m *RequestUpdateModelSettingRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request update model setting request based on context it is used

func (*RequestUpdateModelSettingRequest) MarshalBinary ¶

func (m *RequestUpdateModelSettingRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestUpdateModelSettingRequest) UnmarshalBinary ¶

func (m *RequestUpdateModelSettingRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestUpdateModelSettingRequest) Validate ¶

Validate validates this request update model setting request

type RequestUpdateMultipleTimelinesRequest ¶

type RequestUpdateMultipleTimelinesRequest struct {

	// competition id
	// Required: true
	CompetitionID *string `json:"competition_id"`

	// timelines
	Timelines []*ModelsLiteTimeline `json:"timelines"`
}

RequestUpdateMultipleTimelinesRequest request update multiple timelines request

swagger:model request.UpdateMultipleTimelinesRequest

func (*RequestUpdateMultipleTimelinesRequest) ContextValidate ¶

func (m *RequestUpdateMultipleTimelinesRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this request update multiple timelines request based on the context it is used

func (*RequestUpdateMultipleTimelinesRequest) MarshalBinary ¶

func (m *RequestUpdateMultipleTimelinesRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestUpdateMultipleTimelinesRequest) UnmarshalBinary ¶

func (m *RequestUpdateMultipleTimelinesRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestUpdateMultipleTimelinesRequest) Validate ¶

Validate validates this request update multiple timelines request

type RequestUpdateNotificationByIDRequest ¶

type RequestUpdateNotificationByIDRequest struct {

	// status
	// Required: true
	Status *string `json:"status"`
}

RequestUpdateNotificationByIDRequest request update notification by Id request

swagger:model request.UpdateNotificationByIdRequest

func (*RequestUpdateNotificationByIDRequest) ContextValidate ¶

func (m *RequestUpdateNotificationByIDRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request update notification by Id request based on context it is used

func (*RequestUpdateNotificationByIDRequest) MarshalBinary ¶

func (m *RequestUpdateNotificationByIDRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestUpdateNotificationByIDRequest) UnmarshalBinary ¶

func (m *RequestUpdateNotificationByIDRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestUpdateNotificationByIDRequest) Validate ¶

Validate validates this request update notification by Id request

type RequestUpdateOrganizationInfoRequest ¶

type RequestUpdateOrganizationInfoRequest struct {

	// Avatar is the avatar of the organization (optional)
	Avatar string `json:"avatar,omitempty"`

	// Bio is the full name of the organization (optional)
	Bio string `json:"bio,omitempty"`

	// FullName is the full name of the organization (optional)
	FullName string `json:"full_name,omitempty"`

	// GithubLink is the github link of the organization (optional)
	GithubLink string `json:"github_link,omitempty"`

	// GithubName is the github name of the organization (optional)
	GithubName string `json:"github_name,omitempty"`

	// HomePage is the home page of the organization (optional)
	HomePage string `json:"home_page,omitempty"`

	// Interests is the list of interests of the organization (optional)
	Interests string `json:"interests,omitempty"`

	// TwitterLink is the twitter link of the organization (optional)
	TwitterLink string `json:"twitter_link,omitempty"`

	// TwitterName is the twitter name of the organization (optional)
	TwitterName string `json:"twitter_name,omitempty"`

	// Type is the type of the organization (optional)
	Type string `json:"type,omitempty"`

	// visibility
	// Required: true
	// Enum: ["public","private"]
	Visibility *string `json:"visibility"`
}

RequestUpdateOrganizationInfoRequest request update organization info request

swagger:model request.UpdateOrganizationInfoRequest

func (*RequestUpdateOrganizationInfoRequest) ContextValidate ¶

func (m *RequestUpdateOrganizationInfoRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request update organization info request based on context it is used

func (*RequestUpdateOrganizationInfoRequest) MarshalBinary ¶

func (m *RequestUpdateOrganizationInfoRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestUpdateOrganizationInfoRequest) UnmarshalBinary ¶

func (m *RequestUpdateOrganizationInfoRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestUpdateOrganizationInfoRequest) Validate ¶

Validate validates this request update organization info request

type RequestUpdateTaskReviewsByTaskIDRequest ¶

type RequestUpdateTaskReviewsByTaskIDRequest struct {

	// description
	Description string `json:"description,omitempty"`

	// point
	Point int64 `json:"point,omitempty"`
}

RequestUpdateTaskReviewsByTaskIDRequest request update task reviews by task Id request

swagger:model request.UpdateTaskReviewsByTaskIdRequest

func (*RequestUpdateTaskReviewsByTaskIDRequest) ContextValidate ¶

ContextValidate validates this request update task reviews by task Id request based on context it is used

func (*RequestUpdateTaskReviewsByTaskIDRequest) MarshalBinary ¶

func (m *RequestUpdateTaskReviewsByTaskIDRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestUpdateTaskReviewsByTaskIDRequest) UnmarshalBinary ¶

func (m *RequestUpdateTaskReviewsByTaskIDRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestUpdateTaskReviewsByTaskIDRequest) Validate ¶

Validate validates this request update task reviews by task Id request

type RequestUpdateUserProfileRequest ¶

type RequestUpdateUserProfileRequest struct {

	// Avatar is the avatar of the user (optional)
	Avatar string `json:"avatar,omitempty"`

	// Bio is the full name of the user (optional)
	Bio string `json:"bio,omitempty"`

	// FullName is the full name of the user (optional)
	FullName string `json:"full_name,omitempty"`

	// GithubLink is the github link of the user (optional)
	GithubLink string `json:"github_link,omitempty"`

	// TwitterLink is the twitter link of the user (optional)
	GithubName string `json:"github_name,omitempty"`

	// HomePage is the homepage of the user (optional)
	HomePageName string `json:"home_page_name,omitempty"`

	// Interests is the interests of the user (optional)
	Interests string `json:"interests,omitempty"`

	// TwitterLink is the twitter link of the user (optional)
	TwitterLink string `json:"twitter_link,omitempty"`

	// TwitterName is the twitter name of the user (optional)
	TwitterName string `json:"twitter_name,omitempty"`
}

RequestUpdateUserProfileRequest request update user profile request

swagger:model request.UpdateUserProfileRequest

func (*RequestUpdateUserProfileRequest) ContextValidate ¶

func (m *RequestUpdateUserProfileRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request update user profile request based on context it is used

func (*RequestUpdateUserProfileRequest) MarshalBinary ¶

func (m *RequestUpdateUserProfileRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestUpdateUserProfileRequest) UnmarshalBinary ¶

func (m *RequestUpdateUserProfileRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestUpdateUserProfileRequest) Validate ¶

Validate validates this request update user profile request

type RequestUserClaimFreeBalanceByVoucherRequest ¶

type RequestUserClaimFreeBalanceByVoucherRequest struct {

	// voucher code
	// Required: true
	VoucherCode *string `json:"voucher_code"`
}

RequestUserClaimFreeBalanceByVoucherRequest request user claim free balance by voucher request

swagger:model request.UserClaimFreeBalanceByVoucherRequest

func (*RequestUserClaimFreeBalanceByVoucherRequest) ContextValidate ¶

ContextValidate validates this request user claim free balance by voucher request based on context it is used

func (*RequestUserClaimFreeBalanceByVoucherRequest) MarshalBinary ¶

func (m *RequestUserClaimFreeBalanceByVoucherRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestUserClaimFreeBalanceByVoucherRequest) UnmarshalBinary ¶

func (m *RequestUserClaimFreeBalanceByVoucherRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestUserClaimFreeBalanceByVoucherRequest) Validate ¶

Validate validates this request user claim free balance by voucher request

type RequestVerifyAiModelRequest ¶

type RequestVerifyAiModelRequest struct {

	// commit hash
	CommitHash string `json:"commit_hash,omitempty"`

	// platforms
	// Required: true
	Platforms []string `json:"platforms"`
}

RequestVerifyAiModelRequest request verify ai model request

swagger:model request.VerifyAiModelRequest

func (*RequestVerifyAiModelRequest) ContextValidate ¶

func (m *RequestVerifyAiModelRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request verify ai model request based on context it is used

func (*RequestVerifyAiModelRequest) MarshalBinary ¶

func (m *RequestVerifyAiModelRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestVerifyAiModelRequest) UnmarshalBinary ¶

func (m *RequestVerifyAiModelRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestVerifyAiModelRequest) Validate ¶

func (m *RequestVerifyAiModelRequest) Validate(formats strfmt.Registry) error

Validate validates this request verify ai model request

type RequestVerifyCodeRequest ¶

type RequestVerifyCodeRequest struct {

	// code
	// Required: true
	// Min Length: 6
	Code *string `json:"code"`

	// email
	// Required: true
	Email *string `json:"email"`
}

RequestVerifyCodeRequest request verify code request

swagger:model request.VerifyCodeRequest

func (*RequestVerifyCodeRequest) ContextValidate ¶

func (m *RequestVerifyCodeRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request verify code request based on context it is used

func (*RequestVerifyCodeRequest) MarshalBinary ¶

func (m *RequestVerifyCodeRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestVerifyCodeRequest) UnmarshalBinary ¶

func (m *RequestVerifyCodeRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestVerifyCodeRequest) Validate ¶

func (m *RequestVerifyCodeRequest) Validate(formats strfmt.Registry) error

Validate validates this request verify code request

type RequestVerifyLinkEmailCodeRequest ¶

type RequestVerifyLinkEmailCodeRequest struct {

	// code
	// Required: true
	Code *string `json:"code"`

	// email
	// Required: true
	Email *string `json:"email"`
}

RequestVerifyLinkEmailCodeRequest request verify link email code request

swagger:model request.VerifyLinkEmailCodeRequest

func (*RequestVerifyLinkEmailCodeRequest) ContextValidate ¶

func (m *RequestVerifyLinkEmailCodeRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request verify link email code request based on context it is used

func (*RequestVerifyLinkEmailCodeRequest) MarshalBinary ¶

func (m *RequestVerifyLinkEmailCodeRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestVerifyLinkEmailCodeRequest) UnmarshalBinary ¶

func (m *RequestVerifyLinkEmailCodeRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestVerifyLinkEmailCodeRequest) Validate ¶

Validate validates this request verify link email code request

type RequestVerifyLinkWalletAddressSignatureRequest ¶

type RequestVerifyLinkWalletAddressSignatureRequest struct {

	// signature
	// Required: true
	Signature *string `json:"signature"`

	// wallet address
	// Required: true
	WalletAddress *string `json:"wallet_address"`
}

RequestVerifyLinkWalletAddressSignatureRequest request verify link wallet address signature request

swagger:model request.VerifyLinkWalletAddressSignatureRequest

func (*RequestVerifyLinkWalletAddressSignatureRequest) ContextValidate ¶

ContextValidate validates this request verify link wallet address signature request based on context it is used

func (*RequestVerifyLinkWalletAddressSignatureRequest) MarshalBinary ¶

MarshalBinary interface implementation

func (*RequestVerifyLinkWalletAddressSignatureRequest) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*RequestVerifyLinkWalletAddressSignatureRequest) Validate ¶

Validate validates this request verify link wallet address signature request

type RequestVerifyWalletAddressChallengeRequest ¶

type RequestVerifyWalletAddressChallengeRequest struct {

	// signature
	// Required: true
	Signature *string `json:"signature"`

	// wallet address
	// Required: true
	WalletAddress *string `json:"wallet_address"`
}

RequestVerifyWalletAddressChallengeRequest request verify wallet address challenge request

swagger:model request.VerifyWalletAddressChallengeRequest

func (*RequestVerifyWalletAddressChallengeRequest) ContextValidate ¶

ContextValidate validates this request verify wallet address challenge request based on context it is used

func (*RequestVerifyWalletAddressChallengeRequest) MarshalBinary ¶

func (m *RequestVerifyWalletAddressChallengeRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestVerifyWalletAddressChallengeRequest) UnmarshalBinary ¶

func (m *RequestVerifyWalletAddressChallengeRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestVerifyWalletAddressChallengeRequest) Validate ¶

Validate validates this request verify wallet address challenge request

type RequestWithdrawCompetitionPoolRequest ¶

type RequestWithdrawCompetitionPoolRequest struct {

	// amount
	Amount string `json:"amount,omitempty"`

	// reason
	Reason string `json:"reason,omitempty"`

	// wallet address
	WalletAddress string `json:"wallet_address,omitempty"`
}

RequestWithdrawCompetitionPoolRequest request withdraw competition pool request

swagger:model request.WithdrawCompetitionPoolRequest

func (*RequestWithdrawCompetitionPoolRequest) ContextValidate ¶

func (m *RequestWithdrawCompetitionPoolRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request withdraw competition pool request based on context it is used

func (*RequestWithdrawCompetitionPoolRequest) MarshalBinary ¶

func (m *RequestWithdrawCompetitionPoolRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestWithdrawCompetitionPoolRequest) UnmarshalBinary ¶

func (m *RequestWithdrawCompetitionPoolRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestWithdrawCompetitionPoolRequest) Validate ¶

Validate validates this request withdraw competition pool request

type RequestWithdrawOrgEarningsByOwnerRequest ¶

type RequestWithdrawOrgEarningsByOwnerRequest struct {

	// amount
	// Required: true
	Amount *string `json:"amount"`

	// to wallet
	// Required: true
	ToWallet *string `json:"to_wallet"`
}

RequestWithdrawOrgEarningsByOwnerRequest request withdraw org earnings by owner request

swagger:model request.WithdrawOrgEarningsByOwnerRequest

func (*RequestWithdrawOrgEarningsByOwnerRequest) ContextValidate ¶

ContextValidate validates this request withdraw org earnings by owner request based on context it is used

func (*RequestWithdrawOrgEarningsByOwnerRequest) MarshalBinary ¶

func (m *RequestWithdrawOrgEarningsByOwnerRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestWithdrawOrgEarningsByOwnerRequest) UnmarshalBinary ¶

func (m *RequestWithdrawOrgEarningsByOwnerRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestWithdrawOrgEarningsByOwnerRequest) Validate ¶

Validate validates this request withdraw org earnings by owner request

type RequestWithdrawUserEarningsRequest ¶

type RequestWithdrawUserEarningsRequest struct {

	// amount
	Amount string `json:"amount,omitempty"`

	// to wallet
	ToWallet string `json:"to_wallet,omitempty"`
}

RequestWithdrawUserEarningsRequest request withdraw user earnings request

swagger:model request.WithdrawUserEarningsRequest

func (*RequestWithdrawUserEarningsRequest) ContextValidate ¶

func (m *RequestWithdrawUserEarningsRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request withdraw user earnings request based on context it is used

func (*RequestWithdrawUserEarningsRequest) MarshalBinary ¶

func (m *RequestWithdrawUserEarningsRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestWithdrawUserEarningsRequest) UnmarshalBinary ¶

func (m *RequestWithdrawUserEarningsRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestWithdrawUserEarningsRequest) Validate ¶

Validate validates this request withdraw user earnings request

type ResponseAPIKeyHistoryListData ¶

type ResponseAPIKeyHistoryListData struct {

	// records
	Records []*ModelsAPIKeyHistories `json:"records"`

	// total
	Total int64 `json:"total,omitempty"`
}

ResponseAPIKeyHistoryListData response Api key history list data

swagger:model response.ApiKeyHistoryListData

func (*ResponseAPIKeyHistoryListData) ContextValidate ¶

func (m *ResponseAPIKeyHistoryListData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response Api key history list data based on the context it is used

func (*ResponseAPIKeyHistoryListData) MarshalBinary ¶

func (m *ResponseAPIKeyHistoryListData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseAPIKeyHistoryListData) UnmarshalBinary ¶

func (m *ResponseAPIKeyHistoryListData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseAPIKeyHistoryListData) Validate ¶

func (m *ResponseAPIKeyHistoryListData) Validate(formats strfmt.Registry) error

Validate validates this response Api key history list data

type ResponseAPIKeyHistoryListResponse ¶

type ResponseAPIKeyHistoryListResponse struct {

	// data
	Data *ResponseAPIKeyHistoryListData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseAPIKeyHistoryListResponse response Api key history list response

swagger:model response.ApiKeyHistoryListResponse

func (*ResponseAPIKeyHistoryListResponse) ContextValidate ¶

func (m *ResponseAPIKeyHistoryListResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response Api key history list response based on the context it is used

func (*ResponseAPIKeyHistoryListResponse) MarshalBinary ¶

func (m *ResponseAPIKeyHistoryListResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseAPIKeyHistoryListResponse) UnmarshalBinary ¶

func (m *ResponseAPIKeyHistoryListResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseAPIKeyHistoryListResponse) Validate ¶

Validate validates this response Api key history list response

type ResponseAPIKeyHistoryResponse ¶

type ResponseAPIKeyHistoryResponse struct {

	// data
	Data *ModelsAPIKeyHistories `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseAPIKeyHistoryResponse response Api key history response

swagger:model response.ApiKeyHistoryResponse

func (*ResponseAPIKeyHistoryResponse) ContextValidate ¶

func (m *ResponseAPIKeyHistoryResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response Api key history response based on the context it is used

func (*ResponseAPIKeyHistoryResponse) MarshalBinary ¶

func (m *ResponseAPIKeyHistoryResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseAPIKeyHistoryResponse) UnmarshalBinary ¶

func (m *ResponseAPIKeyHistoryResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseAPIKeyHistoryResponse) Validate ¶

func (m *ResponseAPIKeyHistoryResponse) Validate(formats strfmt.Registry) error

Validate validates this response Api key history response

type ResponseAPIKeyInfoResponse ¶

type ResponseAPIKeyInfoResponse struct {

	// data
	Data *ModelsAPIKeyInfo `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseAPIKeyInfoResponse response Api key info response

swagger:model response.ApiKeyInfoResponse

func (*ResponseAPIKeyInfoResponse) ContextValidate ¶

func (m *ResponseAPIKeyInfoResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response Api key info response based on the context it is used

func (*ResponseAPIKeyInfoResponse) MarshalBinary ¶

func (m *ResponseAPIKeyInfoResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseAPIKeyInfoResponse) UnmarshalBinary ¶

func (m *ResponseAPIKeyInfoResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseAPIKeyInfoResponse) Validate ¶

func (m *ResponseAPIKeyInfoResponse) Validate(formats strfmt.Registry) error

Validate validates this response Api key info response

type ResponseAPIKeyListData ¶

type ResponseAPIKeyListData struct {

	// records
	Records []*ModelsAPIKey `json:"records"`

	// total
	Total int64 `json:"total,omitempty"`
}

ResponseAPIKeyListData response Api key list data

swagger:model response.ApiKeyListData

func (*ResponseAPIKeyListData) ContextValidate ¶

func (m *ResponseAPIKeyListData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response Api key list data based on the context it is used

func (*ResponseAPIKeyListData) MarshalBinary ¶

func (m *ResponseAPIKeyListData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseAPIKeyListData) UnmarshalBinary ¶

func (m *ResponseAPIKeyListData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseAPIKeyListData) Validate ¶

func (m *ResponseAPIKeyListData) Validate(formats strfmt.Registry) error

Validate validates this response Api key list data

type ResponseAPIKeyListResponse ¶

type ResponseAPIKeyListResponse struct {

	// data
	Data *ResponseAPIKeyListData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseAPIKeyListResponse response Api key list response

swagger:model response.ApiKeyListResponse

func (*ResponseAPIKeyListResponse) ContextValidate ¶

func (m *ResponseAPIKeyListResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response Api key list response based on the context it is used

func (*ResponseAPIKeyListResponse) MarshalBinary ¶

func (m *ResponseAPIKeyListResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseAPIKeyListResponse) UnmarshalBinary ¶

func (m *ResponseAPIKeyListResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseAPIKeyListResponse) Validate ¶

func (m *ResponseAPIKeyListResponse) Validate(formats strfmt.Registry) error

Validate validates this response Api key list response

type ResponseAPIKeyResponse ¶

type ResponseAPIKeyResponse struct {

	// data
	Data *ModelsAPIKey `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseAPIKeyResponse response Api key response

swagger:model response.ApiKeyResponse

func (*ResponseAPIKeyResponse) ContextValidate ¶

func (m *ResponseAPIKeyResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response Api key response based on the context it is used

func (*ResponseAPIKeyResponse) MarshalBinary ¶

func (m *ResponseAPIKeyResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseAPIKeyResponse) UnmarshalBinary ¶

func (m *ResponseAPIKeyResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseAPIKeyResponse) Validate ¶

func (m *ResponseAPIKeyResponse) Validate(formats strfmt.Registry) error

Validate validates this response Api key response

type ResponseAPIKeyStasData ¶

type ResponseAPIKeyStasData struct {

	// total cost
	TotalCost float64 `json:"total_cost,omitempty"`

	// total failed
	TotalFailed int64 `json:"total_failed,omitempty"`

	// total request
	TotalRequest int64 `json:"total_request,omitempty"`

	// total success
	TotalSuccess int64 `json:"total_success,omitempty"`
}

ResponseAPIKeyStasData response Api key stas data

swagger:model response.ApiKeyStasData

func (*ResponseAPIKeyStasData) ContextValidate ¶

func (m *ResponseAPIKeyStasData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this response Api key stas data based on context it is used

func (*ResponseAPIKeyStasData) MarshalBinary ¶

func (m *ResponseAPIKeyStasData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseAPIKeyStasData) UnmarshalBinary ¶

func (m *ResponseAPIKeyStasData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseAPIKeyStasData) Validate ¶

func (m *ResponseAPIKeyStasData) Validate(formats strfmt.Registry) error

Validate validates this response Api key stas data

type ResponseAPIKeyStasResponse ¶

type ResponseAPIKeyStasResponse struct {

	// data
	Data *ResponseAPIKeyStasData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseAPIKeyStasResponse response Api key stas response

swagger:model response.ApiKeyStasResponse

func (*ResponseAPIKeyStasResponse) ContextValidate ¶

func (m *ResponseAPIKeyStasResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response Api key stas response based on the context it is used

func (*ResponseAPIKeyStasResponse) MarshalBinary ¶

func (m *ResponseAPIKeyStasResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseAPIKeyStasResponse) UnmarshalBinary ¶

func (m *ResponseAPIKeyStasResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseAPIKeyStasResponse) Validate ¶

func (m *ResponseAPIKeyStasResponse) Validate(formats strfmt.Registry) error

Validate validates this response Api key stas response

type ResponseAPIPackageData ¶

type ResponseAPIPackageData struct {

	// active
	Active bool `json:"active,omitempty"`

	// created at
	CreatedAt string `json:"created_at,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// discount
	Discount float64 `json:"discount,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// quantity uses
	QuantityUses int64 `json:"quantity_uses,omitempty"`

	// updated at
	UpdatedAt string `json:"updated_at,omitempty"`
}

ResponseAPIPackageData response Api package data

swagger:model response.ApiPackageData

func (*ResponseAPIPackageData) ContextValidate ¶

func (m *ResponseAPIPackageData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this response Api package data based on context it is used

func (*ResponseAPIPackageData) MarshalBinary ¶

func (m *ResponseAPIPackageData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseAPIPackageData) UnmarshalBinary ¶

func (m *ResponseAPIPackageData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseAPIPackageData) Validate ¶

func (m *ResponseAPIPackageData) Validate(formats strfmt.Registry) error

Validate validates this response Api package data

type ResponseAPIPackageListData ¶

type ResponseAPIPackageListData struct {

	// records
	Records []*ModelsAPIPackage `json:"records"`

	// total
	Total int64 `json:"total,omitempty"`
}

ResponseAPIPackageListData response Api package list data

swagger:model response.ApiPackageListData

func (*ResponseAPIPackageListData) ContextValidate ¶

func (m *ResponseAPIPackageListData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response Api package list data based on the context it is used

func (*ResponseAPIPackageListData) MarshalBinary ¶

func (m *ResponseAPIPackageListData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseAPIPackageListData) UnmarshalBinary ¶

func (m *ResponseAPIPackageListData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseAPIPackageListData) Validate ¶

func (m *ResponseAPIPackageListData) Validate(formats strfmt.Registry) error

Validate validates this response Api package list data

type ResponseAPIPackageListResponse ¶

type ResponseAPIPackageListResponse struct {

	// data
	Data *ResponseAPIPackageListData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseAPIPackageListResponse response Api package list response

swagger:model response.ApiPackageListResponse

func (*ResponseAPIPackageListResponse) ContextValidate ¶

func (m *ResponseAPIPackageListResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response Api package list response based on the context it is used

func (*ResponseAPIPackageListResponse) MarshalBinary ¶

func (m *ResponseAPIPackageListResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseAPIPackageListResponse) UnmarshalBinary ¶

func (m *ResponseAPIPackageListResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseAPIPackageListResponse) Validate ¶

func (m *ResponseAPIPackageListResponse) Validate(formats strfmt.Registry) error

Validate validates this response Api package list response

type ResponseAPIPackageResponse ¶

type ResponseAPIPackageResponse struct {

	// data
	Data *ResponseAPIPackageData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseAPIPackageResponse response Api package response

swagger:model response.ApiPackageResponse

func (*ResponseAPIPackageResponse) ContextValidate ¶

func (m *ResponseAPIPackageResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response Api package response based on the context it is used

func (*ResponseAPIPackageResponse) MarshalBinary ¶

func (m *ResponseAPIPackageResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseAPIPackageResponse) UnmarshalBinary ¶

func (m *ResponseAPIPackageResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseAPIPackageResponse) Validate ¶

func (m *ResponseAPIPackageResponse) Validate(formats strfmt.Registry) error

Validate validates this response Api package response

type ResponseAdminCredential ¶

type ResponseAdminCredential struct {

	// access token
	AccessToken string `json:"access_token,omitempty"`

	// data
	Data *ModelsAdmin `json:"data,omitempty"`

	// refresh token
	RefreshToken string `json:"refresh_token,omitempty"`
}

ResponseAdminCredential response admin credential

swagger:model response.AdminCredential

func (*ResponseAdminCredential) ContextValidate ¶

func (m *ResponseAdminCredential) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response admin credential based on the context it is used

func (*ResponseAdminCredential) MarshalBinary ¶

func (m *ResponseAdminCredential) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseAdminCredential) UnmarshalBinary ¶

func (m *ResponseAdminCredential) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseAdminCredential) Validate ¶

func (m *ResponseAdminCredential) Validate(formats strfmt.Registry) error

Validate validates this response admin credential

type ResponseAdminDashboardStatisticsData ¶

type ResponseAdminDashboardStatisticsData struct {

	// bandwidth
	Bandwidth float64 `json:"bandwidth,omitempty"`

	// bandwidth amount
	BandwidthAmount float64 `json:"bandwidth_amount,omitempty"`

	// storage
	Storage float64 `json:"storage,omitempty"`

	// storage amount
	StorageAmount float64 `json:"storage_amount,omitempty"`

	// total amount in
	TotalAmountIn *string `json:"total_amount_in,omitempty"`

	// total amount out
	TotalAmountOut *string `json:"total_amount_out,omitempty"`

	// total amount withdraw
	TotalAmountWithdraw *string `json:"total_amount_withdraw,omitempty"`

	// total amount withdraw service
	TotalAmountWithdrawService *string `json:"total_amount_withdraw_service,omitempty"`

	// total assign voucher
	TotalAssignVoucher int64 `json:"total_assign_voucher,omitempty"`

	// total assign voucher value
	TotalAssignVoucherValue float64 `json:"total_assign_voucher_value,omitempty"`

	// total comment created
	TotalCommentCreated int64 `json:"total_comment_created,omitempty"`

	// total dataset created
	TotalDatasetCreated int64 `json:"total_dataset_created,omitempty"`

	// total discussion created
	TotalDiscussionCreated int64 `json:"total_discussion_created,omitempty"`

	// total downloads
	TotalDownloads int64 `json:"total_downloads,omitempty"`

	// total ga voucher claimed
	TotalGaVoucherClaimed int64 `json:"total_ga_voucher_claimed,omitempty"`

	// total ga voucher claimed value
	TotalGaVoucherClaimedValue float64 `json:"total_ga_voucher_claimed_value,omitempty"`

	// total ga voucher unclaimed
	TotalGaVoucherUnclaimed int64 `json:"total_ga_voucher_unclaimed,omitempty"`

	// total ga voucher unclaimed expired
	TotalGaVoucherUnclaimedExpired int64 `json:"total_ga_voucher_unclaimed_expired,omitempty"`

	// total ga voucher unclaimed expired value
	TotalGaVoucherUnclaimedExpiredValue float64 `json:"total_ga_voucher_unclaimed_expired_value,omitempty"`

	// total ga voucher unclaimed value
	TotalGaVoucherUnclaimedValue float64 `json:"total_ga_voucher_unclaimed_value,omitempty"`

	// total join competition
	TotalJoinCompetition int64 `json:"total_join_competition,omitempty"`

	// activities
	TotalLikes int64 `json:"total_likes,omitempty"`

	// total model created
	TotalModelCreated int64 `json:"total_model_created,omitempty"`

	// total react
	TotalReact int64 `json:"total_react,omitempty"`

	// total revoke voucher
	TotalRevokeVoucher int64 `json:"total_revoke_voucher,omitempty"`

	// total revoke voucher value
	TotalRevokeVoucherValue float64 `json:"total_revoke_voucher_value,omitempty"`

	// total submit competition
	TotalSubmitCompetition int64 `json:"total_submit_competition,omitempty"`

	// total task
	TotalTask int64 `json:"total_task,omitempty"`

	// total task fail
	TotalTaskFail int64 `json:"total_task_fail,omitempty"`

	// total task success
	TotalTaskSuccess int64 `json:"total_task_success,omitempty"`

	// total tx in
	TotalTxIn int64 `json:"total_tx_in,omitempty"`

	// total tx out
	TotalTxOut int64 `json:"total_tx_out,omitempty"`

	// total tx withdraw
	TotalTxWithdraw int64 `json:"total_tx_withdraw,omitempty"`

	// total tx withdraw service
	TotalTxWithdrawService int64 `json:"total_tx_withdraw_service,omitempty"`

	// total user cost
	TotalUserCost float64 `json:"total_user_cost,omitempty"`

	// total user earnings
	TotalUserEarnings float64 `json:"total_user_earnings,omitempty"`

	// total user register
	TotalUserRegister float64 `json:"total_user_register,omitempty"`

	// total votes
	TotalVotes int64 `json:"total_votes,omitempty"`

	// vouchers
	TotalVoucher int64 `json:"total_voucher,omitempty"`

	// total voucher value
	TotalVoucherValue float64 `json:"total_voucher_value,omitempty"`
}

ResponseAdminDashboardStatisticsData response admin dashboard statistics data

swagger:model response.AdminDashboardStatisticsData

func (*ResponseAdminDashboardStatisticsData) ContextValidate ¶

func (m *ResponseAdminDashboardStatisticsData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this response admin dashboard statistics data based on context it is used

func (*ResponseAdminDashboardStatisticsData) MarshalBinary ¶

func (m *ResponseAdminDashboardStatisticsData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseAdminDashboardStatisticsData) UnmarshalBinary ¶

func (m *ResponseAdminDashboardStatisticsData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseAdminDashboardStatisticsData) Validate ¶

Validate validates this response admin dashboard statistics data

type ResponseAdminDashboardStatisticsResponse ¶

type ResponseAdminDashboardStatisticsResponse struct {

	// data
	Data *ResponseAdminDashboardStatisticsData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseAdminDashboardStatisticsResponse response admin dashboard statistics response

swagger:model response.AdminDashboardStatisticsResponse

func (*ResponseAdminDashboardStatisticsResponse) ContextValidate ¶

ContextValidate validate this response admin dashboard statistics response based on the context it is used

func (*ResponseAdminDashboardStatisticsResponse) MarshalBinary ¶

func (m *ResponseAdminDashboardStatisticsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseAdminDashboardStatisticsResponse) UnmarshalBinary ¶

func (m *ResponseAdminDashboardStatisticsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseAdminDashboardStatisticsResponse) Validate ¶

Validate validates this response admin dashboard statistics response

type ResponseAdminListAccountData ¶

type ResponseAdminListAccountData struct {

	// records
	Records []*ModelsAdmin `json:"records"`

	// total
	Total int64 `json:"total,omitempty"`
}

ResponseAdminListAccountData response admin list account data

swagger:model response.AdminListAccountData

func (*ResponseAdminListAccountData) ContextValidate ¶

func (m *ResponseAdminListAccountData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response admin list account data based on the context it is used

func (*ResponseAdminListAccountData) MarshalBinary ¶

func (m *ResponseAdminListAccountData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseAdminListAccountData) UnmarshalBinary ¶

func (m *ResponseAdminListAccountData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseAdminListAccountData) Validate ¶

func (m *ResponseAdminListAccountData) Validate(formats strfmt.Registry) error

Validate validates this response admin list account data

type ResponseAdminListAccountResponse ¶

type ResponseAdminListAccountResponse struct {

	// data
	Data *ResponseAdminListAccountData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseAdminListAccountResponse response admin list account response

swagger:model response.AdminListAccountResponse

func (*ResponseAdminListAccountResponse) ContextValidate ¶

func (m *ResponseAdminListAccountResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response admin list account response based on the context it is used

func (*ResponseAdminListAccountResponse) MarshalBinary ¶

func (m *ResponseAdminListAccountResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseAdminListAccountResponse) UnmarshalBinary ¶

func (m *ResponseAdminListAccountResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseAdminListAccountResponse) Validate ¶

Validate validates this response admin list account response

type ResponseAdminResponse ¶

type ResponseAdminResponse struct {

	// data
	Data *ModelsAdmin `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseAdminResponse response admin response

swagger:model response.AdminResponse

func (*ResponseAdminResponse) ContextValidate ¶

func (m *ResponseAdminResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response admin response based on the context it is used

func (*ResponseAdminResponse) MarshalBinary ¶

func (m *ResponseAdminResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseAdminResponse) UnmarshalBinary ¶

func (m *ResponseAdminResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseAdminResponse) Validate ¶

func (m *ResponseAdminResponse) Validate(formats strfmt.Registry) error

Validate validates this response admin response

type ResponseAdminVerifyData ¶

type ResponseAdminVerifyData struct {

	// data
	Data *ResponseAdminCredential `json:"data,omitempty"`
}

ResponseAdminVerifyData response admin verify data

swagger:model response.AdminVerifyData

func (*ResponseAdminVerifyData) ContextValidate ¶

func (m *ResponseAdminVerifyData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response admin verify data based on the context it is used

func (*ResponseAdminVerifyData) MarshalBinary ¶

func (m *ResponseAdminVerifyData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseAdminVerifyData) UnmarshalBinary ¶

func (m *ResponseAdminVerifyData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseAdminVerifyData) Validate ¶

func (m *ResponseAdminVerifyData) Validate(formats strfmt.Registry) error

Validate validates this response admin verify data

type ResponseAdminVerifyResponse ¶

type ResponseAdminVerifyResponse struct {

	// data
	Data *ResponseAdminVerifyData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseAdminVerifyResponse response admin verify response

swagger:model response.AdminVerifyResponse

func (*ResponseAdminVerifyResponse) ContextValidate ¶

func (m *ResponseAdminVerifyResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response admin verify response based on the context it is used

func (*ResponseAdminVerifyResponse) MarshalBinary ¶

func (m *ResponseAdminVerifyResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseAdminVerifyResponse) UnmarshalBinary ¶

func (m *ResponseAdminVerifyResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseAdminVerifyResponse) Validate ¶

func (m *ResponseAdminVerifyResponse) Validate(formats strfmt.Registry) error

Validate validates this response admin verify response

type ResponseApprovalRequestListData ¶

type ResponseApprovalRequestListData struct {

	// records
	Records []*ModelsApprovalRequest `json:"records"`

	// total
	Total int64 `json:"total,omitempty"`
}

ResponseApprovalRequestListData response approval request list data

swagger:model response.ApprovalRequestListData

func (*ResponseApprovalRequestListData) ContextValidate ¶

func (m *ResponseApprovalRequestListData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response approval request list data based on the context it is used

func (*ResponseApprovalRequestListData) MarshalBinary ¶

func (m *ResponseApprovalRequestListData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseApprovalRequestListData) UnmarshalBinary ¶

func (m *ResponseApprovalRequestListData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseApprovalRequestListData) Validate ¶

Validate validates this response approval request list data

type ResponseApprovalRequestListResponse ¶

type ResponseApprovalRequestListResponse struct {

	// data
	Data *ResponseApprovalRequestListData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseApprovalRequestListResponse response approval request list response

swagger:model response.ApprovalRequestListResponse

func (*ResponseApprovalRequestListResponse) ContextValidate ¶

func (m *ResponseApprovalRequestListResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response approval request list response based on the context it is used

func (*ResponseApprovalRequestListResponse) MarshalBinary ¶

func (m *ResponseApprovalRequestListResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseApprovalRequestListResponse) UnmarshalBinary ¶

func (m *ResponseApprovalRequestListResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseApprovalRequestListResponse) Validate ¶

Validate validates this response approval request list response

type ResponseApprovalRequestResponse ¶

type ResponseApprovalRequestResponse struct {

	// data
	Data *ModelsApprovalRequest `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseApprovalRequestResponse response approval request response

swagger:model response.ApprovalRequestResponse

func (*ResponseApprovalRequestResponse) ContextValidate ¶

func (m *ResponseApprovalRequestResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response approval request response based on the context it is used

func (*ResponseApprovalRequestResponse) MarshalBinary ¶

func (m *ResponseApprovalRequestResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseApprovalRequestResponse) UnmarshalBinary ¶

func (m *ResponseApprovalRequestResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseApprovalRequestResponse) Validate ¶

Validate validates this response approval request response

type ResponseBlacklistContentListData ¶

type ResponseBlacklistContentListData struct {

	// records
	Records []*ModelsBlacklistContent `json:"records"`

	// total
	Total int64 `json:"total,omitempty"`
}

ResponseBlacklistContentListData response blacklist content list data

swagger:model response.BlacklistContentListData

func (*ResponseBlacklistContentListData) ContextValidate ¶

func (m *ResponseBlacklistContentListData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response blacklist content list data based on the context it is used

func (*ResponseBlacklistContentListData) MarshalBinary ¶

func (m *ResponseBlacklistContentListData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseBlacklistContentListData) UnmarshalBinary ¶

func (m *ResponseBlacklistContentListData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseBlacklistContentListData) Validate ¶

Validate validates this response blacklist content list data

type ResponseBlacklistContentListResponse ¶

type ResponseBlacklistContentListResponse struct {

	// data
	Data *ResponseBlacklistContentListData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseBlacklistContentListResponse response blacklist content list response

swagger:model response.BlacklistContentListResponse

func (*ResponseBlacklistContentListResponse) ContextValidate ¶

func (m *ResponseBlacklistContentListResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response blacklist content list response based on the context it is used

func (*ResponseBlacklistContentListResponse) MarshalBinary ¶

func (m *ResponseBlacklistContentListResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseBlacklistContentListResponse) UnmarshalBinary ¶

func (m *ResponseBlacklistContentListResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseBlacklistContentListResponse) Validate ¶

Validate validates this response blacklist content list response

type ResponseBlacklistContentResponse ¶

type ResponseBlacklistContentResponse struct {

	// data
	Data *ModelsBlacklistContent `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseBlacklistContentResponse response blacklist content response

swagger:model response.BlacklistContentResponse

func (*ResponseBlacklistContentResponse) ContextValidate ¶

func (m *ResponseBlacklistContentResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response blacklist content response based on the context it is used

func (*ResponseBlacklistContentResponse) MarshalBinary ¶

func (m *ResponseBlacklistContentResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseBlacklistContentResponse) UnmarshalBinary ¶

func (m *ResponseBlacklistContentResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseBlacklistContentResponse) Validate ¶

Validate validates this response blacklist content response

type ResponseBotAccountResponse ¶

type ResponseBotAccountResponse struct {

	// data
	Data *ModelsBotAccount `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseBotAccountResponse response bot account response

swagger:model response.BotAccountResponse

func (*ResponseBotAccountResponse) ContextValidate ¶

func (m *ResponseBotAccountResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response bot account response based on the context it is used

func (*ResponseBotAccountResponse) MarshalBinary ¶

func (m *ResponseBotAccountResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseBotAccountResponse) UnmarshalBinary ¶

func (m *ResponseBotAccountResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseBotAccountResponse) Validate ¶

func (m *ResponseBotAccountResponse) Validate(formats strfmt.Registry) error

Validate validates this response bot account response

type ResponseBotListData ¶

type ResponseBotListData struct {

	// records
	Records []*ModelsBot `json:"records"`

	// total
	Total int64 `json:"total,omitempty"`
}

ResponseBotListData response bot list data

swagger:model response.BotListData

func (*ResponseBotListData) ContextValidate ¶

func (m *ResponseBotListData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response bot list data based on the context it is used

func (*ResponseBotListData) MarshalBinary ¶

func (m *ResponseBotListData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseBotListData) UnmarshalBinary ¶

func (m *ResponseBotListData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseBotListData) Validate ¶

func (m *ResponseBotListData) Validate(formats strfmt.Registry) error

Validate validates this response bot list data

type ResponseBotListResponse ¶

type ResponseBotListResponse struct {

	// data
	Data *ResponseBotListData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseBotListResponse response bot list response

swagger:model response.BotListResponse

func (*ResponseBotListResponse) ContextValidate ¶

func (m *ResponseBotListResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response bot list response based on the context it is used

func (*ResponseBotListResponse) MarshalBinary ¶

func (m *ResponseBotListResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseBotListResponse) UnmarshalBinary ¶

func (m *ResponseBotListResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseBotListResponse) Validate ¶

func (m *ResponseBotListResponse) Validate(formats strfmt.Registry) error

Validate validates this response bot list response

type ResponseBotResponse ¶

type ResponseBotResponse struct {

	// data
	Data *ModelsBot `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseBotResponse response bot response

swagger:model response.BotResponse

func (*ResponseBotResponse) ContextValidate ¶

func (m *ResponseBotResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response bot response based on the context it is used

func (*ResponseBotResponse) MarshalBinary ¶

func (m *ResponseBotResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseBotResponse) UnmarshalBinary ¶

func (m *ResponseBotResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseBotResponse) Validate ¶

func (m *ResponseBotResponse) Validate(formats strfmt.Registry) error

Validate validates this response bot response

type ResponseBurnStatisticsResponse ¶

type ResponseBurnStatisticsResponse struct {

	// data
	Data *ModelsBurnStatistics `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseBurnStatisticsResponse response burn statistics response

swagger:model response.BurnStatisticsResponse

func (*ResponseBurnStatisticsResponse) ContextValidate ¶

func (m *ResponseBurnStatisticsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response burn statistics response based on the context it is used

func (*ResponseBurnStatisticsResponse) MarshalBinary ¶

func (m *ResponseBurnStatisticsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseBurnStatisticsResponse) UnmarshalBinary ¶

func (m *ResponseBurnStatisticsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseBurnStatisticsResponse) Validate ¶

func (m *ResponseBurnStatisticsResponse) Validate(formats strfmt.Registry) error

Validate validates this response burn statistics response

type ResponseCheckAvailableFreeDownloadRepoZipData ¶

type ResponseCheckAvailableFreeDownloadRepoZipData struct {

	// actual download size
	ActualDownloadSize float64 `json:"actual_download_size,omitempty"`

	// available
	Available bool `json:"available,omitempty"`

	// cost buy
	CostBuy float64 `json:"cost_buy,omitempty"`

	// cost download
	CostDownload float64 `json:"cost_download,omitempty"`

	// has lfs
	HasLfs bool `json:"has_lfs,omitempty"`

	// status
	Status string `json:"status,omitempty"`

	// symbol
	Symbol string `json:"symbol,omitempty"`

	// unit
	Unit string `json:"unit,omitempty"`
}

ResponseCheckAvailableFreeDownloadRepoZipData response check available free download repo zip data

swagger:model response.CheckAvailableFreeDownloadRepoZipData

func (*ResponseCheckAvailableFreeDownloadRepoZipData) ContextValidate ¶

ContextValidate validates this response check available free download repo zip data based on context it is used

func (*ResponseCheckAvailableFreeDownloadRepoZipData) MarshalBinary ¶

MarshalBinary interface implementation

func (*ResponseCheckAvailableFreeDownloadRepoZipData) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*ResponseCheckAvailableFreeDownloadRepoZipData) Validate ¶

Validate validates this response check available free download repo zip data

type ResponseCheckAvailableFreeDownloadRepoZipResponse ¶

type ResponseCheckAvailableFreeDownloadRepoZipResponse struct {

	// data
	Data *ResponseCheckAvailableFreeDownloadRepoZipData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseCheckAvailableFreeDownloadRepoZipResponse response check available free download repo zip response

swagger:model response.CheckAvailableFreeDownloadRepoZipResponse

func (*ResponseCheckAvailableFreeDownloadRepoZipResponse) ContextValidate ¶

ContextValidate validate this response check available free download repo zip response based on the context it is used

func (*ResponseCheckAvailableFreeDownloadRepoZipResponse) MarshalBinary ¶

MarshalBinary interface implementation

func (*ResponseCheckAvailableFreeDownloadRepoZipResponse) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*ResponseCheckAvailableFreeDownloadRepoZipResponse) Validate ¶

Validate validates this response check available free download repo zip response

type ResponseCheckModelIsServingData ¶

type ResponseCheckModelIsServingData struct {

	// consumers
	Consumers int64 `json:"consumers,omitempty"`

	// serving
	Serving bool `json:"serving,omitempty"`
}

ResponseCheckModelIsServingData response check model is serving data

swagger:model response.CheckModelIsServingData

func (*ResponseCheckModelIsServingData) ContextValidate ¶

func (m *ResponseCheckModelIsServingData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this response check model is serving data based on context it is used

func (*ResponseCheckModelIsServingData) MarshalBinary ¶

func (m *ResponseCheckModelIsServingData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseCheckModelIsServingData) UnmarshalBinary ¶

func (m *ResponseCheckModelIsServingData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseCheckModelIsServingData) Validate ¶

Validate validates this response check model is serving data

type ResponseCheckModelIsServingResponse ¶

type ResponseCheckModelIsServingResponse struct {

	// data
	Data *ResponseCheckModelIsServingData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseCheckModelIsServingResponse response check model is serving response

swagger:model response.CheckModelIsServingResponse

func (*ResponseCheckModelIsServingResponse) ContextValidate ¶

func (m *ResponseCheckModelIsServingResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response check model is serving response based on the context it is used

func (*ResponseCheckModelIsServingResponse) MarshalBinary ¶

func (m *ResponseCheckModelIsServingResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseCheckModelIsServingResponse) UnmarshalBinary ¶

func (m *ResponseCheckModelIsServingResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseCheckModelIsServingResponse) Validate ¶

Validate validates this response check model is serving response

type ResponseCheckModelPendingStateData ¶

type ResponseCheckModelPendingStateData struct {

	// pending state
	PendingState bool `json:"pending_state,omitempty"`
}

ResponseCheckModelPendingStateData response check model pending state data

swagger:model response.CheckModelPendingStateData

func (*ResponseCheckModelPendingStateData) ContextValidate ¶

func (m *ResponseCheckModelPendingStateData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this response check model pending state data based on context it is used

func (*ResponseCheckModelPendingStateData) MarshalBinary ¶

func (m *ResponseCheckModelPendingStateData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseCheckModelPendingStateData) UnmarshalBinary ¶

func (m *ResponseCheckModelPendingStateData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseCheckModelPendingStateData) Validate ¶

Validate validates this response check model pending state data

type ResponseCheckModelPendingStateResponse ¶

type ResponseCheckModelPendingStateResponse struct {

	// data
	Data *ResponseCheckModelPendingStateData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseCheckModelPendingStateResponse response check model pending state response

swagger:model response.CheckModelPendingStateResponse

func (*ResponseCheckModelPendingStateResponse) ContextValidate ¶

ContextValidate validate this response check model pending state response based on the context it is used

func (*ResponseCheckModelPendingStateResponse) MarshalBinary ¶

func (m *ResponseCheckModelPendingStateResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseCheckModelPendingStateResponse) UnmarshalBinary ¶

func (m *ResponseCheckModelPendingStateResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseCheckModelPendingStateResponse) Validate ¶

Validate validates this response check model pending state response

type ResponseCheckModelsIsServingsData ¶

type ResponseCheckModelsIsServingsData struct {

	// consumers
	Consumers int64 `json:"consumers,omitempty"`

	// serving
	Serving bool `json:"serving,omitempty"`
}

ResponseCheckModelsIsServingsData response check models is servings data

swagger:model response.CheckModelsIsServingsData

func (*ResponseCheckModelsIsServingsData) ContextValidate ¶

func (m *ResponseCheckModelsIsServingsData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this response check models is servings data based on context it is used

func (*ResponseCheckModelsIsServingsData) MarshalBinary ¶

func (m *ResponseCheckModelsIsServingsData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseCheckModelsIsServingsData) UnmarshalBinary ¶

func (m *ResponseCheckModelsIsServingsData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseCheckModelsIsServingsData) Validate ¶

Validate validates this response check models is servings data

type ResponseCheckModelsIsServingsResponse ¶

type ResponseCheckModelsIsServingsResponse struct {

	// data
	Data *ResponseCheckModelsIsServingsData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseCheckModelsIsServingsResponse response check models is servings response

swagger:model response.CheckModelsIsServingsResponse

func (*ResponseCheckModelsIsServingsResponse) ContextValidate ¶

func (m *ResponseCheckModelsIsServingsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response check models is servings response based on the context it is used

func (*ResponseCheckModelsIsServingsResponse) MarshalBinary ¶

func (m *ResponseCheckModelsIsServingsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseCheckModelsIsServingsResponse) UnmarshalBinary ¶

func (m *ResponseCheckModelsIsServingsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseCheckModelsIsServingsResponse) Validate ¶

Validate validates this response check models is servings response

type ResponseCheckUsernameExistData ¶

type ResponseCheckUsernameExistData struct {

	// existed
	Existed bool `json:"existed,omitempty"`
}

ResponseCheckUsernameExistData response check username exist data

swagger:model response.CheckUsernameExistData

func (*ResponseCheckUsernameExistData) ContextValidate ¶

func (m *ResponseCheckUsernameExistData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this response check username exist data based on context it is used

func (*ResponseCheckUsernameExistData) MarshalBinary ¶

func (m *ResponseCheckUsernameExistData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseCheckUsernameExistData) UnmarshalBinary ¶

func (m *ResponseCheckUsernameExistData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseCheckUsernameExistData) Validate ¶

func (m *ResponseCheckUsernameExistData) Validate(formats strfmt.Registry) error

Validate validates this response check username exist data

type ResponseCheckUsernameExistResponse ¶

type ResponseCheckUsernameExistResponse struct {

	// data
	Data *ResponseCheckUsernameExistData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseCheckUsernameExistResponse response check username exist response

swagger:model response.CheckUsernameExistResponse

func (*ResponseCheckUsernameExistResponse) ContextValidate ¶

func (m *ResponseCheckUsernameExistResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response check username exist response based on the context it is used

func (*ResponseCheckUsernameExistResponse) MarshalBinary ¶

func (m *ResponseCheckUsernameExistResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseCheckUsernameExistResponse) UnmarshalBinary ¶

func (m *ResponseCheckUsernameExistResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseCheckUsernameExistResponse) Validate ¶

Validate validates this response check username exist response

type ResponseCheckValidToVerifyAiModelData ¶

type ResponseCheckValidToVerifyAiModelData struct {

	// valid
	Valid bool `json:"valid,omitempty"`
}

ResponseCheckValidToVerifyAiModelData response check valid to verify ai model data

swagger:model response.CheckValidToVerifyAiModelData

func (*ResponseCheckValidToVerifyAiModelData) ContextValidate ¶

func (m *ResponseCheckValidToVerifyAiModelData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this response check valid to verify ai model data based on context it is used

func (*ResponseCheckValidToVerifyAiModelData) MarshalBinary ¶

func (m *ResponseCheckValidToVerifyAiModelData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseCheckValidToVerifyAiModelData) UnmarshalBinary ¶

func (m *ResponseCheckValidToVerifyAiModelData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseCheckValidToVerifyAiModelData) Validate ¶

Validate validates this response check valid to verify ai model data

type ResponseCheckValidToVerifyAiModelResponse ¶

type ResponseCheckValidToVerifyAiModelResponse struct {

	// data
	Data *ResponseCheckValidToVerifyAiModelData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseCheckValidToVerifyAiModelResponse response check valid to verify ai model response

swagger:model response.CheckValidToVerifyAiModelResponse

func (*ResponseCheckValidToVerifyAiModelResponse) ContextValidate ¶

ContextValidate validate this response check valid to verify ai model response based on the context it is used

func (*ResponseCheckValidToVerifyAiModelResponse) MarshalBinary ¶

func (m *ResponseCheckValidToVerifyAiModelResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseCheckValidToVerifyAiModelResponse) UnmarshalBinary ¶

func (m *ResponseCheckValidToVerifyAiModelResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseCheckValidToVerifyAiModelResponse) Validate ¶

Validate validates this response check valid to verify ai model response

type ResponseCheckedCommitListData ¶

type ResponseCheckedCommitListData struct {

	// records
	Records []*ModelsCheckedCommit `json:"records"`

	// total
	Total int64 `json:"total,omitempty"`
}

ResponseCheckedCommitListData response checked commit list data

swagger:model response.CheckedCommitListData

func (*ResponseCheckedCommitListData) ContextValidate ¶

func (m *ResponseCheckedCommitListData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response checked commit list data based on the context it is used

func (*ResponseCheckedCommitListData) MarshalBinary ¶

func (m *ResponseCheckedCommitListData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseCheckedCommitListData) UnmarshalBinary ¶

func (m *ResponseCheckedCommitListData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseCheckedCommitListData) Validate ¶

func (m *ResponseCheckedCommitListData) Validate(formats strfmt.Registry) error

Validate validates this response checked commit list data

type ResponseCheckedCommitListResponse ¶

type ResponseCheckedCommitListResponse struct {

	// data
	Data *ResponseCheckedCommitListData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseCheckedCommitListResponse response checked commit list response

swagger:model response.CheckedCommitListResponse

func (*ResponseCheckedCommitListResponse) ContextValidate ¶

func (m *ResponseCheckedCommitListResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response checked commit list response based on the context it is used

func (*ResponseCheckedCommitListResponse) MarshalBinary ¶

func (m *ResponseCheckedCommitListResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseCheckedCommitListResponse) UnmarshalBinary ¶

func (m *ResponseCheckedCommitListResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseCheckedCommitListResponse) Validate ¶

Validate validates this response checked commit list response

type ResponseCollectionListData ¶

type ResponseCollectionListData struct {

	// records
	Records []*ModelsCollection `json:"records"`

	// total
	Total int64 `json:"total,omitempty"`
}

ResponseCollectionListData response collection list data

swagger:model response.CollectionListData

func (*ResponseCollectionListData) ContextValidate ¶

func (m *ResponseCollectionListData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response collection list data based on the context it is used

func (*ResponseCollectionListData) MarshalBinary ¶

func (m *ResponseCollectionListData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseCollectionListData) UnmarshalBinary ¶

func (m *ResponseCollectionListData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseCollectionListData) Validate ¶

func (m *ResponseCollectionListData) Validate(formats strfmt.Registry) error

Validate validates this response collection list data

type ResponseCollectionListResponse ¶

type ResponseCollectionListResponse struct {

	// data
	Data *ResponseCollectionListData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseCollectionListResponse response collection list response

swagger:model response.CollectionListResponse

func (*ResponseCollectionListResponse) ContextValidate ¶

func (m *ResponseCollectionListResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response collection list response based on the context it is used

func (*ResponseCollectionListResponse) MarshalBinary ¶

func (m *ResponseCollectionListResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseCollectionListResponse) UnmarshalBinary ¶

func (m *ResponseCollectionListResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseCollectionListResponse) Validate ¶

func (m *ResponseCollectionListResponse) Validate(formats strfmt.Registry) error

Validate validates this response collection list response

type ResponseCollectionReponse ¶

type ResponseCollectionReponse struct {

	// data
	Data *ModelsCollection `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseCollectionReponse response collection reponse

swagger:model response.CollectionReponse

func (*ResponseCollectionReponse) ContextValidate ¶

func (m *ResponseCollectionReponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response collection reponse based on the context it is used

func (*ResponseCollectionReponse) MarshalBinary ¶

func (m *ResponseCollectionReponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseCollectionReponse) UnmarshalBinary ¶

func (m *ResponseCollectionReponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseCollectionReponse) Validate ¶

func (m *ResponseCollectionReponse) Validate(formats strfmt.Registry) error

Validate validates this response collection reponse

type ResponseCommentListData ¶

type ResponseCommentListData struct {

	// records
	Records []*ModelsComment `json:"records"`

	// total
	Total int64 `json:"total,omitempty"`
}

ResponseCommentListData response comment list data

swagger:model response.CommentListData

func (*ResponseCommentListData) ContextValidate ¶

func (m *ResponseCommentListData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response comment list data based on the context it is used

func (*ResponseCommentListData) MarshalBinary ¶

func (m *ResponseCommentListData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseCommentListData) UnmarshalBinary ¶

func (m *ResponseCommentListData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseCommentListData) Validate ¶

func (m *ResponseCommentListData) Validate(formats strfmt.Registry) error

Validate validates this response comment list data

type ResponseCommentListResponse ¶

type ResponseCommentListResponse struct {

	// data
	Data *ResponseCommentListData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseCommentListResponse response comment list response

swagger:model response.CommentListResponse

func (*ResponseCommentListResponse) ContextValidate ¶

func (m *ResponseCommentListResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response comment list response based on the context it is used

func (*ResponseCommentListResponse) MarshalBinary ¶

func (m *ResponseCommentListResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseCommentListResponse) UnmarshalBinary ¶

func (m *ResponseCommentListResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseCommentListResponse) Validate ¶

func (m *ResponseCommentListResponse) Validate(formats strfmt.Registry) error

Validate validates this response comment list response

type ResponseCommentResponse ¶

type ResponseCommentResponse struct {

	// data
	Data *ModelsComment `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseCommentResponse response comment response

swagger:model response.CommentResponse

func (*ResponseCommentResponse) ContextValidate ¶

func (m *ResponseCommentResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response comment response based on the context it is used

func (*ResponseCommentResponse) MarshalBinary ¶

func (m *ResponseCommentResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseCommentResponse) UnmarshalBinary ¶

func (m *ResponseCommentResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseCommentResponse) Validate ¶

func (m *ResponseCommentResponse) Validate(formats strfmt.Registry) error

Validate validates this response comment response

type ResponseCompetitionActivitySummaryData ¶

type ResponseCompetitionActivitySummaryData struct {

	// challenges
	Challenges []*ModelsChallengeSummary `json:"challenges"`

	// summary
	Summary *ModelsPlatformSummary `json:"summary,omitempty"`
}

ResponseCompetitionActivitySummaryData response competition activity summary data

swagger:model response.CompetitionActivitySummaryData

func (*ResponseCompetitionActivitySummaryData) ContextValidate ¶

ContextValidate validate this response competition activity summary data based on the context it is used

func (*ResponseCompetitionActivitySummaryData) MarshalBinary ¶

func (m *ResponseCompetitionActivitySummaryData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseCompetitionActivitySummaryData) UnmarshalBinary ¶

func (m *ResponseCompetitionActivitySummaryData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseCompetitionActivitySummaryData) Validate ¶

Validate validates this response competition activity summary data

type ResponseCompetitionActivitySummaryResponse ¶

type ResponseCompetitionActivitySummaryResponse struct {

	// data
	Data *ResponseCompetitionActivitySummaryData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseCompetitionActivitySummaryResponse response competition activity summary response

swagger:model response.CompetitionActivitySummaryResponse

func (*ResponseCompetitionActivitySummaryResponse) ContextValidate ¶

ContextValidate validate this response competition activity summary response based on the context it is used

func (*ResponseCompetitionActivitySummaryResponse) MarshalBinary ¶

func (m *ResponseCompetitionActivitySummaryResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseCompetitionActivitySummaryResponse) UnmarshalBinary ¶

func (m *ResponseCompetitionActivitySummaryResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseCompetitionActivitySummaryResponse) Validate ¶

Validate validates this response competition activity summary response

type ResponseCompetitionListData ¶

type ResponseCompetitionListData struct {

	// records
	Records []*ModelsCompetition `json:"records"`

	// total
	Total int64 `json:"total,omitempty"`
}

ResponseCompetitionListData response competition list data

swagger:model response.CompetitionListData

func (*ResponseCompetitionListData) ContextValidate ¶

func (m *ResponseCompetitionListData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response competition list data based on the context it is used

func (*ResponseCompetitionListData) MarshalBinary ¶

func (m *ResponseCompetitionListData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseCompetitionListData) UnmarshalBinary ¶

func (m *ResponseCompetitionListData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseCompetitionListData) Validate ¶

func (m *ResponseCompetitionListData) Validate(formats strfmt.Registry) error

Validate validates this response competition list data

type ResponseCompetitionListResponse ¶

type ResponseCompetitionListResponse struct {

	// data
	Data *ResponseCompetitionListData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseCompetitionListResponse response competition list response

swagger:model response.CompetitionListResponse

func (*ResponseCompetitionListResponse) ContextValidate ¶

func (m *ResponseCompetitionListResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response competition list response based on the context it is used

func (*ResponseCompetitionListResponse) MarshalBinary ¶

func (m *ResponseCompetitionListResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseCompetitionListResponse) UnmarshalBinary ¶

func (m *ResponseCompetitionListResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseCompetitionListResponse) Validate ¶

Validate validates this response competition list response

type ResponseCompetitionResponse ¶

type ResponseCompetitionResponse struct {

	// data
	Data *ModelsCompetition `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseCompetitionResponse response competition response

swagger:model response.CompetitionResponse

func (*ResponseCompetitionResponse) ContextValidate ¶

func (m *ResponseCompetitionResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response competition response based on the context it is used

func (*ResponseCompetitionResponse) MarshalBinary ¶

func (m *ResponseCompetitionResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseCompetitionResponse) UnmarshalBinary ¶

func (m *ResponseCompetitionResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseCompetitionResponse) Validate ¶

func (m *ResponseCompetitionResponse) Validate(formats strfmt.Registry) error

Validate validates this response competition response

type ResponseContentConfigListData ¶

type ResponseContentConfigListData struct {

	// records
	Records []*ModelsContentConfig `json:"records"`

	// total
	Total int64 `json:"total,omitempty"`
}

ResponseContentConfigListData response content config list data

swagger:model response.ContentConfigListData

func (*ResponseContentConfigListData) ContextValidate ¶

func (m *ResponseContentConfigListData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response content config list data based on the context it is used

func (*ResponseContentConfigListData) MarshalBinary ¶

func (m *ResponseContentConfigListData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseContentConfigListData) UnmarshalBinary ¶

func (m *ResponseContentConfigListData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseContentConfigListData) Validate ¶

func (m *ResponseContentConfigListData) Validate(formats strfmt.Registry) error

Validate validates this response content config list data

type ResponseContentConfigListResponse ¶

type ResponseContentConfigListResponse struct {

	// data
	Data *ResponseContentConfigListData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseContentConfigListResponse response content config list response

swagger:model response.ContentConfigListResponse

func (*ResponseContentConfigListResponse) ContextValidate ¶

func (m *ResponseContentConfigListResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response content config list response based on the context it is used

func (*ResponseContentConfigListResponse) MarshalBinary ¶

func (m *ResponseContentConfigListResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseContentConfigListResponse) UnmarshalBinary ¶

func (m *ResponseContentConfigListResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseContentConfigListResponse) Validate ¶

Validate validates this response content config list response

type ResponseContentConfigResponse ¶

type ResponseContentConfigResponse struct {

	// data
	Data *ModelsContentConfig `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseContentConfigResponse response content config response

swagger:model response.ContentConfigResponse

func (*ResponseContentConfigResponse) ContextValidate ¶

func (m *ResponseContentConfigResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response content config response based on the context it is used

func (*ResponseContentConfigResponse) MarshalBinary ¶

func (m *ResponseContentConfigResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseContentConfigResponse) UnmarshalBinary ¶

func (m *ResponseContentConfigResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseContentConfigResponse) Validate ¶

func (m *ResponseContentConfigResponse) Validate(formats strfmt.Registry) error

Validate validates this response content config response

type ResponseCreateOrganizationData ¶

type ResponseCreateOrganizationData struct {

	// organization
	Organization *ModelsUser `json:"organization,omitempty"`
}

ResponseCreateOrganizationData response create organization data

swagger:model response.CreateOrganizationData

func (*ResponseCreateOrganizationData) ContextValidate ¶

func (m *ResponseCreateOrganizationData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response create organization data based on the context it is used

func (*ResponseCreateOrganizationData) MarshalBinary ¶

func (m *ResponseCreateOrganizationData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseCreateOrganizationData) UnmarshalBinary ¶

func (m *ResponseCreateOrganizationData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseCreateOrganizationData) Validate ¶

func (m *ResponseCreateOrganizationData) Validate(formats strfmt.Registry) error

Validate validates this response create organization data

type ResponseCreateOrganizationResponse ¶

type ResponseCreateOrganizationResponse struct {

	// data
	Data *ResponseCreateOrganizationData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseCreateOrganizationResponse response create organization response

swagger:model response.CreateOrganizationResponse

func (*ResponseCreateOrganizationResponse) ContextValidate ¶

func (m *ResponseCreateOrganizationResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response create organization response based on the context it is used

func (*ResponseCreateOrganizationResponse) MarshalBinary ¶

func (m *ResponseCreateOrganizationResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseCreateOrganizationResponse) UnmarshalBinary ¶

func (m *ResponseCreateOrganizationResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseCreateOrganizationResponse) Validate ¶

Validate validates this response create organization response

type ResponseCreatePresignedURLData ¶

type ResponseCreatePresignedURLData struct {

	// download url
	DownloadURL string `json:"download_url,omitempty"`

	// endpoint
	Endpoint string `json:"endpoint,omitempty"`

	// fields
	Fields string `json:"fields,omitempty"`

	// message
	Message string `json:"message,omitempty"`
}

ResponseCreatePresignedURLData response create presigned Url data

swagger:model response.CreatePresignedUrlData

func (*ResponseCreatePresignedURLData) ContextValidate ¶

func (m *ResponseCreatePresignedURLData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this response create presigned Url data based on context it is used

func (*ResponseCreatePresignedURLData) MarshalBinary ¶

func (m *ResponseCreatePresignedURLData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseCreatePresignedURLData) UnmarshalBinary ¶

func (m *ResponseCreatePresignedURLData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseCreatePresignedURLData) Validate ¶

func (m *ResponseCreatePresignedURLData) Validate(formats strfmt.Registry) error

Validate validates this response create presigned Url data

type ResponseCreatePresignedURLResponse ¶

type ResponseCreatePresignedURLResponse struct {

	// data
	Data *ResponseCreatePresignedURLData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseCreatePresignedURLResponse response create presigned Url response

swagger:model response.CreatePresignedUrlResponse

func (*ResponseCreatePresignedURLResponse) ContextValidate ¶

func (m *ResponseCreatePresignedURLResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response create presigned Url response based on the context it is used

func (*ResponseCreatePresignedURLResponse) MarshalBinary ¶

func (m *ResponseCreatePresignedURLResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseCreatePresignedURLResponse) UnmarshalBinary ¶

func (m *ResponseCreatePresignedURLResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseCreatePresignedURLResponse) Validate ¶

Validate validates this response create presigned Url response

type ResponseCreatePublicKeyData ¶

type ResponseCreatePublicKeyData struct {

	// key
	Key *ModelsPublicKey `json:"key,omitempty"`
}

ResponseCreatePublicKeyData response create public key data

swagger:model response.CreatePublicKeyData

func (*ResponseCreatePublicKeyData) ContextValidate ¶

func (m *ResponseCreatePublicKeyData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response create public key data based on the context it is used

func (*ResponseCreatePublicKeyData) MarshalBinary ¶

func (m *ResponseCreatePublicKeyData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseCreatePublicKeyData) UnmarshalBinary ¶

func (m *ResponseCreatePublicKeyData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseCreatePublicKeyData) Validate ¶

func (m *ResponseCreatePublicKeyData) Validate(formats strfmt.Registry) error

Validate validates this response create public key data

type ResponseCreatePublicKeyResponse ¶

type ResponseCreatePublicKeyResponse struct {

	// data
	Data *ResponseCreatePublicKeyData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseCreatePublicKeyResponse response create public key response

swagger:model response.CreatePublicKeyResponse

func (*ResponseCreatePublicKeyResponse) ContextValidate ¶

func (m *ResponseCreatePublicKeyResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response create public key response based on the context it is used

func (*ResponseCreatePublicKeyResponse) MarshalBinary ¶

func (m *ResponseCreatePublicKeyResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseCreatePublicKeyResponse) UnmarshalBinary ¶

func (m *ResponseCreatePublicKeyResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseCreatePublicKeyResponse) Validate ¶

Validate validates this response create public key response

type ResponseCreateR2PresignedURLData ¶

type ResponseCreateR2PresignedURLData struct {

	// download url
	DownloadURL string `json:"download_url,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// url
	URL string `json:"url,omitempty"`
}

ResponseCreateR2PresignedURLData response create r2 presigned Url data

swagger:model response.CreateR2PresignedUrlData

func (*ResponseCreateR2PresignedURLData) ContextValidate ¶

func (m *ResponseCreateR2PresignedURLData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this response create r2 presigned Url data based on context it is used

func (*ResponseCreateR2PresignedURLData) MarshalBinary ¶

func (m *ResponseCreateR2PresignedURLData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseCreateR2PresignedURLData) UnmarshalBinary ¶

func (m *ResponseCreateR2PresignedURLData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseCreateR2PresignedURLData) Validate ¶

Validate validates this response create r2 presigned Url data

type ResponseCreateR2PresignedURLResponse ¶

type ResponseCreateR2PresignedURLResponse struct {

	// data
	Data *ResponseCreateR2PresignedURLData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseCreateR2PresignedURLResponse response create r2 presigned Url response

swagger:model response.CreateR2PresignedUrlResponse

func (*ResponseCreateR2PresignedURLResponse) ContextValidate ¶

func (m *ResponseCreateR2PresignedURLResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response create r2 presigned Url response based on the context it is used

func (*ResponseCreateR2PresignedURLResponse) MarshalBinary ¶

func (m *ResponseCreateR2PresignedURLResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseCreateR2PresignedURLResponse) UnmarshalBinary ¶

func (m *ResponseCreateR2PresignedURLResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseCreateR2PresignedURLResponse) Validate ¶

Validate validates this response create r2 presigned Url response

type ResponseCustomMetricListData ¶

type ResponseCustomMetricListData struct {

	// records
	Records []*ModelsCustomMetric `json:"records"`

	// total
	Total int64 `json:"total,omitempty"`
}

ResponseCustomMetricListData response custom metric list data

swagger:model response.CustomMetricListData

func (*ResponseCustomMetricListData) ContextValidate ¶

func (m *ResponseCustomMetricListData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response custom metric list data based on the context it is used

func (*ResponseCustomMetricListData) MarshalBinary ¶

func (m *ResponseCustomMetricListData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseCustomMetricListData) UnmarshalBinary ¶

func (m *ResponseCustomMetricListData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseCustomMetricListData) Validate ¶

func (m *ResponseCustomMetricListData) Validate(formats strfmt.Registry) error

Validate validates this response custom metric list data

type ResponseCustomMetricListResponse ¶

type ResponseCustomMetricListResponse struct {

	// data
	Data *ResponseCustomMetricListData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseCustomMetricListResponse response custom metric list response

swagger:model response.CustomMetricListResponse

func (*ResponseCustomMetricListResponse) ContextValidate ¶

func (m *ResponseCustomMetricListResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response custom metric list response based on the context it is used

func (*ResponseCustomMetricListResponse) MarshalBinary ¶

func (m *ResponseCustomMetricListResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseCustomMetricListResponse) UnmarshalBinary ¶

func (m *ResponseCustomMetricListResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseCustomMetricListResponse) Validate ¶

Validate validates this response custom metric list response

type ResponseCustomMetricResponse ¶

type ResponseCustomMetricResponse struct {

	// data
	Data *ModelsCustomMetric `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseCustomMetricResponse response custom metric response

swagger:model response.CustomMetricResponse

func (*ResponseCustomMetricResponse) ContextValidate ¶

func (m *ResponseCustomMetricResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response custom metric response based on the context it is used

func (*ResponseCustomMetricResponse) MarshalBinary ¶

func (m *ResponseCustomMetricResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseCustomMetricResponse) UnmarshalBinary ¶

func (m *ResponseCustomMetricResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseCustomMetricResponse) Validate ¶

func (m *ResponseCustomMetricResponse) Validate(formats strfmt.Registry) error

Validate validates this response custom metric response

type ResponseDatasetListData ¶

type ResponseDatasetListData struct {

	// records
	Records []*ModelsDataset `json:"records"`

	// total
	Total int64 `json:"total,omitempty"`
}

ResponseDatasetListData response dataset list data

swagger:model response.DatasetListData

func (*ResponseDatasetListData) ContextValidate ¶

func (m *ResponseDatasetListData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response dataset list data based on the context it is used

func (*ResponseDatasetListData) MarshalBinary ¶

func (m *ResponseDatasetListData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseDatasetListData) UnmarshalBinary ¶

func (m *ResponseDatasetListData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseDatasetListData) Validate ¶

func (m *ResponseDatasetListData) Validate(formats strfmt.Registry) error

Validate validates this response dataset list data

type ResponseDatasetListResponse ¶

type ResponseDatasetListResponse struct {

	// data
	Data *ResponseDatasetListData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseDatasetListResponse response dataset list response

swagger:model response.DatasetListResponse

func (*ResponseDatasetListResponse) ContextValidate ¶

func (m *ResponseDatasetListResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response dataset list response based on the context it is used

func (*ResponseDatasetListResponse) MarshalBinary ¶

func (m *ResponseDatasetListResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseDatasetListResponse) UnmarshalBinary ¶

func (m *ResponseDatasetListResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseDatasetListResponse) Validate ¶

func (m *ResponseDatasetListResponse) Validate(formats strfmt.Registry) error

Validate validates this response dataset list response

type ResponseDatasetMetadataResponse ¶

type ResponseDatasetMetadataResponse struct {

	// data
	Data *ModelsDatasetMetadata `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseDatasetMetadataResponse response dataset metadata response

swagger:model response.DatasetMetadataResponse

func (*ResponseDatasetMetadataResponse) ContextValidate ¶

func (m *ResponseDatasetMetadataResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response dataset metadata response based on the context it is used

func (*ResponseDatasetMetadataResponse) MarshalBinary ¶

func (m *ResponseDatasetMetadataResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseDatasetMetadataResponse) UnmarshalBinary ¶

func (m *ResponseDatasetMetadataResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseDatasetMetadataResponse) Validate ¶

Validate validates this response dataset metadata response

type ResponseDatasetResponse ¶

type ResponseDatasetResponse struct {

	// data
	Data *ModelsDataset `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseDatasetResponse response dataset response

swagger:model response.DatasetResponse

func (*ResponseDatasetResponse) ContextValidate ¶

func (m *ResponseDatasetResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response dataset response based on the context it is used

func (*ResponseDatasetResponse) MarshalBinary ¶

func (m *ResponseDatasetResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseDatasetResponse) UnmarshalBinary ¶

func (m *ResponseDatasetResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseDatasetResponse) Validate ¶

func (m *ResponseDatasetResponse) Validate(formats strfmt.Registry) error

Validate validates this response dataset response

type ResponseDeleteRepositoryContentData ¶

type ResponseDeleteRepositoryContentData struct {

	// commit
	Commit *ModelsFileCommit `json:"commit,omitempty"`
}

ResponseDeleteRepositoryContentData response delete repository content data

swagger:model response.DeleteRepositoryContentData

func (*ResponseDeleteRepositoryContentData) ContextValidate ¶

func (m *ResponseDeleteRepositoryContentData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response delete repository content data based on the context it is used

func (*ResponseDeleteRepositoryContentData) MarshalBinary ¶

func (m *ResponseDeleteRepositoryContentData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseDeleteRepositoryContentData) UnmarshalBinary ¶

func (m *ResponseDeleteRepositoryContentData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseDeleteRepositoryContentData) Validate ¶

Validate validates this response delete repository content data

type ResponseDeleteRepositoryContentResponse ¶

type ResponseDeleteRepositoryContentResponse struct {

	// data
	Data *ResponseDeleteRepositoryContentData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseDeleteRepositoryContentResponse response delete repository content response

swagger:model response.DeleteRepositoryContentResponse

func (*ResponseDeleteRepositoryContentResponse) ContextValidate ¶

ContextValidate validate this response delete repository content response based on the context it is used

func (*ResponseDeleteRepositoryContentResponse) MarshalBinary ¶

func (m *ResponseDeleteRepositoryContentResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseDeleteRepositoryContentResponse) UnmarshalBinary ¶

func (m *ResponseDeleteRepositoryContentResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseDeleteRepositoryContentResponse) Validate ¶

Validate validates this response delete repository content response

type ResponseDependencyData ¶

type ResponseDependencyData struct {

	// active
	Active bool `json:"active,omitempty"`

	// created at
	CreatedAt string `json:"created_at,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// id
	ID *string `json:"id,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// updated at
	UpdatedAt string `json:"updated_at,omitempty"`

	// url
	URL string `json:"url,omitempty"`

	// version
	Version string `json:"version,omitempty"`
}

ResponseDependencyData response dependency data

swagger:model response.DependencyData

func (*ResponseDependencyData) ContextValidate ¶

func (m *ResponseDependencyData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this response dependency data based on context it is used

func (*ResponseDependencyData) MarshalBinary ¶

func (m *ResponseDependencyData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseDependencyData) UnmarshalBinary ¶

func (m *ResponseDependencyData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseDependencyData) Validate ¶

func (m *ResponseDependencyData) Validate(formats strfmt.Registry) error

Validate validates this response dependency data

type ResponseDependencyLibRequestData ¶

type ResponseDependencyLibRequestData struct {

	// created at
	CreatedAt string `json:"created_at,omitempty"`

	// id
	ID *string `json:"id,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// updated at
	UpdatedAt string `json:"updated_at,omitempty"`

	// url
	URL string `json:"url,omitempty"`

	// version
	Version string `json:"version,omitempty"`
}

ResponseDependencyLibRequestData response dependency lib request data

swagger:model response.DependencyLibRequestData

func (*ResponseDependencyLibRequestData) ContextValidate ¶

func (m *ResponseDependencyLibRequestData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this response dependency lib request data based on context it is used

func (*ResponseDependencyLibRequestData) MarshalBinary ¶

func (m *ResponseDependencyLibRequestData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseDependencyLibRequestData) UnmarshalBinary ¶

func (m *ResponseDependencyLibRequestData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseDependencyLibRequestData) Validate ¶

Validate validates this response dependency lib request data

type ResponseDependencyLibRequestListData ¶

type ResponseDependencyLibRequestListData struct {

	// records
	Records []*ModelsDependencyLibRequest `json:"records"`

	// total
	Total int64 `json:"total,omitempty"`
}

ResponseDependencyLibRequestListData response dependency lib request list data

swagger:model response.DependencyLibRequestListData

func (*ResponseDependencyLibRequestListData) ContextValidate ¶

func (m *ResponseDependencyLibRequestListData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response dependency lib request list data based on the context it is used

func (*ResponseDependencyLibRequestListData) MarshalBinary ¶

func (m *ResponseDependencyLibRequestListData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseDependencyLibRequestListData) UnmarshalBinary ¶

func (m *ResponseDependencyLibRequestListData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseDependencyLibRequestListData) Validate ¶

Validate validates this response dependency lib request list data

type ResponseDependencyLibRequestListResponse ¶

type ResponseDependencyLibRequestListResponse struct {

	// data
	Data *ResponseDependencyLibRequestListData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseDependencyLibRequestListResponse response dependency lib request list response

swagger:model response.DependencyLibRequestListResponse

func (*ResponseDependencyLibRequestListResponse) ContextValidate ¶

ContextValidate validate this response dependency lib request list response based on the context it is used

func (*ResponseDependencyLibRequestListResponse) MarshalBinary ¶

func (m *ResponseDependencyLibRequestListResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseDependencyLibRequestListResponse) UnmarshalBinary ¶

func (m *ResponseDependencyLibRequestListResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseDependencyLibRequestListResponse) Validate ¶

Validate validates this response dependency lib request list response

type ResponseDependencyLibRequestResponse ¶

type ResponseDependencyLibRequestResponse struct {

	// data
	Data *ResponseDependencyLibRequestData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseDependencyLibRequestResponse response dependency lib request response

swagger:model response.DependencyLibRequestResponse

func (*ResponseDependencyLibRequestResponse) ContextValidate ¶

func (m *ResponseDependencyLibRequestResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response dependency lib request response based on the context it is used

func (*ResponseDependencyLibRequestResponse) MarshalBinary ¶

func (m *ResponseDependencyLibRequestResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseDependencyLibRequestResponse) UnmarshalBinary ¶

func (m *ResponseDependencyLibRequestResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseDependencyLibRequestResponse) Validate ¶

Validate validates this response dependency lib request response

type ResponseDependencyListData ¶

type ResponseDependencyListData struct {

	// records
	Records []*ModelsDependency `json:"records"`

	// total
	Total int64 `json:"total,omitempty"`
}

ResponseDependencyListData response dependency list data

swagger:model response.DependencyListData

func (*ResponseDependencyListData) ContextValidate ¶

func (m *ResponseDependencyListData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response dependency list data based on the context it is used

func (*ResponseDependencyListData) MarshalBinary ¶

func (m *ResponseDependencyListData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseDependencyListData) UnmarshalBinary ¶

func (m *ResponseDependencyListData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseDependencyListData) Validate ¶

func (m *ResponseDependencyListData) Validate(formats strfmt.Registry) error

Validate validates this response dependency list data

type ResponseDependencyListResponse ¶

type ResponseDependencyListResponse struct {

	// data
	Data *ResponseDependencyListData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseDependencyListResponse response dependency list response

swagger:model response.DependencyListResponse

func (*ResponseDependencyListResponse) ContextValidate ¶

func (m *ResponseDependencyListResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response dependency list response based on the context it is used

func (*ResponseDependencyListResponse) MarshalBinary ¶

func (m *ResponseDependencyListResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseDependencyListResponse) UnmarshalBinary ¶

func (m *ResponseDependencyListResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseDependencyListResponse) Validate ¶

func (m *ResponseDependencyListResponse) Validate(formats strfmt.Registry) error

Validate validates this response dependency list response

type ResponseDependencyResponse ¶

type ResponseDependencyResponse struct {

	// data
	Data *ResponseDependencyData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseDependencyResponse response dependency response

swagger:model response.DependencyResponse

func (*ResponseDependencyResponse) ContextValidate ¶

func (m *ResponseDependencyResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response dependency response based on the context it is used

func (*ResponseDependencyResponse) MarshalBinary ¶

func (m *ResponseDependencyResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseDependencyResponse) UnmarshalBinary ¶

func (m *ResponseDependencyResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseDependencyResponse) Validate ¶

func (m *ResponseDependencyResponse) Validate(formats strfmt.Registry) error

Validate validates this response dependency response

type ResponseDiscussionListData ¶

type ResponseDiscussionListData struct {

	// records
	Records []*ModelsLiteDiscussion `json:"records"`

	// total
	Total int64 `json:"total,omitempty"`
}

ResponseDiscussionListData response discussion list data

swagger:model response.DiscussionListData

func (*ResponseDiscussionListData) ContextValidate ¶

func (m *ResponseDiscussionListData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response discussion list data based on the context it is used

func (*ResponseDiscussionListData) MarshalBinary ¶

func (m *ResponseDiscussionListData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseDiscussionListData) UnmarshalBinary ¶

func (m *ResponseDiscussionListData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseDiscussionListData) Validate ¶

func (m *ResponseDiscussionListData) Validate(formats strfmt.Registry) error

Validate validates this response discussion list data

type ResponseDiscussionListResponse ¶

type ResponseDiscussionListResponse struct {

	// data
	Data *ResponseDiscussionListData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseDiscussionListResponse response discussion list response

swagger:model response.DiscussionListResponse

func (*ResponseDiscussionListResponse) ContextValidate ¶

func (m *ResponseDiscussionListResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response discussion list response based on the context it is used

func (*ResponseDiscussionListResponse) MarshalBinary ¶

func (m *ResponseDiscussionListResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseDiscussionListResponse) UnmarshalBinary ¶

func (m *ResponseDiscussionListResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseDiscussionListResponse) Validate ¶

func (m *ResponseDiscussionListResponse) Validate(formats strfmt.Registry) error

Validate validates this response discussion list response

type ResponseDiscussionResponse ¶

type ResponseDiscussionResponse struct {

	// data
	Data *ModelsLiteDiscussion `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseDiscussionResponse response discussion response

swagger:model response.DiscussionResponse

func (*ResponseDiscussionResponse) ContextValidate ¶

func (m *ResponseDiscussionResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response discussion response based on the context it is used

func (*ResponseDiscussionResponse) MarshalBinary ¶

func (m *ResponseDiscussionResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseDiscussionResponse) UnmarshalBinary ¶

func (m *ResponseDiscussionResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseDiscussionResponse) Validate ¶

func (m *ResponseDiscussionResponse) Validate(formats strfmt.Registry) error

Validate validates this response discussion response

type ResponseDistributeTaskData ¶ added in v1.0.1

type ResponseDistributeTaskData struct {
	// data
	Data string `json:"data,omitempty"`
}

ResponseDistributeTaskData nested task ID returned by POST /api-key/model/{id}/task.

func (*ResponseDistributeTaskData) ContextValidate ¶ added in v1.0.1

func (m *ResponseDistributeTaskData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this response distribute task data based on context it is used

func (*ResponseDistributeTaskData) MarshalBinary ¶ added in v1.0.1

func (m *ResponseDistributeTaskData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseDistributeTaskData) UnmarshalBinary ¶ added in v1.0.1

func (m *ResponseDistributeTaskData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseDistributeTaskData) Validate ¶ added in v1.0.1

func (m *ResponseDistributeTaskData) Validate(formats strfmt.Registry) error

Validate validates this response distribute task data

type ResponseDistributeTaskResponse ¶

type ResponseDistributeTaskResponse struct {

	// data
	Data *ResponseDistributeTaskData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseDistributeTaskResponse response distribute task response

swagger:model response.DistributeTaskResponse

func (*ResponseDistributeTaskResponse) ContextValidate ¶

func (m *ResponseDistributeTaskResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this response distribute task response based on context it is used

func (*ResponseDistributeTaskResponse) MarshalBinary ¶

func (m *ResponseDistributeTaskResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseDistributeTaskResponse) UnmarshalBinary ¶

func (m *ResponseDistributeTaskResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseDistributeTaskResponse) Validate ¶

func (m *ResponseDistributeTaskResponse) Validate(formats strfmt.Registry) error

Validate validates this response distribute task response

type ResponseDownloadDatasetListData ¶

type ResponseDownloadDatasetListData struct {

	// records
	Records []*ModelsLiteDownloadDataset `json:"records"`

	// total
	Total int64 `json:"total,omitempty"`
}

ResponseDownloadDatasetListData response download dataset list data

swagger:model response.DownloadDatasetListData

func (*ResponseDownloadDatasetListData) ContextValidate ¶

func (m *ResponseDownloadDatasetListData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response download dataset list data based on the context it is used

func (*ResponseDownloadDatasetListData) MarshalBinary ¶

func (m *ResponseDownloadDatasetListData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseDownloadDatasetListData) UnmarshalBinary ¶

func (m *ResponseDownloadDatasetListData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseDownloadDatasetListData) Validate ¶

Validate validates this response download dataset list data

type ResponseDownloadDatasetListResponse ¶

type ResponseDownloadDatasetListResponse struct {

	// data
	Data *ResponseDownloadDatasetListData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseDownloadDatasetListResponse response download dataset list response

swagger:model response.DownloadDatasetListResponse

func (*ResponseDownloadDatasetListResponse) ContextValidate ¶

func (m *ResponseDownloadDatasetListResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response download dataset list response based on the context it is used

func (*ResponseDownloadDatasetListResponse) MarshalBinary ¶

func (m *ResponseDownloadDatasetListResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseDownloadDatasetListResponse) UnmarshalBinary ¶

func (m *ResponseDownloadDatasetListResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseDownloadDatasetListResponse) Validate ¶

Validate validates this response download dataset list response

type ResponseDownloadModelListData ¶

type ResponseDownloadModelListData struct {

	// records
	Records []*ModelsLiteDownloadModel `json:"records"`

	// total
	Total int64 `json:"total,omitempty"`
}

ResponseDownloadModelListData response download model list data

swagger:model response.DownloadModelListData

func (*ResponseDownloadModelListData) ContextValidate ¶

func (m *ResponseDownloadModelListData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response download model list data based on the context it is used

func (*ResponseDownloadModelListData) MarshalBinary ¶

func (m *ResponseDownloadModelListData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseDownloadModelListData) UnmarshalBinary ¶

func (m *ResponseDownloadModelListData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseDownloadModelListData) Validate ¶

func (m *ResponseDownloadModelListData) Validate(formats strfmt.Registry) error

Validate validates this response download model list data

type ResponseDownloadModelListResponse ¶

type ResponseDownloadModelListResponse struct {

	// data
	Data *ResponseDownloadModelListData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseDownloadModelListResponse response download model list response

swagger:model response.DownloadModelListResponse

func (*ResponseDownloadModelListResponse) ContextValidate ¶

func (m *ResponseDownloadModelListResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response download model list response based on the context it is used

func (*ResponseDownloadModelListResponse) MarshalBinary ¶

func (m *ResponseDownloadModelListResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseDownloadModelListResponse) UnmarshalBinary ¶

func (m *ResponseDownloadModelListResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseDownloadModelListResponse) Validate ¶

Validate validates this response download model list response

type ResponseErrorResponse ¶

type ResponseErrorResponse struct {

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseErrorResponse response error response

swagger:model response.ErrorResponse

func (*ResponseErrorResponse) ContextValidate ¶

func (m *ResponseErrorResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this response error response based on context it is used

func (*ResponseErrorResponse) MarshalBinary ¶

func (m *ResponseErrorResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseErrorResponse) UnmarshalBinary ¶

func (m *ResponseErrorResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseErrorResponse) Validate ¶

func (m *ResponseErrorResponse) Validate(formats strfmt.Registry) error

Validate validates this response error response

type ResponseEstimateCostData ¶

type ResponseEstimateCostData struct {

	// cost
	Cost float64 `json:"cost,omitempty"`

	// symbol
	Symbol *string `json:"symbol,omitempty"`

	// unit
	Unit *string `json:"unit,omitempty"`
}

ResponseEstimateCostData response estimate cost data

swagger:model response.EstimateCostData

func (*ResponseEstimateCostData) ContextValidate ¶

func (m *ResponseEstimateCostData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this response estimate cost data based on context it is used

func (*ResponseEstimateCostData) MarshalBinary ¶

func (m *ResponseEstimateCostData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseEstimateCostData) UnmarshalBinary ¶

func (m *ResponseEstimateCostData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseEstimateCostData) Validate ¶

func (m *ResponseEstimateCostData) Validate(formats strfmt.Registry) error

Validate validates this response estimate cost data

type ResponseEstimateCostResponse ¶

type ResponseEstimateCostResponse struct {

	// data
	Data *ResponseEstimateCostData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseEstimateCostResponse response estimate cost response

swagger:model response.EstimateCostResponse

func (*ResponseEstimateCostResponse) ContextValidate ¶

func (m *ResponseEstimateCostResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response estimate cost response based on the context it is used

func (*ResponseEstimateCostResponse) MarshalBinary ¶

func (m *ResponseEstimateCostResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseEstimateCostResponse) UnmarshalBinary ¶

func (m *ResponseEstimateCostResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseEstimateCostResponse) Validate ¶

func (m *ResponseEstimateCostResponse) Validate(formats strfmt.Registry) error

Validate validates this response estimate cost response

type ResponseEvaluateTaskData ¶

type ResponseEvaluateTaskData struct {

	// platform
	Platform string `json:"platform,omitempty"`

	// received
	Received float64 `json:"received,omitempty"`

	// result
	Result *ResponseResultEvaluate `json:"result,omitempty"`

	// runtime
	Runtime float64 `json:"runtime,omitempty"`

	// started
	Started float64 `json:"started,omitempty"`

	// state
	State string `json:"state,omitempty"`

	// succeeded
	Succeeded float64 `json:"succeeded,omitempty"`

	// timestamp
	Timestamp float64 `json:"timestamp,omitempty"`

	// traceback
	Traceback string `json:"traceback,omitempty"`
}

ResponseEvaluateTaskData response evaluate task data

swagger:model response.EvaluateTaskData

func (*ResponseEvaluateTaskData) ContextValidate ¶

func (m *ResponseEvaluateTaskData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response evaluate task data based on the context it is used

func (*ResponseEvaluateTaskData) MarshalBinary ¶

func (m *ResponseEvaluateTaskData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseEvaluateTaskData) UnmarshalBinary ¶

func (m *ResponseEvaluateTaskData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseEvaluateTaskData) Validate ¶

func (m *ResponseEvaluateTaskData) Validate(formats strfmt.Registry) error

Validate validates this response evaluate task data

type ResponseEvaluateTaskResponse ¶

type ResponseEvaluateTaskResponse struct {

	// data
	Data *ResponseEvaluateTaskData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseEvaluateTaskResponse response evaluate task response

swagger:model response.EvaluateTaskResponse

func (*ResponseEvaluateTaskResponse) ContextValidate ¶

func (m *ResponseEvaluateTaskResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response evaluate task response based on the context it is used

func (*ResponseEvaluateTaskResponse) MarshalBinary ¶

func (m *ResponseEvaluateTaskResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseEvaluateTaskResponse) UnmarshalBinary ¶

func (m *ResponseEvaluateTaskResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseEvaluateTaskResponse) Validate ¶

func (m *ResponseEvaluateTaskResponse) Validate(formats strfmt.Registry) error

Validate validates this response evaluate task response

type ResponseEvaluationSettingResponse ¶

type ResponseEvaluationSettingResponse struct {

	// data
	Data *ModelsEvaluationSetting `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseEvaluationSettingResponse response evaluation setting response

swagger:model response.EvaluationSettingResponse

func (*ResponseEvaluationSettingResponse) ContextValidate ¶

func (m *ResponseEvaluationSettingResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response evaluation setting response based on the context it is used

func (*ResponseEvaluationSettingResponse) MarshalBinary ¶

func (m *ResponseEvaluationSettingResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseEvaluationSettingResponse) UnmarshalBinary ¶

func (m *ResponseEvaluationSettingResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseEvaluationSettingResponse) Validate ¶

Validate validates this response evaluation setting response

type ResponseExportLeaderboardResponse ¶

type ResponseExportLeaderboardResponse struct {

	// data
	Data *ModelsExportLeaderboard `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseExportLeaderboardResponse response export leaderboard response

swagger:model response.ExportLeaderboardResponse

func (*ResponseExportLeaderboardResponse) ContextValidate ¶

func (m *ResponseExportLeaderboardResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response export leaderboard response based on the context it is used

func (*ResponseExportLeaderboardResponse) MarshalBinary ¶

func (m *ResponseExportLeaderboardResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseExportLeaderboardResponse) UnmarshalBinary ¶

func (m *ResponseExportLeaderboardResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseExportLeaderboardResponse) Validate ¶

Validate validates this response export leaderboard response

type ResponseFailResponse ¶

type ResponseFailResponse struct {

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseFailResponse response fail response

swagger:model response.FailResponse

func (*ResponseFailResponse) ContextValidate ¶

func (m *ResponseFailResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this response fail response based on context it is used

func (*ResponseFailResponse) MarshalBinary ¶

func (m *ResponseFailResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseFailResponse) UnmarshalBinary ¶

func (m *ResponseFailResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseFailResponse) Validate ¶

func (m *ResponseFailResponse) Validate(formats strfmt.Registry) error

Validate validates this response fail response

type ResponseGPUMemory ¶

type ResponseGPUMemory struct {

	// total
	Total float64 `json:"total,omitempty"`

	// usage
	Usage float64 `json:"usage,omitempty"`
}

ResponseGPUMemory response g p u memory

swagger:model response.GPUMemory

func (*ResponseGPUMemory) ContextValidate ¶

func (m *ResponseGPUMemory) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this response g p u memory based on context it is used

func (*ResponseGPUMemory) MarshalBinary ¶

func (m *ResponseGPUMemory) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseGPUMemory) UnmarshalBinary ¶

func (m *ResponseGPUMemory) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseGPUMemory) Validate ¶

func (m *ResponseGPUMemory) Validate(formats strfmt.Registry) error

Validate validates this response g p u memory

type ResponseGPUStats ¶

type ResponseGPUStats struct {

	// devices
	Devices map[string]int64 `json:"devices,omitempty"`

	// total gpu memory
	TotalGpuMemory map[string]int64 `json:"total_gpu_memory,omitempty"`
}

ResponseGPUStats response g p u stats

swagger:model response.GPUStats

func (*ResponseGPUStats) ContextValidate ¶

func (m *ResponseGPUStats) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this response g p u stats based on context it is used

func (*ResponseGPUStats) MarshalBinary ¶

func (m *ResponseGPUStats) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseGPUStats) UnmarshalBinary ¶

func (m *ResponseGPUStats) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseGPUStats) Validate ¶

func (m *ResponseGPUStats) Validate(formats strfmt.Registry) error

Validate validates this response g p u stats

type ResponseGetAPIKeyPermissionData ¶

type ResponseGetAPIKeyPermissionData struct {

	// api key packages
	APIKeyPackages []*ModelsAPIKeyPackage `json:"api_key_packages"`

	// limit models
	LimitModels bool `json:"limit_models,omitempty"`

	// models
	Models []string `json:"models"`
}

ResponseGetAPIKeyPermissionData response get Api key permission data

swagger:model response.GetApiKeyPermissionData

func (*ResponseGetAPIKeyPermissionData) ContextValidate ¶

func (m *ResponseGetAPIKeyPermissionData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response get Api key permission data based on the context it is used

func (*ResponseGetAPIKeyPermissionData) MarshalBinary ¶

func (m *ResponseGetAPIKeyPermissionData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseGetAPIKeyPermissionData) UnmarshalBinary ¶

func (m *ResponseGetAPIKeyPermissionData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseGetAPIKeyPermissionData) Validate ¶

Validate validates this response get Api key permission data

type ResponseGetAPIKeyPermissionResponse ¶

type ResponseGetAPIKeyPermissionResponse struct {

	// data
	Data *ResponseGetAPIKeyPermissionData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseGetAPIKeyPermissionResponse response get Api key permission response

swagger:model response.GetApiKeyPermissionResponse

func (*ResponseGetAPIKeyPermissionResponse) ContextValidate ¶

func (m *ResponseGetAPIKeyPermissionResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response get Api key permission response based on the context it is used

func (*ResponseGetAPIKeyPermissionResponse) MarshalBinary ¶

func (m *ResponseGetAPIKeyPermissionResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseGetAPIKeyPermissionResponse) UnmarshalBinary ¶

func (m *ResponseGetAPIKeyPermissionResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseGetAPIKeyPermissionResponse) Validate ¶

Validate validates this response get Api key permission response

type ResponseGetBranchesData ¶

type ResponseGetBranchesData struct {

	// branches
	Branches []*ModelsBranch `json:"branches"`
}

ResponseGetBranchesData response get branches data

swagger:model response.GetBranchesData

func (*ResponseGetBranchesData) ContextValidate ¶

func (m *ResponseGetBranchesData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response get branches data based on the context it is used

func (*ResponseGetBranchesData) MarshalBinary ¶

func (m *ResponseGetBranchesData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseGetBranchesData) UnmarshalBinary ¶

func (m *ResponseGetBranchesData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseGetBranchesData) Validate ¶

func (m *ResponseGetBranchesData) Validate(formats strfmt.Registry) error

Validate validates this response get branches data

type ResponseGetBranchesResponse ¶

type ResponseGetBranchesResponse struct {

	// data
	Data *ResponseGetBranchesData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseGetBranchesResponse response get branches response

swagger:model response.GetBranchesResponse

func (*ResponseGetBranchesResponse) ContextValidate ¶

func (m *ResponseGetBranchesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response get branches response based on the context it is used

func (*ResponseGetBranchesResponse) MarshalBinary ¶

func (m *ResponseGetBranchesResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseGetBranchesResponse) UnmarshalBinary ¶

func (m *ResponseGetBranchesResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseGetBranchesResponse) Validate ¶

func (m *ResponseGetBranchesResponse) Validate(formats strfmt.Registry) error

Validate validates this response get branches response

type ResponseGetCollaboratorsData ¶

type ResponseGetCollaboratorsData struct {

	// collaborators
	Collaborators []*ModelsUser `json:"collaborators"`
}

ResponseGetCollaboratorsData response get collaborators data

swagger:model response.GetCollaboratorsData

func (*ResponseGetCollaboratorsData) ContextValidate ¶

func (m *ResponseGetCollaboratorsData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response get collaborators data based on the context it is used

func (*ResponseGetCollaboratorsData) MarshalBinary ¶

func (m *ResponseGetCollaboratorsData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseGetCollaboratorsData) UnmarshalBinary ¶

func (m *ResponseGetCollaboratorsData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseGetCollaboratorsData) Validate ¶

func (m *ResponseGetCollaboratorsData) Validate(formats strfmt.Registry) error

Validate validates this response get collaborators data

type ResponseGetCollaboratorsResponse ¶

type ResponseGetCollaboratorsResponse struct {

	// data
	Data *ResponseGetCollaboratorsData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseGetCollaboratorsResponse response get collaborators response

swagger:model response.GetCollaboratorsResponse

func (*ResponseGetCollaboratorsResponse) ContextValidate ¶

func (m *ResponseGetCollaboratorsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response get collaborators response based on the context it is used

func (*ResponseGetCollaboratorsResponse) MarshalBinary ¶

func (m *ResponseGetCollaboratorsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseGetCollaboratorsResponse) UnmarshalBinary ¶

func (m *ResponseGetCollaboratorsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseGetCollaboratorsResponse) Validate ¶

Validate validates this response get collaborators response

type ResponseGetCommitDiffData ¶

type ResponseGetCommitDiffData struct {

	// content
	Content string `json:"content,omitempty"`
}

ResponseGetCommitDiffData response get commit diff data

swagger:model response.GetCommitDiffData

func (*ResponseGetCommitDiffData) ContextValidate ¶

func (m *ResponseGetCommitDiffData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this response get commit diff data based on context it is used

func (*ResponseGetCommitDiffData) MarshalBinary ¶

func (m *ResponseGetCommitDiffData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseGetCommitDiffData) UnmarshalBinary ¶

func (m *ResponseGetCommitDiffData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseGetCommitDiffData) Validate ¶

func (m *ResponseGetCommitDiffData) Validate(formats strfmt.Registry) error

Validate validates this response get commit diff data

type ResponseGetCommitHistoryData ¶

type ResponseGetCommitHistoryData struct {

	// commit
	Commit []*ModelsCommit `json:"commit"`

	// has more
	HasMore bool `json:"has_more,omitempty"`

	// last page
	LastPage int64 `json:"last_page,omitempty"`
}

ResponseGetCommitHistoryData response get commit history data

swagger:model response.GetCommitHistoryData

func (*ResponseGetCommitHistoryData) ContextValidate ¶

func (m *ResponseGetCommitHistoryData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response get commit history data based on the context it is used

func (*ResponseGetCommitHistoryData) MarshalBinary ¶

func (m *ResponseGetCommitHistoryData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseGetCommitHistoryData) UnmarshalBinary ¶

func (m *ResponseGetCommitHistoryData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseGetCommitHistoryData) Validate ¶

func (m *ResponseGetCommitHistoryData) Validate(formats strfmt.Registry) error

Validate validates this response get commit history data

type ResponseGetCommitHistoryResponse ¶

type ResponseGetCommitHistoryResponse struct {

	// data
	Data *ResponseGetCommitHistoryData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseGetCommitHistoryResponse response get commit history response

swagger:model response.GetCommitHistoryResponse

func (*ResponseGetCommitHistoryResponse) ContextValidate ¶

func (m *ResponseGetCommitHistoryResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response get commit history response based on the context it is used

func (*ResponseGetCommitHistoryResponse) MarshalBinary ¶

func (m *ResponseGetCommitHistoryResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseGetCommitHistoryResponse) UnmarshalBinary ¶

func (m *ResponseGetCommitHistoryResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseGetCommitHistoryResponse) Validate ¶

Validate validates this response get commit history response

type ResponseGetCommitTreeData ¶

type ResponseGetCommitTreeData struct {

	// tree
	Tree *ModelsCommitTree `json:"tree,omitempty"`
}

ResponseGetCommitTreeData response get commit tree data

swagger:model response.GetCommitTreeData

func (*ResponseGetCommitTreeData) ContextValidate ¶

func (m *ResponseGetCommitTreeData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response get commit tree data based on the context it is used

func (*ResponseGetCommitTreeData) MarshalBinary ¶

func (m *ResponseGetCommitTreeData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseGetCommitTreeData) UnmarshalBinary ¶

func (m *ResponseGetCommitTreeData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseGetCommitTreeData) Validate ¶

func (m *ResponseGetCommitTreeData) Validate(formats strfmt.Registry) error

Validate validates this response get commit tree data

type ResponseGetCommitTreeResponse ¶

type ResponseGetCommitTreeResponse struct {

	// data
	Data *ResponseGetCommitTreeData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseGetCommitTreeResponse response get commit tree response

swagger:model response.GetCommitTreeResponse

func (*ResponseGetCommitTreeResponse) ContextValidate ¶

func (m *ResponseGetCommitTreeResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response get commit tree response based on the context it is used

func (*ResponseGetCommitTreeResponse) MarshalBinary ¶

func (m *ResponseGetCommitTreeResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseGetCommitTreeResponse) UnmarshalBinary ¶

func (m *ResponseGetCommitTreeResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseGetCommitTreeResponse) Validate ¶

func (m *ResponseGetCommitTreeResponse) Validate(formats strfmt.Registry) error

Validate validates this response get commit tree response

type ResponseGetHubStatisticsData ¶

type ResponseGetHubStatisticsData struct {

	// total node
	TotalNode int64 `json:"total_node,omitempty"`

	// total node offline
	TotalNodeOffline int64 `json:"total_node_offline,omitempty"`

	// total node online
	TotalNodeOnline int64 `json:"total_node_online,omitempty"`

	// total reward
	TotalReward int64 `json:"total_reward,omitempty"`

	// total task
	TotalTask int64 `json:"total_task,omitempty"`
}

ResponseGetHubStatisticsData response get hub statistics data

swagger:model response.GetHubStatisticsData

func (*ResponseGetHubStatisticsData) ContextValidate ¶

func (m *ResponseGetHubStatisticsData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this response get hub statistics data based on context it is used

func (*ResponseGetHubStatisticsData) MarshalBinary ¶

func (m *ResponseGetHubStatisticsData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseGetHubStatisticsData) UnmarshalBinary ¶

func (m *ResponseGetHubStatisticsData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseGetHubStatisticsData) Validate ¶

func (m *ResponseGetHubStatisticsData) Validate(formats strfmt.Registry) error

Validate validates this response get hub statistics data

type ResponseGetHubStatisticsRessponse ¶

type ResponseGetHubStatisticsRessponse struct {

	// data
	Data *ResponseGetHubStatisticsData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseGetHubStatisticsRessponse response get hub statistics ressponse

swagger:model response.GetHubStatisticsRessponse

func (*ResponseGetHubStatisticsRessponse) ContextValidate ¶

func (m *ResponseGetHubStatisticsRessponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response get hub statistics ressponse based on the context it is used

func (*ResponseGetHubStatisticsRessponse) MarshalBinary ¶

func (m *ResponseGetHubStatisticsRessponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseGetHubStatisticsRessponse) UnmarshalBinary ¶

func (m *ResponseGetHubStatisticsRessponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseGetHubStatisticsRessponse) Validate ¶

Validate validates this response get hub statistics ressponse

type ResponseGetLinkWalletAddressChallengeData ¶

type ResponseGetLinkWalletAddressChallengeData struct {

	// challenge
	Challenge string `json:"challenge,omitempty"`
}

ResponseGetLinkWalletAddressChallengeData response get link wallet address challenge data

swagger:model response.GetLinkWalletAddressChallengeData

func (*ResponseGetLinkWalletAddressChallengeData) ContextValidate ¶

ContextValidate validates this response get link wallet address challenge data based on context it is used

func (*ResponseGetLinkWalletAddressChallengeData) MarshalBinary ¶

func (m *ResponseGetLinkWalletAddressChallengeData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseGetLinkWalletAddressChallengeData) UnmarshalBinary ¶

func (m *ResponseGetLinkWalletAddressChallengeData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseGetLinkWalletAddressChallengeData) Validate ¶

Validate validates this response get link wallet address challenge data

type ResponseGetLinkWalletAddressChallengeResponse ¶

type ResponseGetLinkWalletAddressChallengeResponse struct {

	// data
	Data *ResponseGetLinkWalletAddressChallengeData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseGetLinkWalletAddressChallengeResponse response get link wallet address challenge response

swagger:model response.GetLinkWalletAddressChallengeResponse

func (*ResponseGetLinkWalletAddressChallengeResponse) ContextValidate ¶

ContextValidate validate this response get link wallet address challenge response based on the context it is used

func (*ResponseGetLinkWalletAddressChallengeResponse) MarshalBinary ¶

MarshalBinary interface implementation

func (*ResponseGetLinkWalletAddressChallengeResponse) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*ResponseGetLinkWalletAddressChallengeResponse) Validate ¶

Validate validates this response get link wallet address challenge response

type ResponseGetListModelVersioningLiteResponse ¶

type ResponseGetListModelVersioningLiteResponse struct {

	// data
	Data *ResponseGetListModelVersioningsLiteData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseGetListModelVersioningLiteResponse response get list model versioning lite response

swagger:model response.GetListModelVersioningLiteResponse

func (*ResponseGetListModelVersioningLiteResponse) ContextValidate ¶

ContextValidate validate this response get list model versioning lite response based on the context it is used

func (*ResponseGetListModelVersioningLiteResponse) MarshalBinary ¶

func (m *ResponseGetListModelVersioningLiteResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseGetListModelVersioningLiteResponse) UnmarshalBinary ¶

func (m *ResponseGetListModelVersioningLiteResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseGetListModelVersioningLiteResponse) Validate ¶

Validate validates this response get list model versioning lite response

type ResponseGetListModelVersioningsLiteData ¶

type ResponseGetListModelVersioningsLiteData struct {

	// records
	Records []*ModelsModelVersioningGroupLite `json:"records"`

	// total
	Total int64 `json:"total,omitempty"`
}

ResponseGetListModelVersioningsLiteData response get list model versionings lite data

swagger:model response.GetListModelVersioningsLiteData

func (*ResponseGetListModelVersioningsLiteData) ContextValidate ¶

ContextValidate validate this response get list model versionings lite data based on the context it is used

func (*ResponseGetListModelVersioningsLiteData) MarshalBinary ¶

func (m *ResponseGetListModelVersioningsLiteData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseGetListModelVersioningsLiteData) UnmarshalBinary ¶

func (m *ResponseGetListModelVersioningsLiteData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseGetListModelVersioningsLiteData) Validate ¶

Validate validates this response get list model versionings lite data

type ResponseGetListPlatformSupportResponse ¶

type ResponseGetListPlatformSupportResponse struct {

	// data
	Data []string `json:"data"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseGetListPlatformSupportResponse response get list platform support response

swagger:model response.GetListPlatformSupportResponse

func (*ResponseGetListPlatformSupportResponse) ContextValidate ¶

ContextValidate validates this response get list platform support response based on context it is used

func (*ResponseGetListPlatformSupportResponse) MarshalBinary ¶

func (m *ResponseGetListPlatformSupportResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseGetListPlatformSupportResponse) UnmarshalBinary ¶

func (m *ResponseGetListPlatformSupportResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseGetListPlatformSupportResponse) Validate ¶

Validate validates this response get list platform support response

type ResponseGetLiteOrganizationsData ¶

type ResponseGetLiteOrganizationsData struct {

	// organizations
	Organizations []*ModelsLiteOrganization `json:"organizations"`

	// total
	Total int64 `json:"total,omitempty"`
}

ResponseGetLiteOrganizationsData response get lite organizations data

swagger:model response.GetLiteOrganizationsData

func (*ResponseGetLiteOrganizationsData) ContextValidate ¶

func (m *ResponseGetLiteOrganizationsData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response get lite organizations data based on the context it is used

func (*ResponseGetLiteOrganizationsData) MarshalBinary ¶

func (m *ResponseGetLiteOrganizationsData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseGetLiteOrganizationsData) UnmarshalBinary ¶

func (m *ResponseGetLiteOrganizationsData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseGetLiteOrganizationsData) Validate ¶

Validate validates this response get lite organizations data

type ResponseGetLiteOrganizationsResponse ¶

type ResponseGetLiteOrganizationsResponse struct {

	// data
	Data *ResponseGetLiteOrganizationsData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseGetLiteOrganizationsResponse response get lite organizations response

swagger:model response.GetLiteOrganizationsResponse

func (*ResponseGetLiteOrganizationsResponse) ContextValidate ¶

func (m *ResponseGetLiteOrganizationsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response get lite organizations response based on the context it is used

func (*ResponseGetLiteOrganizationsResponse) MarshalBinary ¶

func (m *ResponseGetLiteOrganizationsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseGetLiteOrganizationsResponse) UnmarshalBinary ¶

func (m *ResponseGetLiteOrganizationsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseGetLiteOrganizationsResponse) Validate ¶

Validate validates this response get lite organizations response

type ResponseGetMeData ¶

type ResponseGetMeData struct {

	// user
	User *ModelsUser `json:"user,omitempty"`
}

ResponseGetMeData response get me data

swagger:model response.GetMeData

func (*ResponseGetMeData) ContextValidate ¶

func (m *ResponseGetMeData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response get me data based on the context it is used

func (*ResponseGetMeData) MarshalBinary ¶

func (m *ResponseGetMeData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseGetMeData) UnmarshalBinary ¶

func (m *ResponseGetMeData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseGetMeData) Validate ¶

func (m *ResponseGetMeData) Validate(formats strfmt.Registry) error

Validate validates this response get me data

type ResponseGetMeResponse ¶

type ResponseGetMeResponse struct {

	// data
	Data *ResponseGetMeData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseGetMeResponse response get me response

swagger:model response.GetMeResponse

func (*ResponseGetMeResponse) ContextValidate ¶

func (m *ResponseGetMeResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response get me response based on the context it is used

func (*ResponseGetMeResponse) MarshalBinary ¶

func (m *ResponseGetMeResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseGetMeResponse) UnmarshalBinary ¶

func (m *ResponseGetMeResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseGetMeResponse) Validate ¶

func (m *ResponseGetMeResponse) Validate(formats strfmt.Registry) error

Validate validates this response get me response

type ResponseGetMetricsResponse ¶

type ResponseGetMetricsResponse struct {

	// data
	Data []*ModelsMetric `json:"data"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status string `json:"status,omitempty"`
}

ResponseGetMetricsResponse response get metrics response

swagger:model response.GetMetricsResponse

func (*ResponseGetMetricsResponse) ContextValidate ¶

func (m *ResponseGetMetricsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response get metrics response based on the context it is used

func (*ResponseGetMetricsResponse) MarshalBinary ¶

func (m *ResponseGetMetricsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseGetMetricsResponse) UnmarshalBinary ¶

func (m *ResponseGetMetricsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseGetMetricsResponse) Validate ¶

func (m *ResponseGetMetricsResponse) Validate(formats strfmt.Registry) error

Validate validates this response get metrics response

type ResponseGetModelRewardStatisticsData ¶

type ResponseGetModelRewardStatisticsData struct {

	// data
	Data []any `json:"data"`

	// total
	Total int64 `json:"total,omitempty"`
}

ResponseGetModelRewardStatisticsData response get model reward statistics data

swagger:model response.GetModelRewardStatisticsData

func (*ResponseGetModelRewardStatisticsData) ContextValidate ¶

func (m *ResponseGetModelRewardStatisticsData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this response get model reward statistics data based on context it is used

func (*ResponseGetModelRewardStatisticsData) MarshalBinary ¶

func (m *ResponseGetModelRewardStatisticsData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseGetModelRewardStatisticsData) UnmarshalBinary ¶

func (m *ResponseGetModelRewardStatisticsData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseGetModelRewardStatisticsData) Validate ¶

Validate validates this response get model reward statistics data

type ResponseGetModelRewardStatisticsResponse ¶

type ResponseGetModelRewardStatisticsResponse struct {

	// data
	Data *ResponseGetModelRewardStatisticsData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseGetModelRewardStatisticsResponse response get model reward statistics response

swagger:model response.GetModelRewardStatisticsResponse

func (*ResponseGetModelRewardStatisticsResponse) ContextValidate ¶

ContextValidate validate this response get model reward statistics response based on the context it is used

func (*ResponseGetModelRewardStatisticsResponse) MarshalBinary ¶

func (m *ResponseGetModelRewardStatisticsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseGetModelRewardStatisticsResponse) UnmarshalBinary ¶

func (m *ResponseGetModelRewardStatisticsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseGetModelRewardStatisticsResponse) Validate ¶

Validate validates this response get model reward statistics response

type ResponseGetNodeOverMeanStatisticsData ¶

type ResponseGetNodeOverMeanStatisticsData struct {

	// data
	Data []any `json:"data"`

	// total
	Total int64 `json:"total,omitempty"`
}

ResponseGetNodeOverMeanStatisticsData response get node over mean statistics data

swagger:model response.GetNodeOverMeanStatisticsData

func (*ResponseGetNodeOverMeanStatisticsData) ContextValidate ¶

func (m *ResponseGetNodeOverMeanStatisticsData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this response get node over mean statistics data based on context it is used

func (*ResponseGetNodeOverMeanStatisticsData) MarshalBinary ¶

func (m *ResponseGetNodeOverMeanStatisticsData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseGetNodeOverMeanStatisticsData) UnmarshalBinary ¶

func (m *ResponseGetNodeOverMeanStatisticsData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseGetNodeOverMeanStatisticsData) Validate ¶

Validate validates this response get node over mean statistics data

type ResponseGetNodeOverMeanStatisticsResponse ¶

type ResponseGetNodeOverMeanStatisticsResponse struct {

	// data
	Data *ResponseGetNodeOverMeanStatisticsData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseGetNodeOverMeanStatisticsResponse response get node over mean statistics response

swagger:model response.GetNodeOverMeanStatisticsResponse

func (*ResponseGetNodeOverMeanStatisticsResponse) ContextValidate ¶

ContextValidate validate this response get node over mean statistics response based on the context it is used

func (*ResponseGetNodeOverMeanStatisticsResponse) MarshalBinary ¶

func (m *ResponseGetNodeOverMeanStatisticsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseGetNodeOverMeanStatisticsResponse) UnmarshalBinary ¶

func (m *ResponseGetNodeOverMeanStatisticsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseGetNodeOverMeanStatisticsResponse) Validate ¶

Validate validates this response get node over mean statistics response

type ResponseGetNodeRewardStatisticsData ¶

type ResponseGetNodeRewardStatisticsData struct {

	// data
	Data []any `json:"data"`

	// total
	Total int64 `json:"total,omitempty"`
}

ResponseGetNodeRewardStatisticsData response get node reward statistics data

swagger:model response.GetNodeRewardStatisticsData

func (*ResponseGetNodeRewardStatisticsData) ContextValidate ¶

func (m *ResponseGetNodeRewardStatisticsData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this response get node reward statistics data based on context it is used

func (*ResponseGetNodeRewardStatisticsData) MarshalBinary ¶

func (m *ResponseGetNodeRewardStatisticsData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseGetNodeRewardStatisticsData) UnmarshalBinary ¶

func (m *ResponseGetNodeRewardStatisticsData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseGetNodeRewardStatisticsData) Validate ¶

Validate validates this response get node reward statistics data

type ResponseGetNodeRewardStatisticsResponse ¶

type ResponseGetNodeRewardStatisticsResponse struct {

	// data
	Data *ResponseGetNodeRewardStatisticsData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseGetNodeRewardStatisticsResponse response get node reward statistics response

swagger:model response.GetNodeRewardStatisticsResponse

func (*ResponseGetNodeRewardStatisticsResponse) ContextValidate ¶

ContextValidate validate this response get node reward statistics response based on the context it is used

func (*ResponseGetNodeRewardStatisticsResponse) MarshalBinary ¶

func (m *ResponseGetNodeRewardStatisticsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseGetNodeRewardStatisticsResponse) UnmarshalBinary ¶

func (m *ResponseGetNodeRewardStatisticsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseGetNodeRewardStatisticsResponse) Validate ¶

Validate validates this response get node reward statistics response

type ResponseGetOffersData ¶

type ResponseGetOffersData struct {

	// offers
	Offers []*ModelsOffer `json:"offers"`
}

ResponseGetOffersData response get offers data

swagger:model response.GetOffersData

func (*ResponseGetOffersData) ContextValidate ¶

func (m *ResponseGetOffersData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response get offers data based on the context it is used

func (*ResponseGetOffersData) MarshalBinary ¶

func (m *ResponseGetOffersData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseGetOffersData) UnmarshalBinary ¶

func (m *ResponseGetOffersData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseGetOffersData) Validate ¶

func (m *ResponseGetOffersData) Validate(formats strfmt.Registry) error

Validate validates this response get offers data

type ResponseGetOffersResponse ¶

type ResponseGetOffersResponse struct {

	// data
	Data *ResponseGetOffersData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseGetOffersResponse response get offers response

swagger:model response.GetOffersResponse

func (*ResponseGetOffersResponse) ContextValidate ¶

func (m *ResponseGetOffersResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response get offers response based on the context it is used

func (*ResponseGetOffersResponse) MarshalBinary ¶

func (m *ResponseGetOffersResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseGetOffersResponse) UnmarshalBinary ¶

func (m *ResponseGetOffersResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseGetOffersResponse) Validate ¶

func (m *ResponseGetOffersResponse) Validate(formats strfmt.Registry) error

Validate validates this response get offers response

type ResponseGetOrganizationSettingData ¶

type ResponseGetOrganizationSettingData struct {

	// allow join by link
	AllowJoinByLink bool `json:"allow_join_by_link,omitempty"`

	// allow request to join
	AllowRequestToJoin bool `json:"allow_request_to_join,omitempty"`

	// auto approve join request
	AutoApproveJoinRequest bool `json:"auto_approve_join_request,omitempty"`

	// default role
	DefaultRole string `json:"default_role,omitempty"`

	// domain
	Domain string `json:"domain,omitempty"`

	// email
	Email string `json:"email,omitempty"`

	// join id
	JoinID string `json:"join_id,omitempty"`
}

ResponseGetOrganizationSettingData response get organization setting data

swagger:model response.GetOrganizationSettingData

func (*ResponseGetOrganizationSettingData) ContextValidate ¶

func (m *ResponseGetOrganizationSettingData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this response get organization setting data based on context it is used

func (*ResponseGetOrganizationSettingData) MarshalBinary ¶

func (m *ResponseGetOrganizationSettingData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseGetOrganizationSettingData) UnmarshalBinary ¶

func (m *ResponseGetOrganizationSettingData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseGetOrganizationSettingData) Validate ¶

Validate validates this response get organization setting data

type ResponseGetOrganizationSettingResponse ¶

type ResponseGetOrganizationSettingResponse struct {

	// data
	Data *ResponseGetOrganizationSettingData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseGetOrganizationSettingResponse response get organization setting response

swagger:model response.GetOrganizationSettingResponse

func (*ResponseGetOrganizationSettingResponse) ContextValidate ¶

ContextValidate validate this response get organization setting response based on the context it is used

func (*ResponseGetOrganizationSettingResponse) MarshalBinary ¶

func (m *ResponseGetOrganizationSettingResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseGetOrganizationSettingResponse) UnmarshalBinary ¶

func (m *ResponseGetOrganizationSettingResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseGetOrganizationSettingResponse) Validate ¶

Validate validates this response get organization setting response

type ResponseGetPublicKeysData ¶

type ResponseGetPublicKeysData struct {

	// keys
	Keys []*ModelsPublicKey `json:"keys"`
}

ResponseGetPublicKeysData response get public keys data

swagger:model response.GetPublicKeysData

func (*ResponseGetPublicKeysData) ContextValidate ¶

func (m *ResponseGetPublicKeysData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response get public keys data based on the context it is used

func (*ResponseGetPublicKeysData) MarshalBinary ¶

func (m *ResponseGetPublicKeysData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseGetPublicKeysData) UnmarshalBinary ¶

func (m *ResponseGetPublicKeysData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseGetPublicKeysData) Validate ¶

func (m *ResponseGetPublicKeysData) Validate(formats strfmt.Registry) error

Validate validates this response get public keys data

type ResponseGetPublicKeysResponse ¶

type ResponseGetPublicKeysResponse struct {

	// data
	Data *ResponseGetPublicKeysData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseGetPublicKeysResponse response get public keys response

swagger:model response.GetPublicKeysResponse

func (*ResponseGetPublicKeysResponse) ContextValidate ¶

func (m *ResponseGetPublicKeysResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response get public keys response based on the context it is used

func (*ResponseGetPublicKeysResponse) MarshalBinary ¶

func (m *ResponseGetPublicKeysResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseGetPublicKeysResponse) UnmarshalBinary ¶

func (m *ResponseGetPublicKeysResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseGetPublicKeysResponse) Validate ¶

func (m *ResponseGetPublicKeysResponse) Validate(formats strfmt.Registry) error

Validate validates this response get public keys response

type ResponseGetPublicOrganizationMembersData ¶

type ResponseGetPublicOrganizationMembersData struct {

	// members
	Members []*ModelsLiteUser `json:"members"`

	// total
	Total int64 `json:"total,omitempty"`
}

ResponseGetPublicOrganizationMembersData response get public organization members data

swagger:model response.GetPublicOrganizationMembersData

func (*ResponseGetPublicOrganizationMembersData) ContextValidate ¶

ContextValidate validate this response get public organization members data based on the context it is used

func (*ResponseGetPublicOrganizationMembersData) MarshalBinary ¶

func (m *ResponseGetPublicOrganizationMembersData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseGetPublicOrganizationMembersData) UnmarshalBinary ¶

func (m *ResponseGetPublicOrganizationMembersData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseGetPublicOrganizationMembersData) Validate ¶

Validate validates this response get public organization members data

type ResponseGetPublicOrganizationMembersResponse ¶

type ResponseGetPublicOrganizationMembersResponse struct {

	// data
	Data *ResponseGetPublicOrganizationMembersData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseGetPublicOrganizationMembersResponse response get public organization members response

swagger:model response.GetPublicOrganizationMembersResponse

func (*ResponseGetPublicOrganizationMembersResponse) ContextValidate ¶

ContextValidate validate this response get public organization members response based on the context it is used

func (*ResponseGetPublicOrganizationMembersResponse) MarshalBinary ¶

MarshalBinary interface implementation

func (*ResponseGetPublicOrganizationMembersResponse) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*ResponseGetPublicOrganizationMembersResponse) Validate ¶

Validate validates this response get public organization members response

type ResponseGetRepositoryContentMetadataData ¶

type ResponseGetRepositoryContentMetadataData struct {

	// contents
	Contents []*ModelsContent `json:"contents"`

	// total
	Total int64 `json:"total,omitempty"`
}

ResponseGetRepositoryContentMetadataData response get repository content metadata data

swagger:model response.GetRepositoryContentMetadataData

func (*ResponseGetRepositoryContentMetadataData) ContextValidate ¶

ContextValidate validate this response get repository content metadata data based on the context it is used

func (*ResponseGetRepositoryContentMetadataData) MarshalBinary ¶

func (m *ResponseGetRepositoryContentMetadataData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseGetRepositoryContentMetadataData) UnmarshalBinary ¶

func (m *ResponseGetRepositoryContentMetadataData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseGetRepositoryContentMetadataData) Validate ¶

Validate validates this response get repository content metadata data

type ResponseGetRepositoryContentMetadataResponse ¶

type ResponseGetRepositoryContentMetadataResponse struct {

	// data
	Data *ResponseGetRepositoryContentMetadataData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseGetRepositoryContentMetadataResponse response get repository content metadata response

swagger:model response.GetRepositoryContentMetadataResponse

func (*ResponseGetRepositoryContentMetadataResponse) ContextValidate ¶

ContextValidate validate this response get repository content metadata response based on the context it is used

func (*ResponseGetRepositoryContentMetadataResponse) MarshalBinary ¶

MarshalBinary interface implementation

func (*ResponseGetRepositoryContentMetadataResponse) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*ResponseGetRepositoryContentMetadataResponse) Validate ¶

Validate validates this response get repository content metadata response

type ResponseGetRepositoryData ¶

type ResponseGetRepositoryData struct {

	// repository
	Repository *ModelsRepository `json:"repository,omitempty"`
}

ResponseGetRepositoryData response get repository data

swagger:model response.GetRepositoryData

func (*ResponseGetRepositoryData) ContextValidate ¶

func (m *ResponseGetRepositoryData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response get repository data based on the context it is used

func (*ResponseGetRepositoryData) MarshalBinary ¶

func (m *ResponseGetRepositoryData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseGetRepositoryData) UnmarshalBinary ¶

func (m *ResponseGetRepositoryData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseGetRepositoryData) Validate ¶

func (m *ResponseGetRepositoryData) Validate(formats strfmt.Registry) error

Validate validates this response get repository data

type ResponseGetRepositoryResponse ¶

type ResponseGetRepositoryResponse struct {

	// data
	Data *ResponseGetRepositoryData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseGetRepositoryResponse response get repository response

swagger:model response.GetRepositoryResponse

func (*ResponseGetRepositoryResponse) ContextValidate ¶

func (m *ResponseGetRepositoryResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response get repository response based on the context it is used

func (*ResponseGetRepositoryResponse) MarshalBinary ¶

func (m *ResponseGetRepositoryResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseGetRepositoryResponse) UnmarshalBinary ¶

func (m *ResponseGetRepositoryResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseGetRepositoryResponse) Validate ¶

func (m *ResponseGetRepositoryResponse) Validate(formats strfmt.Registry) error

Validate validates this response get repository response

type ResponseGetTaskStatisticsData ¶

type ResponseGetTaskStatisticsData struct {

	// total cost
	TotalCost int64 `json:"total_cost,omitempty"`

	// total failed
	TotalFailed int64 `json:"total_failed,omitempty"`

	// total request
	TotalRequest int64 `json:"total_request,omitempty"`

	// total success
	TotalSuccess int64 `json:"total_success,omitempty"`
}

ResponseGetTaskStatisticsData response get task statistics data

swagger:model response.GetTaskStatisticsData

func (*ResponseGetTaskStatisticsData) ContextValidate ¶

func (m *ResponseGetTaskStatisticsData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this response get task statistics data based on context it is used

func (*ResponseGetTaskStatisticsData) MarshalBinary ¶

func (m *ResponseGetTaskStatisticsData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseGetTaskStatisticsData) UnmarshalBinary ¶

func (m *ResponseGetTaskStatisticsData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseGetTaskStatisticsData) Validate ¶

func (m *ResponseGetTaskStatisticsData) Validate(formats strfmt.Registry) error

Validate validates this response get task statistics data

type ResponseGetTaskStatisticsResponse ¶

type ResponseGetTaskStatisticsResponse struct {

	// data
	Data *ResponseGetTaskStatisticsData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseGetTaskStatisticsResponse response get task statistics response

swagger:model response.GetTaskStatisticsResponse

func (*ResponseGetTaskStatisticsResponse) ContextValidate ¶

func (m *ResponseGetTaskStatisticsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response get task statistics response based on the context it is used

func (*ResponseGetTaskStatisticsResponse) MarshalBinary ¶

func (m *ResponseGetTaskStatisticsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseGetTaskStatisticsResponse) UnmarshalBinary ¶

func (m *ResponseGetTaskStatisticsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseGetTaskStatisticsResponse) Validate ¶

Validate validates this response get task statistics response

type ResponseGetTokenPriceResponse ¶

type ResponseGetTokenPriceResponse struct {

	// data
	Data *UtilsGetTokenInfoData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseGetTokenPriceResponse response get token price response

swagger:model response.GetTokenPriceResponse

func (*ResponseGetTokenPriceResponse) ContextValidate ¶

func (m *ResponseGetTokenPriceResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response get token price response based on the context it is used

func (*ResponseGetTokenPriceResponse) MarshalBinary ¶

func (m *ResponseGetTokenPriceResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseGetTokenPriceResponse) UnmarshalBinary ¶

func (m *ResponseGetTokenPriceResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseGetTokenPriceResponse) Validate ¶

func (m *ResponseGetTokenPriceResponse) Validate(formats strfmt.Registry) error

Validate validates this response get token price response

type ResponseGetUserByUsernameAndGuestIDData ¶

type ResponseGetUserByUsernameAndGuestIDData struct {

	// user
	User *ModelsLiteUser `json:"user,omitempty"`
}

ResponseGetUserByUsernameAndGuestIDData response get user by username and guest Id data

swagger:model response.GetUserByUsernameAndGuestIdData

func (*ResponseGetUserByUsernameAndGuestIDData) ContextValidate ¶

ContextValidate validate this response get user by username and guest Id data based on the context it is used

func (*ResponseGetUserByUsernameAndGuestIDData) MarshalBinary ¶

func (m *ResponseGetUserByUsernameAndGuestIDData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseGetUserByUsernameAndGuestIDData) UnmarshalBinary ¶

func (m *ResponseGetUserByUsernameAndGuestIDData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseGetUserByUsernameAndGuestIDData) Validate ¶

Validate validates this response get user by username and guest Id data

type ResponseGetUserByUsernameAndGuestIDResponse ¶

type ResponseGetUserByUsernameAndGuestIDResponse struct {

	// data
	Data *ResponseGetUserByUsernameAndGuestIDData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseGetUserByUsernameAndGuestIDResponse response get user by username and guest Id response

swagger:model response.GetUserByUsernameAndGuestIdResponse

func (*ResponseGetUserByUsernameAndGuestIDResponse) ContextValidate ¶

ContextValidate validate this response get user by username and guest Id response based on the context it is used

func (*ResponseGetUserByUsernameAndGuestIDResponse) MarshalBinary ¶

func (m *ResponseGetUserByUsernameAndGuestIDResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseGetUserByUsernameAndGuestIDResponse) UnmarshalBinary ¶

func (m *ResponseGetUserByUsernameAndGuestIDResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseGetUserByUsernameAndGuestIDResponse) Validate ¶

Validate validates this response get user by username and guest Id response

type ResponseGetUserOrganizationPermissionData ¶

type ResponseGetUserOrganizationPermissionData struct {

	// permission
	Permission *ModelsOrgPermission `json:"permission,omitempty"`
}

ResponseGetUserOrganizationPermissionData response get user organization permission data

swagger:model response.GetUserOrganizationPermissionData

func (*ResponseGetUserOrganizationPermissionData) ContextValidate ¶

ContextValidate validate this response get user organization permission data based on the context it is used

func (*ResponseGetUserOrganizationPermissionData) MarshalBinary ¶

func (m *ResponseGetUserOrganizationPermissionData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseGetUserOrganizationPermissionData) UnmarshalBinary ¶

func (m *ResponseGetUserOrganizationPermissionData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseGetUserOrganizationPermissionData) Validate ¶

Validate validates this response get user organization permission data

type ResponseGetUserOrganizationPermissionResponse ¶

type ResponseGetUserOrganizationPermissionResponse struct {

	// data
	Data *ResponseGetUserOrganizationPermissionData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseGetUserOrganizationPermissionResponse response get user organization permission response

swagger:model response.GetUserOrganizationPermissionResponse

func (*ResponseGetUserOrganizationPermissionResponse) ContextValidate ¶

ContextValidate validate this response get user organization permission response based on the context it is used

func (*ResponseGetUserOrganizationPermissionResponse) MarshalBinary ¶

MarshalBinary interface implementation

func (*ResponseGetUserOrganizationPermissionResponse) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*ResponseGetUserOrganizationPermissionResponse) Validate ¶

Validate validates this response get user organization permission response

type ResponseGetUserOrganizationUsernamesData ¶

type ResponseGetUserOrganizationUsernamesData struct {

	// users
	Users []*ModelsTinyUser `json:"users"`
}

ResponseGetUserOrganizationUsernamesData response get user organization usernames data

swagger:model response.GetUserOrganizationUsernamesData

func (*ResponseGetUserOrganizationUsernamesData) ContextValidate ¶

ContextValidate validate this response get user organization usernames data based on the context it is used

func (*ResponseGetUserOrganizationUsernamesData) MarshalBinary ¶

func (m *ResponseGetUserOrganizationUsernamesData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseGetUserOrganizationUsernamesData) UnmarshalBinary ¶

func (m *ResponseGetUserOrganizationUsernamesData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseGetUserOrganizationUsernamesData) Validate ¶

Validate validates this response get user organization usernames data

type ResponseGetUserOrganizationUsernamesResponse ¶

type ResponseGetUserOrganizationUsernamesResponse struct {

	// data
	Data *ResponseGetUserOrganizationUsernamesData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseGetUserOrganizationUsernamesResponse response get user organization usernames response

swagger:model response.GetUserOrganizationUsernamesResponse

func (*ResponseGetUserOrganizationUsernamesResponse) ContextValidate ¶

ContextValidate validate this response get user organization usernames response based on the context it is used

func (*ResponseGetUserOrganizationUsernamesResponse) MarshalBinary ¶

MarshalBinary interface implementation

func (*ResponseGetUserOrganizationUsernamesResponse) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*ResponseGetUserOrganizationUsernamesResponse) Validate ¶

Validate validates this response get user organization usernames response

type ResponseGetUserOrganizationsData ¶

type ResponseGetUserOrganizationsData struct {

	// organizations
	Organizations []*ModelsOrganizationInfo `json:"organizations"`

	// total
	Total int64 `json:"total,omitempty"`
}

ResponseGetUserOrganizationsData response get user organizations data

swagger:model response.GetUserOrganizationsData

func (*ResponseGetUserOrganizationsData) ContextValidate ¶

func (m *ResponseGetUserOrganizationsData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response get user organizations data based on the context it is used

func (*ResponseGetUserOrganizationsData) MarshalBinary ¶

func (m *ResponseGetUserOrganizationsData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseGetUserOrganizationsData) UnmarshalBinary ¶

func (m *ResponseGetUserOrganizationsData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseGetUserOrganizationsData) Validate ¶

Validate validates this response get user organizations data

type ResponseGetUserOrganizationsResponse ¶

type ResponseGetUserOrganizationsResponse struct {

	// data
	Data *ResponseGetUserOrganizationsData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseGetUserOrganizationsResponse response get user organizations response

swagger:model response.GetUserOrganizationsResponse

func (*ResponseGetUserOrganizationsResponse) ContextValidate ¶

func (m *ResponseGetUserOrganizationsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response get user organizations response based on the context it is used

func (*ResponseGetUserOrganizationsResponse) MarshalBinary ¶

func (m *ResponseGetUserOrganizationsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseGetUserOrganizationsResponse) UnmarshalBinary ¶

func (m *ResponseGetUserOrganizationsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseGetUserOrganizationsResponse) Validate ¶

Validate validates this response get user organizations response

type ResponseGetUserUploadStatisticsData ¶

type ResponseGetUserUploadStatisticsData struct {

	// count
	Count int64 `json:"count,omitempty"`

	// folders
	Folders any `json:"folders,omitempty"`

	// storage
	Storage int64 `json:"storage,omitempty"`
}

ResponseGetUserUploadStatisticsData response get user upload statistics data

swagger:model response.GetUserUploadStatisticsData

func (*ResponseGetUserUploadStatisticsData) ContextValidate ¶

func (m *ResponseGetUserUploadStatisticsData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this response get user upload statistics data based on context it is used

func (*ResponseGetUserUploadStatisticsData) MarshalBinary ¶

func (m *ResponseGetUserUploadStatisticsData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseGetUserUploadStatisticsData) UnmarshalBinary ¶

func (m *ResponseGetUserUploadStatisticsData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseGetUserUploadStatisticsData) Validate ¶

Validate validates this response get user upload statistics data

type ResponseGetUserUploadStatisticsResponse ¶

type ResponseGetUserUploadStatisticsResponse struct {

	// data
	Data *ResponseGetUserUploadStatisticsData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseGetUserUploadStatisticsResponse response get user upload statistics response

swagger:model response.GetUserUploadStatisticsResponse

func (*ResponseGetUserUploadStatisticsResponse) ContextValidate ¶

ContextValidate validate this response get user upload statistics response based on the context it is used

func (*ResponseGetUserUploadStatisticsResponse) MarshalBinary ¶

func (m *ResponseGetUserUploadStatisticsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseGetUserUploadStatisticsResponse) UnmarshalBinary ¶

func (m *ResponseGetUserUploadStatisticsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseGetUserUploadStatisticsResponse) Validate ¶

Validate validates this response get user upload statistics response

type ResponseGetUserUploadsData ¶

type ResponseGetUserUploadsData struct {

	// count
	Count int64 `json:"count,omitempty"`

	// storage
	Storage int64 `json:"storage,omitempty"`

	// urls
	Urls []string `json:"urls"`
}

ResponseGetUserUploadsData response get user uploads data

swagger:model response.GetUserUploadsData

func (*ResponseGetUserUploadsData) ContextValidate ¶

func (m *ResponseGetUserUploadsData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this response get user uploads data based on context it is used

func (*ResponseGetUserUploadsData) MarshalBinary ¶

func (m *ResponseGetUserUploadsData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseGetUserUploadsData) UnmarshalBinary ¶

func (m *ResponseGetUserUploadsData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseGetUserUploadsData) Validate ¶

func (m *ResponseGetUserUploadsData) Validate(formats strfmt.Registry) error

Validate validates this response get user uploads data

type ResponseGetUserUploadsResponse ¶

type ResponseGetUserUploadsResponse struct {

	// data
	Data *ResponseGetUserUploadsData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseGetUserUploadsResponse response get user uploads response

swagger:model response.GetUserUploadsResponse

func (*ResponseGetUserUploadsResponse) ContextValidate ¶

func (m *ResponseGetUserUploadsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response get user uploads response based on the context it is used

func (*ResponseGetUserUploadsResponse) MarshalBinary ¶

func (m *ResponseGetUserUploadsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseGetUserUploadsResponse) UnmarshalBinary ¶

func (m *ResponseGetUserUploadsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseGetUserUploadsResponse) Validate ¶

func (m *ResponseGetUserUploadsResponse) Validate(formats strfmt.Registry) error

Validate validates this response get user uploads response

type ResponseGitLogsListData ¶

type ResponseGitLogsListData struct {

	// records
	Records []*ModelsGitLogs `json:"records"`

	// total
	Total int64 `json:"total,omitempty"`
}

ResponseGitLogsListData response git logs list data

swagger:model response.GitLogsListData

func (*ResponseGitLogsListData) ContextValidate ¶

func (m *ResponseGitLogsListData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response git logs list data based on the context it is used

func (*ResponseGitLogsListData) MarshalBinary ¶

func (m *ResponseGitLogsListData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseGitLogsListData) UnmarshalBinary ¶

func (m *ResponseGitLogsListData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseGitLogsListData) Validate ¶

func (m *ResponseGitLogsListData) Validate(formats strfmt.Registry) error

Validate validates this response git logs list data

type ResponseGitLogsListResponse ¶

type ResponseGitLogsListResponse struct {

	// data
	Data *ResponseGitLogsListData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseGitLogsListResponse response git logs list response

swagger:model response.GitLogsListResponse

func (*ResponseGitLogsListResponse) ContextValidate ¶

func (m *ResponseGitLogsListResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response git logs list response based on the context it is used

func (*ResponseGitLogsListResponse) MarshalBinary ¶

func (m *ResponseGitLogsListResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseGitLogsListResponse) UnmarshalBinary ¶

func (m *ResponseGitLogsListResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseGitLogsListResponse) Validate ¶

func (m *ResponseGitLogsListResponse) Validate(formats strfmt.Registry) error

Validate validates this response git logs list response

type ResponseGiteaUserListData ¶

type ResponseGiteaUserListData struct {

	// records
	Records []*ModelsGiteaUser `json:"records"`

	// total
	Total int64 `json:"total,omitempty"`
}

ResponseGiteaUserListData response gitea user list data

swagger:model response.GiteaUserListData

func (*ResponseGiteaUserListData) ContextValidate ¶

func (m *ResponseGiteaUserListData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response gitea user list data based on the context it is used

func (*ResponseGiteaUserListData) MarshalBinary ¶

func (m *ResponseGiteaUserListData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseGiteaUserListData) UnmarshalBinary ¶

func (m *ResponseGiteaUserListData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseGiteaUserListData) Validate ¶

func (m *ResponseGiteaUserListData) Validate(formats strfmt.Registry) error

Validate validates this response gitea user list data

type ResponseGiteaUserListResponse ¶

type ResponseGiteaUserListResponse struct {

	// data
	Data *ResponseGiteaUserListData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseGiteaUserListResponse response gitea user list response

swagger:model response.GiteaUserListResponse

func (*ResponseGiteaUserListResponse) ContextValidate ¶

func (m *ResponseGiteaUserListResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response gitea user list response based on the context it is used

func (*ResponseGiteaUserListResponse) MarshalBinary ¶

func (m *ResponseGiteaUserListResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseGiteaUserListResponse) UnmarshalBinary ¶

func (m *ResponseGiteaUserListResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseGiteaUserListResponse) Validate ¶

func (m *ResponseGiteaUserListResponse) Validate(formats strfmt.Registry) error

Validate validates this response gitea user list response

type ResponseHubTrainingTaskResponse ¶

type ResponseHubTrainingTaskResponse struct {

	// data
	Data *ResponseTrainingTaskData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// success
	Success bool `json:"success,omitempty"`
}

ResponseHubTrainingTaskResponse response hub training task response

swagger:model response.HubTrainingTaskResponse

func (*ResponseHubTrainingTaskResponse) ContextValidate ¶

func (m *ResponseHubTrainingTaskResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response hub training task response based on the context it is used

func (*ResponseHubTrainingTaskResponse) MarshalBinary ¶

func (m *ResponseHubTrainingTaskResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseHubTrainingTaskResponse) UnmarshalBinary ¶

func (m *ResponseHubTrainingTaskResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseHubTrainingTaskResponse) Validate ¶

Validate validates this response hub training task response

type ResponseLeaderboardListData ¶

type ResponseLeaderboardListData struct {

	// records
	Records []*ModelsLeaderboard `json:"records"`

	// total
	Total int64 `json:"total,omitempty"`
}

ResponseLeaderboardListData response leaderboard list data

swagger:model response.LeaderboardListData

func (*ResponseLeaderboardListData) ContextValidate ¶

func (m *ResponseLeaderboardListData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response leaderboard list data based on the context it is used

func (*ResponseLeaderboardListData) MarshalBinary ¶

func (m *ResponseLeaderboardListData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseLeaderboardListData) UnmarshalBinary ¶

func (m *ResponseLeaderboardListData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseLeaderboardListData) Validate ¶

func (m *ResponseLeaderboardListData) Validate(formats strfmt.Registry) error

Validate validates this response leaderboard list data

type ResponseLeaderboardListResponse ¶

type ResponseLeaderboardListResponse struct {

	// data
	Data *ResponseLeaderboardListData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseLeaderboardListResponse response leaderboard list response

swagger:model response.LeaderboardListResponse

func (*ResponseLeaderboardListResponse) ContextValidate ¶

func (m *ResponseLeaderboardListResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response leaderboard list response based on the context it is used

func (*ResponseLeaderboardListResponse) MarshalBinary ¶

func (m *ResponseLeaderboardListResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseLeaderboardListResponse) UnmarshalBinary ¶

func (m *ResponseLeaderboardListResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseLeaderboardListResponse) Validate ¶

Validate validates this response leaderboard list response

type ResponseLeaderboardRewardListData ¶

type ResponseLeaderboardRewardListData struct {

	// records
	Records []*ModelsLeaderboardReward `json:"records"`

	// total
	Total int64 `json:"total,omitempty"`
}

ResponseLeaderboardRewardListData response leaderboard reward list data

swagger:model response.LeaderboardRewardListData

func (*ResponseLeaderboardRewardListData) ContextValidate ¶

func (m *ResponseLeaderboardRewardListData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response leaderboard reward list data based on the context it is used

func (*ResponseLeaderboardRewardListData) MarshalBinary ¶

func (m *ResponseLeaderboardRewardListData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseLeaderboardRewardListData) UnmarshalBinary ¶

func (m *ResponseLeaderboardRewardListData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseLeaderboardRewardListData) Validate ¶

Validate validates this response leaderboard reward list data

type ResponseLeaderboardRewardListResponse ¶

type ResponseLeaderboardRewardListResponse struct {

	// data
	Data *ResponseLeaderboardRewardListData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseLeaderboardRewardListResponse response leaderboard reward list response

swagger:model response.LeaderboardRewardListResponse

func (*ResponseLeaderboardRewardListResponse) ContextValidate ¶

func (m *ResponseLeaderboardRewardListResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response leaderboard reward list response based on the context it is used

func (*ResponseLeaderboardRewardListResponse) MarshalBinary ¶

func (m *ResponseLeaderboardRewardListResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseLeaderboardRewardListResponse) UnmarshalBinary ¶

func (m *ResponseLeaderboardRewardListResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseLeaderboardRewardListResponse) Validate ¶

Validate validates this response leaderboard reward list response

type ResponseLikeDatasetListData ¶

type ResponseLikeDatasetListData struct {

	// records
	Records []*ModelsLiteLikeDataset `json:"records"`

	// total
	Total int64 `json:"total,omitempty"`
}

ResponseLikeDatasetListData response like dataset list data

swagger:model response.LikeDatasetListData

func (*ResponseLikeDatasetListData) ContextValidate ¶

func (m *ResponseLikeDatasetListData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response like dataset list data based on the context it is used

func (*ResponseLikeDatasetListData) MarshalBinary ¶

func (m *ResponseLikeDatasetListData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseLikeDatasetListData) UnmarshalBinary ¶

func (m *ResponseLikeDatasetListData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseLikeDatasetListData) Validate ¶

func (m *ResponseLikeDatasetListData) Validate(formats strfmt.Registry) error

Validate validates this response like dataset list data

type ResponseLikeDatasetListResponse ¶

type ResponseLikeDatasetListResponse struct {

	// data
	Data *ResponseLikeDatasetListData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseLikeDatasetListResponse response like dataset list response

swagger:model response.LikeDatasetListResponse

func (*ResponseLikeDatasetListResponse) ContextValidate ¶

func (m *ResponseLikeDatasetListResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response like dataset list response based on the context it is used

func (*ResponseLikeDatasetListResponse) MarshalBinary ¶

func (m *ResponseLikeDatasetListResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseLikeDatasetListResponse) UnmarshalBinary ¶

func (m *ResponseLikeDatasetListResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseLikeDatasetListResponse) Validate ¶

Validate validates this response like dataset list response

type ResponseLikeModelListData ¶

type ResponseLikeModelListData struct {

	// records
	Records []*ModelsLiteLikeModel `json:"records"`

	// total
	Total int64 `json:"total,omitempty"`
}

ResponseLikeModelListData response like model list data

swagger:model response.LikeModelListData

func (*ResponseLikeModelListData) ContextValidate ¶

func (m *ResponseLikeModelListData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response like model list data based on the context it is used

func (*ResponseLikeModelListData) MarshalBinary ¶

func (m *ResponseLikeModelListData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseLikeModelListData) UnmarshalBinary ¶

func (m *ResponseLikeModelListData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseLikeModelListData) Validate ¶

func (m *ResponseLikeModelListData) Validate(formats strfmt.Registry) error

Validate validates this response like model list data

type ResponseLikeModelListResponse ¶

type ResponseLikeModelListResponse struct {

	// data
	Data *ResponseLikeModelListData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseLikeModelListResponse response like model list response

swagger:model response.LikeModelListResponse

func (*ResponseLikeModelListResponse) ContextValidate ¶

func (m *ResponseLikeModelListResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response like model list response based on the context it is used

func (*ResponseLikeModelListResponse) MarshalBinary ¶

func (m *ResponseLikeModelListResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseLikeModelListResponse) UnmarshalBinary ¶

func (m *ResponseLikeModelListResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseLikeModelListResponse) Validate ¶

func (m *ResponseLikeModelListResponse) Validate(formats strfmt.Registry) error

Validate validates this response like model list response

type ResponseListAPIKeyData ¶

type ResponseListAPIKeyData struct {

	// records
	Records []*ModelsLiteAPIKey `json:"records"`

	// total
	Total int64 `json:"total,omitempty"`
}

ResponseListAPIKeyData response list Api key data

swagger:model response.ListApiKeyData

func (*ResponseListAPIKeyData) ContextValidate ¶

func (m *ResponseListAPIKeyData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response list Api key data based on the context it is used

func (*ResponseListAPIKeyData) MarshalBinary ¶

func (m *ResponseListAPIKeyData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseListAPIKeyData) UnmarshalBinary ¶

func (m *ResponseListAPIKeyData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseListAPIKeyData) Validate ¶

func (m *ResponseListAPIKeyData) Validate(formats strfmt.Registry) error

Validate validates this response list Api key data

type ResponseListAPIKeyResponse ¶

type ResponseListAPIKeyResponse struct {

	// data
	Data *ResponseListAPIKeyData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseListAPIKeyResponse response list Api key response

swagger:model response.ListApiKeyResponse

func (*ResponseListAPIKeyResponse) ContextValidate ¶

func (m *ResponseListAPIKeyResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response list Api key response based on the context it is used

func (*ResponseListAPIKeyResponse) MarshalBinary ¶

func (m *ResponseListAPIKeyResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseListAPIKeyResponse) UnmarshalBinary ¶

func (m *ResponseListAPIKeyResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseListAPIKeyResponse) Validate ¶

func (m *ResponseListAPIKeyResponse) Validate(formats strfmt.Registry) error

Validate validates this response list Api key response

type ResponseListDataResponse ¶

type ResponseListDataResponse struct {

	// data
	Data []string `json:"data"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseListDataResponse response list data response

swagger:model response.ListDataResponse

func (*ResponseListDataResponse) ContextValidate ¶

func (m *ResponseListDataResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this response list data response based on context it is used

func (*ResponseListDataResponse) MarshalBinary ¶

func (m *ResponseListDataResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseListDataResponse) UnmarshalBinary ¶

func (m *ResponseListDataResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseListDataResponse) Validate ¶

func (m *ResponseListDataResponse) Validate(formats strfmt.Registry) error

Validate validates this response list data response

type ResponseListNotificationData ¶

type ResponseListNotificationData struct {

	// records
	Records []*ModelsNotification `json:"records"`

	// total
	Total int64 `json:"total,omitempty"`
}

ResponseListNotificationData response list notification data

swagger:model response.ListNotificationData

func (*ResponseListNotificationData) ContextValidate ¶

func (m *ResponseListNotificationData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response list notification data based on the context it is used

func (*ResponseListNotificationData) MarshalBinary ¶

func (m *ResponseListNotificationData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseListNotificationData) UnmarshalBinary ¶

func (m *ResponseListNotificationData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseListNotificationData) Validate ¶

func (m *ResponseListNotificationData) Validate(formats strfmt.Registry) error

Validate validates this response list notification data

type ResponseListNotificationResponse ¶

type ResponseListNotificationResponse struct {

	// data
	Data *ResponseListNotificationData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseListNotificationResponse response list notification response

swagger:model response.ListNotificationResponse

func (*ResponseListNotificationResponse) ContextValidate ¶

func (m *ResponseListNotificationResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response list notification response based on the context it is used

func (*ResponseListNotificationResponse) MarshalBinary ¶

func (m *ResponseListNotificationResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseListNotificationResponse) UnmarshalBinary ¶

func (m *ResponseListNotificationResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseListNotificationResponse) Validate ¶

Validate validates this response list notification response

type ResponseListTaskReviewsData ¶

type ResponseListTaskReviewsData struct {

	// records
	Records []*ModelsTaskReviews `json:"records"`

	// task reviews stats
	TaskReviewsStats []*ModelsTaskReviewsStatistics `json:"task_reviews_stats"`

	// total
	Total int64 `json:"total,omitempty"`
}

ResponseListTaskReviewsData response list task reviews data

swagger:model response.ListTaskReviewsData

func (*ResponseListTaskReviewsData) ContextValidate ¶

func (m *ResponseListTaskReviewsData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response list task reviews data based on the context it is used

func (*ResponseListTaskReviewsData) MarshalBinary ¶

func (m *ResponseListTaskReviewsData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseListTaskReviewsData) UnmarshalBinary ¶

func (m *ResponseListTaskReviewsData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseListTaskReviewsData) Validate ¶

func (m *ResponseListTaskReviewsData) Validate(formats strfmt.Registry) error

Validate validates this response list task reviews data

type ResponseListTaskReviewsResponse ¶

type ResponseListTaskReviewsResponse struct {

	// data
	Data *ResponseListTaskReviewsData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseListTaskReviewsResponse response list task reviews response

swagger:model response.ListTaskReviewsResponse

func (*ResponseListTaskReviewsResponse) ContextValidate ¶

func (m *ResponseListTaskReviewsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response list task reviews response based on the context it is used

func (*ResponseListTaskReviewsResponse) MarshalBinary ¶

func (m *ResponseListTaskReviewsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseListTaskReviewsResponse) UnmarshalBinary ¶

func (m *ResponseListTaskReviewsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseListTaskReviewsResponse) Validate ¶

Validate validates this response list task reviews response

type ResponseListTimelinesResponse ¶

type ResponseListTimelinesResponse struct {

	// data
	Data []*ModelsTimeline `json:"data"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseListTimelinesResponse response list timelines response

swagger:model response.ListTimelinesResponse

func (*ResponseListTimelinesResponse) ContextValidate ¶

func (m *ResponseListTimelinesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response list timelines response based on the context it is used

func (*ResponseListTimelinesResponse) MarshalBinary ¶

func (m *ResponseListTimelinesResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseListTimelinesResponse) UnmarshalBinary ¶

func (m *ResponseListTimelinesResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseListTimelinesResponse) Validate ¶

func (m *ResponseListTimelinesResponse) Validate(formats strfmt.Registry) error

Validate validates this response list timelines response

type ResponseLiteAPIKeyResponse ¶

type ResponseLiteAPIKeyResponse struct {

	// data
	Data *ModelsLiteAPIKey `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseLiteAPIKeyResponse response lite Api key response

swagger:model response.LiteApiKeyResponse

func (*ResponseLiteAPIKeyResponse) ContextValidate ¶

func (m *ResponseLiteAPIKeyResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response lite Api key response based on the context it is used

func (*ResponseLiteAPIKeyResponse) MarshalBinary ¶

func (m *ResponseLiteAPIKeyResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseLiteAPIKeyResponse) UnmarshalBinary ¶

func (m *ResponseLiteAPIKeyResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseLiteAPIKeyResponse) Validate ¶

func (m *ResponseLiteAPIKeyResponse) Validate(formats strfmt.Registry) error

Validate validates this response lite Api key response

type ResponseLiteOrganizationResponse ¶

type ResponseLiteOrganizationResponse struct {

	// data
	Data *ModelsLiteOrganization `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseLiteOrganizationResponse response lite organization response

swagger:model response.LiteOrganizationResponse

func (*ResponseLiteOrganizationResponse) ContextValidate ¶

func (m *ResponseLiteOrganizationResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response lite organization response based on the context it is used

func (*ResponseLiteOrganizationResponse) MarshalBinary ¶

func (m *ResponseLiteOrganizationResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseLiteOrganizationResponse) UnmarshalBinary ¶

func (m *ResponseLiteOrganizationResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseLiteOrganizationResponse) Validate ¶

Validate validates this response lite organization response

type ResponseLiteVoucherResponse ¶

type ResponseLiteVoucherResponse struct {

	// data
	Data *ModelsLiteVoucher `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseLiteVoucherResponse response lite voucher response

swagger:model response.LiteVoucherResponse

func (*ResponseLiteVoucherResponse) ContextValidate ¶

func (m *ResponseLiteVoucherResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response lite voucher response based on the context it is used

func (*ResponseLiteVoucherResponse) MarshalBinary ¶

func (m *ResponseLiteVoucherResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseLiteVoucherResponse) UnmarshalBinary ¶

func (m *ResponseLiteVoucherResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseLiteVoucherResponse) Validate ¶

func (m *ResponseLiteVoucherResponse) Validate(formats strfmt.Registry) error

Validate validates this response lite voucher response

type ResponseLoginWithWalletAddressData ¶

type ResponseLoginWithWalletAddressData struct {

	// challenge
	Challenge string `json:"challenge,omitempty"`
}

ResponseLoginWithWalletAddressData response login with wallet address data

swagger:model response.LoginWithWalletAddressData

func (*ResponseLoginWithWalletAddressData) ContextValidate ¶

func (m *ResponseLoginWithWalletAddressData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this response login with wallet address data based on context it is used

func (*ResponseLoginWithWalletAddressData) MarshalBinary ¶

func (m *ResponseLoginWithWalletAddressData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseLoginWithWalletAddressData) UnmarshalBinary ¶

func (m *ResponseLoginWithWalletAddressData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseLoginWithWalletAddressData) Validate ¶

Validate validates this response login with wallet address data

type ResponseLoginWithWalletAddressResponse ¶

type ResponseLoginWithWalletAddressResponse struct {

	// data
	Data *ResponseLoginWithWalletAddressData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseLoginWithWalletAddressResponse response login with wallet address response

swagger:model response.LoginWithWalletAddressResponse

func (*ResponseLoginWithWalletAddressResponse) ContextValidate ¶

ContextValidate validate this response login with wallet address response based on the context it is used

func (*ResponseLoginWithWalletAddressResponse) MarshalBinary ¶

func (m *ResponseLoginWithWalletAddressResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseLoginWithWalletAddressResponse) UnmarshalBinary ¶

func (m *ResponseLoginWithWalletAddressResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseLoginWithWalletAddressResponse) Validate ¶

Validate validates this response login with wallet address response

type ResponseMakeOfferData ¶

type ResponseMakeOfferData struct {

	// offer
	Offer *ModelsOffer `json:"offer,omitempty"`
}

ResponseMakeOfferData response make offer data

swagger:model response.MakeOfferData

func (*ResponseMakeOfferData) ContextValidate ¶

func (m *ResponseMakeOfferData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response make offer data based on the context it is used

func (*ResponseMakeOfferData) MarshalBinary ¶

func (m *ResponseMakeOfferData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseMakeOfferData) UnmarshalBinary ¶

func (m *ResponseMakeOfferData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseMakeOfferData) Validate ¶

func (m *ResponseMakeOfferData) Validate(formats strfmt.Registry) error

Validate validates this response make offer data

type ResponseMakeOfferResponse ¶

type ResponseMakeOfferResponse struct {

	// data
	Data *ResponseMakeOfferData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseMakeOfferResponse response make offer response

swagger:model response.MakeOfferResponse

func (*ResponseMakeOfferResponse) ContextValidate ¶

func (m *ResponseMakeOfferResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response make offer response based on the context it is used

func (*ResponseMakeOfferResponse) MarshalBinary ¶

func (m *ResponseMakeOfferResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseMakeOfferResponse) UnmarshalBinary ¶

func (m *ResponseMakeOfferResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseMakeOfferResponse) Validate ¶

func (m *ResponseMakeOfferResponse) Validate(formats strfmt.Registry) error

Validate validates this response make offer response

type ResponseMedalStatisticResponse ¶

type ResponseMedalStatisticResponse struct {

	// data
	Data *ModelsMedalStatistic `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseMedalStatisticResponse response medal statistic response

swagger:model response.MedalStatisticResponse

func (*ResponseMedalStatisticResponse) ContextValidate ¶

func (m *ResponseMedalStatisticResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response medal statistic response based on the context it is used

func (*ResponseMedalStatisticResponse) MarshalBinary ¶

func (m *ResponseMedalStatisticResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseMedalStatisticResponse) UnmarshalBinary ¶

func (m *ResponseMedalStatisticResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseMedalStatisticResponse) Validate ¶

func (m *ResponseMedalStatisticResponse) Validate(formats strfmt.Registry) error

Validate validates this response medal statistic response

type ResponseMetaData ¶

type ResponseMetaData struct {

	// logs
	Logs string `json:"logs,omitempty"`

	// processing time
	ProcessingTime float64 `json:"processing_time,omitempty"`

	// resource
	Resource *ResponseResource `json:"resource,omitempty"`
}

ResponseMetaData response meta data

swagger:model response.MetaData

func (*ResponseMetaData) ContextValidate ¶

func (m *ResponseMetaData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response meta data based on the context it is used

func (*ResponseMetaData) MarshalBinary ¶

func (m *ResponseMetaData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseMetaData) UnmarshalBinary ¶

func (m *ResponseMetaData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseMetaData) Validate ¶

func (m *ResponseMetaData) Validate(formats strfmt.Registry) error

Validate validates this response meta data

type ResponseMetadataListData ¶

type ResponseMetadataListData struct {

	// records
	Records []*ModelsMetadata `json:"records"`
}

ResponseMetadataListData response metadata list data

swagger:model response.MetadataListData

func (*ResponseMetadataListData) ContextValidate ¶

func (m *ResponseMetadataListData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response metadata list data based on the context it is used

func (*ResponseMetadataListData) MarshalBinary ¶

func (m *ResponseMetadataListData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseMetadataListData) UnmarshalBinary ¶

func (m *ResponseMetadataListData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseMetadataListData) Validate ¶

func (m *ResponseMetadataListData) Validate(formats strfmt.Registry) error

Validate validates this response metadata list data

type ResponseMetadataListResponse ¶

type ResponseMetadataListResponse struct {

	// data
	Data *ResponseMetadataListData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseMetadataListResponse response metadata list response

swagger:model response.MetadataListResponse

func (*ResponseMetadataListResponse) ContextValidate ¶

func (m *ResponseMetadataListResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response metadata list response based on the context it is used

func (*ResponseMetadataListResponse) MarshalBinary ¶

func (m *ResponseMetadataListResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseMetadataListResponse) UnmarshalBinary ¶

func (m *ResponseMetadataListResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseMetadataListResponse) Validate ¶

func (m *ResponseMetadataListResponse) Validate(formats strfmt.Registry) error

Validate validates this response metadata list response

type ResponseMetadataResponse ¶

type ResponseMetadataResponse struct {

	// data
	Data *ModelsMetadata `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseMetadataResponse response metadata response

swagger:model response.MetadataResponse

func (*ResponseMetadataResponse) ContextValidate ¶

func (m *ResponseMetadataResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response metadata response based on the context it is used

func (*ResponseMetadataResponse) MarshalBinary ¶

func (m *ResponseMetadataResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseMetadataResponse) UnmarshalBinary ¶

func (m *ResponseMetadataResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseMetadataResponse) Validate ¶

func (m *ResponseMetadataResponse) Validate(formats strfmt.Registry) error

Validate validates this response metadata response

type ResponseMetricStatsData ¶

type ResponseMetricStatsData struct {

	// from
	From int64 `json:"from,omitempty"`

	// infra source
	InfraSource string `json:"infra_source,omitempty"`

	// metrics
	Metrics *ModelsMetricData `json:"metrics,omitempty"`

	// to
	To int64 `json:"to,omitempty"`
}

ResponseMetricStatsData response metric stats data

swagger:model response.MetricStatsData

func (*ResponseMetricStatsData) ContextValidate ¶

func (m *ResponseMetricStatsData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response metric stats data based on the context it is used

func (*ResponseMetricStatsData) MarshalBinary ¶

func (m *ResponseMetricStatsData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseMetricStatsData) UnmarshalBinary ¶

func (m *ResponseMetricStatsData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseMetricStatsData) Validate ¶

func (m *ResponseMetricStatsData) Validate(formats strfmt.Registry) error

Validate validates this response metric stats data

type ResponseMetricStatsResponse ¶

type ResponseMetricStatsResponse struct {

	// data
	Data *ResponseMetricStatsData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseMetricStatsResponse response metric stats response

swagger:model response.MetricStatsResponse

func (*ResponseMetricStatsResponse) ContextValidate ¶

func (m *ResponseMetricStatsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response metric stats response based on the context it is used

func (*ResponseMetricStatsResponse) MarshalBinary ¶

func (m *ResponseMetricStatsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseMetricStatsResponse) UnmarshalBinary ¶

func (m *ResponseMetricStatsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseMetricStatsResponse) Validate ¶

func (m *ResponseMetricStatsResponse) Validate(formats strfmt.Registry) error

Validate validates this response metric stats response

type ResponseModelData ¶

type ResponseModelData struct {

	// author
	Author string `json:"author,omitempty"`

	// created at
	CreatedAt string `json:"created_at,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// downloads
	Downloads int64 `json:"downloads,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// is liked by user
	IsLikedByUser bool `json:"is_liked_by_user,omitempty"`

	// likes
	Likes int64 `json:"likes,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// updated at
	UpdatedAt string `json:"updated_at,omitempty"`
}

ResponseModelData response model data

swagger:model response.ModelData

func (*ResponseModelData) ContextValidate ¶

func (m *ResponseModelData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this response model data based on context it is used

func (*ResponseModelData) MarshalBinary ¶

func (m *ResponseModelData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseModelData) UnmarshalBinary ¶

func (m *ResponseModelData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseModelData) Validate ¶

func (m *ResponseModelData) Validate(formats strfmt.Registry) error

Validate validates this response model data

type ResponseModelListData ¶

type ResponseModelListData struct {

	// records
	Records []*ModelsModel `json:"records"`

	// total
	Total int64 `json:"total,omitempty"`
}

ResponseModelListData response model list data

swagger:model response.ModelListData

func (*ResponseModelListData) ContextValidate ¶

func (m *ResponseModelListData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response model list data based on the context it is used

func (*ResponseModelListData) MarshalBinary ¶

func (m *ResponseModelListData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseModelListData) UnmarshalBinary ¶

func (m *ResponseModelListData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseModelListData) Validate ¶

func (m *ResponseModelListData) Validate(formats strfmt.Registry) error

Validate validates this response model list data

type ResponseModelListResponse ¶

type ResponseModelListResponse struct {

	// data
	Data *ResponseModelListData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseModelListResponse response model list response

swagger:model response.ModelListResponse

func (*ResponseModelListResponse) ContextValidate ¶

func (m *ResponseModelListResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response model list response based on the context it is used

func (*ResponseModelListResponse) MarshalBinary ¶

func (m *ResponseModelListResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseModelListResponse) UnmarshalBinary ¶

func (m *ResponseModelListResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseModelListResponse) Validate ¶

func (m *ResponseModelListResponse) Validate(formats strfmt.Registry) error

Validate validates this response model list response

type ResponseModelMetadataResponse ¶

type ResponseModelMetadataResponse struct {

	// data
	Data *ModelsModelMetadata `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseModelMetadataResponse response model metadata response

swagger:model response.ModelMetadataResponse

func (*ResponseModelMetadataResponse) ContextValidate ¶

func (m *ResponseModelMetadataResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response model metadata response based on the context it is used

func (*ResponseModelMetadataResponse) MarshalBinary ¶

func (m *ResponseModelMetadataResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseModelMetadataResponse) UnmarshalBinary ¶

func (m *ResponseModelMetadataResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseModelMetadataResponse) Validate ¶

func (m *ResponseModelMetadataResponse) Validate(formats strfmt.Registry) error

Validate validates this response model metadata response

type ResponseModelResponse ¶

type ResponseModelResponse struct {

	// data
	Data *ResponseModelData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseModelResponse response model response

swagger:model response.ModelResponse

func (*ResponseModelResponse) ContextValidate ¶

func (m *ResponseModelResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response model response based on the context it is used

func (*ResponseModelResponse) MarshalBinary ¶

func (m *ResponseModelResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseModelResponse) UnmarshalBinary ¶

func (m *ResponseModelResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseModelResponse) Validate ¶

func (m *ResponseModelResponse) Validate(formats strfmt.Registry) error

Validate validates this response model response

type ResponseModelSettingResponse ¶

type ResponseModelSettingResponse struct {

	// data
	Data *ModelsModelSetting `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseModelSettingResponse response model setting response

swagger:model response.ModelSettingResponse

func (*ResponseModelSettingResponse) ContextValidate ¶

func (m *ResponseModelSettingResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response model setting response based on the context it is used

func (*ResponseModelSettingResponse) MarshalBinary ¶

func (m *ResponseModelSettingResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseModelSettingResponse) UnmarshalBinary ¶

func (m *ResponseModelSettingResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseModelSettingResponse) Validate ¶

func (m *ResponseModelSettingResponse) Validate(formats strfmt.Registry) error

Validate validates this response model setting response

type ResponseModelStatisticsResponse ¶

type ResponseModelStatisticsResponse struct {

	// data
	Data *ModelsModelStatistics `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseModelStatisticsResponse response model statistics response

swagger:model response.ModelStatisticsResponse

func (*ResponseModelStatisticsResponse) ContextValidate ¶

func (m *ResponseModelStatisticsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response model statistics response based on the context it is used

func (*ResponseModelStatisticsResponse) MarshalBinary ¶

func (m *ResponseModelStatisticsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseModelStatisticsResponse) UnmarshalBinary ¶

func (m *ResponseModelStatisticsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseModelStatisticsResponse) Validate ¶

Validate validates this response model statistics response

type ResponseModelVersioningGroupLiteListData ¶

type ResponseModelVersioningGroupLiteListData struct {

	// records
	Records []*ModelsModelVersioningGroupLite `json:"records"`

	// total
	Total int64 `json:"total,omitempty"`
}

ResponseModelVersioningGroupLiteListData response model versioning group lite list data

swagger:model response.ModelVersioningGroupLiteListData

func (*ResponseModelVersioningGroupLiteListData) ContextValidate ¶

ContextValidate validate this response model versioning group lite list data based on the context it is used

func (*ResponseModelVersioningGroupLiteListData) MarshalBinary ¶

func (m *ResponseModelVersioningGroupLiteListData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseModelVersioningGroupLiteListData) UnmarshalBinary ¶

func (m *ResponseModelVersioningGroupLiteListData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseModelVersioningGroupLiteListData) Validate ¶

Validate validates this response model versioning group lite list data

type ResponseModelVersioningGroupLiteListResponse ¶

type ResponseModelVersioningGroupLiteListResponse struct {

	// data
	Data *ResponseModelVersioningGroupLiteListData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseModelVersioningGroupLiteListResponse response model versioning group lite list response

swagger:model response.ModelVersioningGroupLiteListResponse

func (*ResponseModelVersioningGroupLiteListResponse) ContextValidate ¶

ContextValidate validate this response model versioning group lite list response based on the context it is used

func (*ResponseModelVersioningGroupLiteListResponse) MarshalBinary ¶

MarshalBinary interface implementation

func (*ResponseModelVersioningGroupLiteListResponse) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*ResponseModelVersioningGroupLiteListResponse) Validate ¶

Validate validates this response model versioning group lite list response

type ResponseModelVersioningGroupLiteResponse ¶

type ResponseModelVersioningGroupLiteResponse struct {

	// data
	Data *ModelsModelVersioningGroupLite `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseModelVersioningGroupLiteResponse response model versioning group lite response

swagger:model response.ModelVersioningGroupLiteResponse

func (*ResponseModelVersioningGroupLiteResponse) ContextValidate ¶

ContextValidate validate this response model versioning group lite response based on the context it is used

func (*ResponseModelVersioningGroupLiteResponse) MarshalBinary ¶

func (m *ResponseModelVersioningGroupLiteResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseModelVersioningGroupLiteResponse) UnmarshalBinary ¶

func (m *ResponseModelVersioningGroupLiteResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseModelVersioningGroupLiteResponse) Validate ¶

Validate validates this response model versioning group lite response

type ResponseModelVersioningResponse ¶

type ResponseModelVersioningResponse struct {

	// data
	Data *ModelsModelVersioning `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseModelVersioningResponse response model versioning response

swagger:model response.ModelVersioningResponse

func (*ResponseModelVersioningResponse) ContextValidate ¶

func (m *ResponseModelVersioningResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response model versioning response based on the context it is used

func (*ResponseModelVersioningResponse) MarshalBinary ¶

func (m *ResponseModelVersioningResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseModelVersioningResponse) UnmarshalBinary ¶

func (m *ResponseModelVersioningResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseModelVersioningResponse) Validate ¶

Validate validates this response model versioning response

type ResponseModifyRepoContentData ¶

type ResponseModifyRepoContentData struct {

	// commit
	Commit *ModelsCommit `json:"commit,omitempty"`
}

ResponseModifyRepoContentData response modify repo content data

swagger:model response.ModifyRepoContentData

func (*ResponseModifyRepoContentData) ContextValidate ¶

func (m *ResponseModifyRepoContentData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response modify repo content data based on the context it is used

func (*ResponseModifyRepoContentData) MarshalBinary ¶

func (m *ResponseModifyRepoContentData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseModifyRepoContentData) UnmarshalBinary ¶

func (m *ResponseModifyRepoContentData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseModifyRepoContentData) Validate ¶

func (m *ResponseModifyRepoContentData) Validate(formats strfmt.Registry) error

Validate validates this response modify repo content data

type ResponseModifyRepoContentResponse ¶

type ResponseModifyRepoContentResponse struct {

	// data
	Data *ResponseModifyRepoContentData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseModifyRepoContentResponse response modify repo content response

swagger:model response.ModifyRepoContentResponse

func (*ResponseModifyRepoContentResponse) ContextValidate ¶

func (m *ResponseModifyRepoContentResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response modify repo content response based on the context it is used

func (*ResponseModifyRepoContentResponse) MarshalBinary ¶

func (m *ResponseModifyRepoContentResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseModifyRepoContentResponse) UnmarshalBinary ¶

func (m *ResponseModifyRepoContentResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseModifyRepoContentResponse) Validate ¶

Validate validates this response modify repo content response

type ResponseNodeLocationStatisticsData ¶

type ResponseNodeLocationStatisticsData struct {

	// continent
	Continent map[string]int64 `json:"continent,omitempty"`

	// country
	Country map[string]int64 `json:"country,omitempty"`

	// offline
	Offline int64 `json:"offline,omitempty"`

	// online
	Online int64 `json:"online,omitempty"`

	// total
	Total int64 `json:"total,omitempty"`
}

ResponseNodeLocationStatisticsData response node location statistics data

swagger:model response.NodeLocationStatisticsData

func (*ResponseNodeLocationStatisticsData) ContextValidate ¶

func (m *ResponseNodeLocationStatisticsData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this response node location statistics data based on context it is used

func (*ResponseNodeLocationStatisticsData) MarshalBinary ¶

func (m *ResponseNodeLocationStatisticsData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseNodeLocationStatisticsData) UnmarshalBinary ¶

func (m *ResponseNodeLocationStatisticsData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseNodeLocationStatisticsData) Validate ¶

Validate validates this response node location statistics data

type ResponseNodeLocationStatisticsResponse ¶

type ResponseNodeLocationStatisticsResponse struct {

	// data
	Data *ResponseNodeLocationStatisticsData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// success
	Success bool `json:"success,omitempty"`
}

ResponseNodeLocationStatisticsResponse response node location statistics response

swagger:model response.NodeLocationStatisticsResponse

func (*ResponseNodeLocationStatisticsResponse) ContextValidate ¶

ContextValidate validate this response node location statistics response based on the context it is used

func (*ResponseNodeLocationStatisticsResponse) MarshalBinary ¶

func (m *ResponseNodeLocationStatisticsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseNodeLocationStatisticsResponse) UnmarshalBinary ¶

func (m *ResponseNodeLocationStatisticsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseNodeLocationStatisticsResponse) Validate ¶

Validate validates this response node location statistics response

type ResponseNodeResourceStatisticsData ¶

type ResponseNodeResourceStatisticsData struct {

	// cpu cores
	CPUCores map[string]int64 `json:"cpu_cores,omitempty"`

	// gpus
	Gpus *ResponseGPUStats `json:"gpus,omitempty"`

	// max cpu core
	MaxCPUCore int64 `json:"max_cpu_core,omitempty"`

	// max system ram
	MaxSystemRAM float64 `json:"max_system_ram,omitempty"`

	// min cpu core
	MinCPUCore int64 `json:"min_cpu_core,omitempty"`

	// min system ram
	MinSystemRAM int64 `json:"min_system_ram,omitempty"`

	// platforms
	Platforms map[string]int64 `json:"platforms,omitempty"`

	// system ram
	SystemRAM map[string]int64 `json:"system_ram,omitempty"`
}

ResponseNodeResourceStatisticsData response node resource statistics data

swagger:model response.NodeResourceStatisticsData

func (*ResponseNodeResourceStatisticsData) ContextValidate ¶

func (m *ResponseNodeResourceStatisticsData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response node resource statistics data based on the context it is used

func (*ResponseNodeResourceStatisticsData) MarshalBinary ¶

func (m *ResponseNodeResourceStatisticsData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseNodeResourceStatisticsData) UnmarshalBinary ¶

func (m *ResponseNodeResourceStatisticsData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseNodeResourceStatisticsData) Validate ¶

Validate validates this response node resource statistics data

type ResponseNodeResourceStatisticsResponse ¶

type ResponseNodeResourceStatisticsResponse struct {

	// data
	Data *ResponseNodeResourceStatisticsData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// success
	Success bool `json:"success,omitempty"`
}

ResponseNodeResourceStatisticsResponse response node resource statistics response

swagger:model response.NodeResourceStatisticsResponse

func (*ResponseNodeResourceStatisticsResponse) ContextValidate ¶

ContextValidate validate this response node resource statistics response based on the context it is used

func (*ResponseNodeResourceStatisticsResponse) MarshalBinary ¶

func (m *ResponseNodeResourceStatisticsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseNodeResourceStatisticsResponse) UnmarshalBinary ¶

func (m *ResponseNodeResourceStatisticsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseNodeResourceStatisticsResponse) Validate ¶

Validate validates this response node resource statistics response

type ResponseNotificationStatisticsData ¶

type ResponseNotificationStatisticsData struct {

	// total
	Total int64 `json:"total,omitempty"`

	// total read
	TotalRead int64 `json:"total_read,omitempty"`
}

ResponseNotificationStatisticsData response notification statistics data

swagger:model response.NotificationStatisticsData

func (*ResponseNotificationStatisticsData) ContextValidate ¶

func (m *ResponseNotificationStatisticsData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this response notification statistics data based on context it is used

func (*ResponseNotificationStatisticsData) MarshalBinary ¶

func (m *ResponseNotificationStatisticsData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseNotificationStatisticsData) UnmarshalBinary ¶

func (m *ResponseNotificationStatisticsData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseNotificationStatisticsData) Validate ¶

Validate validates this response notification statistics data

type ResponseNotificationStatisticsResponse ¶

type ResponseNotificationStatisticsResponse struct {

	// data
	Data *ResponseNotificationStatisticsData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseNotificationStatisticsResponse response notification statistics response

swagger:model response.NotificationStatisticsResponse

func (*ResponseNotificationStatisticsResponse) ContextValidate ¶

ContextValidate validate this response notification statistics response based on the context it is used

func (*ResponseNotificationStatisticsResponse) MarshalBinary ¶

func (m *ResponseNotificationStatisticsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseNotificationStatisticsResponse) UnmarshalBinary ¶

func (m *ResponseNotificationStatisticsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseNotificationStatisticsResponse) Validate ¶

Validate validates this response notification statistics response

type ResponseOrganizationListData ¶

type ResponseOrganizationListData struct {

	// records
	Records []*ModelsOrganizationInfo `json:"records"`

	// total
	Total int64 `json:"total,omitempty"`
}

ResponseOrganizationListData response organization list data

swagger:model response.OrganizationListData

func (*ResponseOrganizationListData) ContextValidate ¶

func (m *ResponseOrganizationListData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response organization list data based on the context it is used

func (*ResponseOrganizationListData) MarshalBinary ¶

func (m *ResponseOrganizationListData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseOrganizationListData) UnmarshalBinary ¶

func (m *ResponseOrganizationListData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseOrganizationListData) Validate ¶

func (m *ResponseOrganizationListData) Validate(formats strfmt.Registry) error

Validate validates this response organization list data

type ResponseOrganizationListResponse ¶

type ResponseOrganizationListResponse struct {

	// data
	Data *ResponseOrganizationListData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseOrganizationListResponse response organization list response

swagger:model response.OrganizationListResponse

func (*ResponseOrganizationListResponse) ContextValidate ¶

func (m *ResponseOrganizationListResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response organization list response based on the context it is used

func (*ResponseOrganizationListResponse) MarshalBinary ¶

func (m *ResponseOrganizationListResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseOrganizationListResponse) UnmarshalBinary ¶

func (m *ResponseOrganizationListResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseOrganizationListResponse) Validate ¶

Validate validates this response organization list response

type ResponseOrganizationResponse ¶

type ResponseOrganizationResponse struct {

	// data
	Data *ModelsOrganizationInfo `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseOrganizationResponse response organization response

swagger:model response.OrganizationResponse

func (*ResponseOrganizationResponse) ContextValidate ¶

func (m *ResponseOrganizationResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response organization response based on the context it is used

func (*ResponseOrganizationResponse) MarshalBinary ¶

func (m *ResponseOrganizationResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseOrganizationResponse) UnmarshalBinary ¶

func (m *ResponseOrganizationResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseOrganizationResponse) Validate ¶

func (m *ResponseOrganizationResponse) Validate(formats strfmt.Registry) error

Validate validates this response organization response

type ResponsePlaygroundLogListData ¶

type ResponsePlaygroundLogListData struct {

	// records
	Records []*ModelsPlaygroundLog `json:"records"`

	// total
	Total int64 `json:"total,omitempty"`
}

ResponsePlaygroundLogListData response playground log list data

swagger:model response.PlaygroundLogListData

func (*ResponsePlaygroundLogListData) ContextValidate ¶

func (m *ResponsePlaygroundLogListData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response playground log list data based on the context it is used

func (*ResponsePlaygroundLogListData) MarshalBinary ¶

func (m *ResponsePlaygroundLogListData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponsePlaygroundLogListData) UnmarshalBinary ¶

func (m *ResponsePlaygroundLogListData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponsePlaygroundLogListData) Validate ¶

func (m *ResponsePlaygroundLogListData) Validate(formats strfmt.Registry) error

Validate validates this response playground log list data

type ResponsePlaygroundLogListResponse ¶

type ResponsePlaygroundLogListResponse struct {

	// data
	Data *ResponsePlaygroundLogListData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponsePlaygroundLogListResponse response playground log list response

swagger:model response.PlaygroundLogListResponse

func (*ResponsePlaygroundLogListResponse) ContextValidate ¶

func (m *ResponsePlaygroundLogListResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response playground log list response based on the context it is used

func (*ResponsePlaygroundLogListResponse) MarshalBinary ¶

func (m *ResponsePlaygroundLogListResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponsePlaygroundLogListResponse) UnmarshalBinary ¶

func (m *ResponsePlaygroundLogListResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponsePlaygroundLogListResponse) Validate ¶

Validate validates this response playground log list response

type ResponsePlaygroundLogResponse ¶

type ResponsePlaygroundLogResponse struct {

	// data
	Data *ModelsPlaygroundLog `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponsePlaygroundLogResponse response playground log response

swagger:model response.PlaygroundLogResponse

func (*ResponsePlaygroundLogResponse) ContextValidate ¶

func (m *ResponsePlaygroundLogResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response playground log response based on the context it is used

func (*ResponsePlaygroundLogResponse) MarshalBinary ¶

func (m *ResponsePlaygroundLogResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponsePlaygroundLogResponse) UnmarshalBinary ¶

func (m *ResponsePlaygroundLogResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponsePlaygroundLogResponse) Validate ¶

func (m *ResponsePlaygroundLogResponse) Validate(formats strfmt.Registry) error

Validate validates this response playground log response

type ResponsePlaygroundPackageListData ¶

type ResponsePlaygroundPackageListData struct {

	// records
	Records []*ModelsPlaygroundPackage `json:"records"`

	// total
	Total int64 `json:"total,omitempty"`
}

ResponsePlaygroundPackageListData response playground package list data

swagger:model response.PlaygroundPackageListData

func (*ResponsePlaygroundPackageListData) ContextValidate ¶

func (m *ResponsePlaygroundPackageListData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response playground package list data based on the context it is used

func (*ResponsePlaygroundPackageListData) MarshalBinary ¶

func (m *ResponsePlaygroundPackageListData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponsePlaygroundPackageListData) UnmarshalBinary ¶

func (m *ResponsePlaygroundPackageListData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponsePlaygroundPackageListData) Validate ¶

Validate validates this response playground package list data

type ResponsePlaygroundPackageListResponse ¶

type ResponsePlaygroundPackageListResponse struct {

	// data
	Data *ResponsePlaygroundPackageListData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponsePlaygroundPackageListResponse response playground package list response

swagger:model response.PlaygroundPackageListResponse

func (*ResponsePlaygroundPackageListResponse) ContextValidate ¶

func (m *ResponsePlaygroundPackageListResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response playground package list response based on the context it is used

func (*ResponsePlaygroundPackageListResponse) MarshalBinary ¶

func (m *ResponsePlaygroundPackageListResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponsePlaygroundPackageListResponse) UnmarshalBinary ¶

func (m *ResponsePlaygroundPackageListResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponsePlaygroundPackageListResponse) Validate ¶

Validate validates this response playground package list response

type ResponsePlaygroundPackageResponse ¶

type ResponsePlaygroundPackageResponse struct {

	// data
	Data *ModelsPlaygroundPackage `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponsePlaygroundPackageResponse response playground package response

swagger:model response.PlaygroundPackageResponse

func (*ResponsePlaygroundPackageResponse) ContextValidate ¶

func (m *ResponsePlaygroundPackageResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response playground package response based on the context it is used

func (*ResponsePlaygroundPackageResponse) MarshalBinary ¶

func (m *ResponsePlaygroundPackageResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponsePlaygroundPackageResponse) UnmarshalBinary ¶

func (m *ResponsePlaygroundPackageResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponsePlaygroundPackageResponse) Validate ¶

Validate validates this response playground package response

type ResponseQueueTaskIDResponse ¶

type ResponseQueueTaskIDResponse struct {

	// data
	Data string `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseQueueTaskIDResponse response queue task Id response

swagger:model response.QueueTaskIdResponse

func (*ResponseQueueTaskIDResponse) ContextValidate ¶

func (m *ResponseQueueTaskIDResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this response queue task Id response based on context it is used

func (*ResponseQueueTaskIDResponse) MarshalBinary ¶

func (m *ResponseQueueTaskIDResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseQueueTaskIDResponse) UnmarshalBinary ¶

func (m *ResponseQueueTaskIDResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseQueueTaskIDResponse) Validate ¶

func (m *ResponseQueueTaskIDResponse) Validate(formats strfmt.Registry) error

Validate validates this response queue task Id response

type ResponseQueueTaskListData ¶

type ResponseQueueTaskListData struct {

	// records
	Records []*ModelsQueueTask `json:"records"`

	// total
	Total int64 `json:"total,omitempty"`
}

ResponseQueueTaskListData response queue task list data

swagger:model response.QueueTaskListData

func (*ResponseQueueTaskListData) ContextValidate ¶

func (m *ResponseQueueTaskListData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response queue task list data based on the context it is used

func (*ResponseQueueTaskListData) MarshalBinary ¶

func (m *ResponseQueueTaskListData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseQueueTaskListData) UnmarshalBinary ¶

func (m *ResponseQueueTaskListData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseQueueTaskListData) Validate ¶

func (m *ResponseQueueTaskListData) Validate(formats strfmt.Registry) error

Validate validates this response queue task list data

type ResponseQueueTaskListResponse ¶

type ResponseQueueTaskListResponse struct {

	// data
	Data *ResponseQueueTaskListData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseQueueTaskListResponse response queue task list response

swagger:model response.QueueTaskListResponse

func (*ResponseQueueTaskListResponse) ContextValidate ¶

func (m *ResponseQueueTaskListResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response queue task list response based on the context it is used

func (*ResponseQueueTaskListResponse) MarshalBinary ¶

func (m *ResponseQueueTaskListResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseQueueTaskListResponse) UnmarshalBinary ¶

func (m *ResponseQueueTaskListResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseQueueTaskListResponse) Validate ¶

func (m *ResponseQueueTaskListResponse) Validate(formats strfmt.Registry) error

Validate validates this response queue task list response

type ResponseQueueTaskResponse ¶

type ResponseQueueTaskResponse struct {

	// data
	Data *ModelsQueueTask `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseQueueTaskResponse response queue task response

swagger:model response.QueueTaskResponse

func (*ResponseQueueTaskResponse) ContextValidate ¶

func (m *ResponseQueueTaskResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response queue task response based on the context it is used

func (*ResponseQueueTaskResponse) MarshalBinary ¶

func (m *ResponseQueueTaskResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseQueueTaskResponse) UnmarshalBinary ¶

func (m *ResponseQueueTaskResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseQueueTaskResponse) Validate ¶

func (m *ResponseQueueTaskResponse) Validate(formats strfmt.Registry) error

Validate validates this response queue task response

type ResponseReactData ¶

type ResponseReactData struct {

	// name
	Name string `json:"name,omitempty"`

	// status
	Status bool `json:"status,omitempty"`
}

ResponseReactData response react data

swagger:model response.ReactData

func (*ResponseReactData) ContextValidate ¶

func (m *ResponseReactData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this response react data based on context it is used

func (*ResponseReactData) MarshalBinary ¶

func (m *ResponseReactData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseReactData) UnmarshalBinary ¶

func (m *ResponseReactData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseReactData) Validate ¶

func (m *ResponseReactData) Validate(formats strfmt.Registry) error

Validate validates this response react data

type ResponseReactResponse ¶

type ResponseReactResponse struct {

	// data
	Data *ResponseReactData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseReactResponse response react response

swagger:model response.ReactResponse

func (*ResponseReactResponse) ContextValidate ¶

func (m *ResponseReactResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response react response based on the context it is used

func (*ResponseReactResponse) MarshalBinary ¶

func (m *ResponseReactResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseReactResponse) UnmarshalBinary ¶

func (m *ResponseReactResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseReactResponse) Validate ¶

func (m *ResponseReactResponse) Validate(formats strfmt.Registry) error

Validate validates this response react response

type ResponseRefreshTokenData ¶

type ResponseRefreshTokenData struct {

	// access token
	AccessToken string `json:"access_token,omitempty"`
}

ResponseRefreshTokenData response refresh token data

swagger:model response.RefreshTokenData

func (*ResponseRefreshTokenData) ContextValidate ¶

func (m *ResponseRefreshTokenData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this response refresh token data based on context it is used

func (*ResponseRefreshTokenData) MarshalBinary ¶

func (m *ResponseRefreshTokenData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseRefreshTokenData) UnmarshalBinary ¶

func (m *ResponseRefreshTokenData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseRefreshTokenData) Validate ¶

func (m *ResponseRefreshTokenData) Validate(formats strfmt.Registry) error

Validate validates this response refresh token data

type ResponseRefreshTokenResponse ¶

type ResponseRefreshTokenResponse struct {

	// data
	Data *ResponseRefreshTokenData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseRefreshTokenResponse response refresh token response

swagger:model response.RefreshTokenResponse

func (*ResponseRefreshTokenResponse) ContextValidate ¶

func (m *ResponseRefreshTokenResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response refresh token response based on the context it is used

func (*ResponseRefreshTokenResponse) MarshalBinary ¶

func (m *ResponseRefreshTokenResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseRefreshTokenResponse) UnmarshalBinary ¶

func (m *ResponseRefreshTokenResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseRefreshTokenResponse) Validate ¶

func (m *ResponseRefreshTokenResponse) Validate(formats strfmt.Registry) error

Validate validates this response refresh token response

type ResponseRepoStatsListData ¶

type ResponseRepoStatsListData struct {

	// records
	Records []*ModelsRepoStats `json:"records"`

	// total
	Total int64 `json:"total,omitempty"`
}

ResponseRepoStatsListData response repo stats list data

swagger:model response.RepoStatsListData

func (*ResponseRepoStatsListData) ContextValidate ¶

func (m *ResponseRepoStatsListData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response repo stats list data based on the context it is used

func (*ResponseRepoStatsListData) MarshalBinary ¶

func (m *ResponseRepoStatsListData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseRepoStatsListData) UnmarshalBinary ¶

func (m *ResponseRepoStatsListData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseRepoStatsListData) Validate ¶

func (m *ResponseRepoStatsListData) Validate(formats strfmt.Registry) error

Validate validates this response repo stats list data

type ResponseRepoStatsListResponse ¶

type ResponseRepoStatsListResponse struct {

	// data
	Data *ResponseRepoStatsListData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseRepoStatsListResponse response repo stats list response

swagger:model response.RepoStatsListResponse

func (*ResponseRepoStatsListResponse) ContextValidate ¶

func (m *ResponseRepoStatsListResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response repo stats list response based on the context it is used

func (*ResponseRepoStatsListResponse) MarshalBinary ¶

func (m *ResponseRepoStatsListResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseRepoStatsListResponse) UnmarshalBinary ¶

func (m *ResponseRepoStatsListResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseRepoStatsListResponse) Validate ¶

func (m *ResponseRepoStatsListResponse) Validate(formats strfmt.Registry) error

Validate validates this response repo stats list response

type ResponseReportedCollectionListData ¶

type ResponseReportedCollectionListData struct {

	// records
	Records []*ModelsReportedCollection `json:"records"`

	// total
	Total int64 `json:"total,omitempty"`
}

ResponseReportedCollectionListData response reported collection list data

swagger:model response.ReportedCollectionListData

func (*ResponseReportedCollectionListData) ContextValidate ¶

func (m *ResponseReportedCollectionListData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response reported collection list data based on the context it is used

func (*ResponseReportedCollectionListData) MarshalBinary ¶

func (m *ResponseReportedCollectionListData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseReportedCollectionListData) UnmarshalBinary ¶

func (m *ResponseReportedCollectionListData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseReportedCollectionListData) Validate ¶

Validate validates this response reported collection list data

type ResponseReportedCollectionListResponse ¶

type ResponseReportedCollectionListResponse struct {

	// data
	Data *ResponseReportedCollectionListData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseReportedCollectionListResponse response reported collection list response

swagger:model response.ReportedCollectionListResponse

func (*ResponseReportedCollectionListResponse) ContextValidate ¶

ContextValidate validate this response reported collection list response based on the context it is used

func (*ResponseReportedCollectionListResponse) MarshalBinary ¶

func (m *ResponseReportedCollectionListResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseReportedCollectionListResponse) UnmarshalBinary ¶

func (m *ResponseReportedCollectionListResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseReportedCollectionListResponse) Validate ¶

Validate validates this response reported collection list response

type ResponseReportedCollectionResponse ¶

type ResponseReportedCollectionResponse struct {

	// data
	Data *ModelsReportedCollection `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseReportedCollectionResponse response reported collection response

swagger:model response.ReportedCollectionResponse

func (*ResponseReportedCollectionResponse) ContextValidate ¶

func (m *ResponseReportedCollectionResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response reported collection response based on the context it is used

func (*ResponseReportedCollectionResponse) MarshalBinary ¶

func (m *ResponseReportedCollectionResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseReportedCollectionResponse) UnmarshalBinary ¶

func (m *ResponseReportedCollectionResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseReportedCollectionResponse) Validate ¶

Validate validates this response reported collection response

type ResponseReportedCommentListData ¶

type ResponseReportedCommentListData struct {

	// records
	Records []*ModelsReportedComment `json:"records"`

	// total
	Total int64 `json:"total,omitempty"`
}

ResponseReportedCommentListData response reported comment list data

swagger:model response.ReportedCommentListData

func (*ResponseReportedCommentListData) ContextValidate ¶

func (m *ResponseReportedCommentListData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response reported comment list data based on the context it is used

func (*ResponseReportedCommentListData) MarshalBinary ¶

func (m *ResponseReportedCommentListData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseReportedCommentListData) UnmarshalBinary ¶

func (m *ResponseReportedCommentListData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseReportedCommentListData) Validate ¶

Validate validates this response reported comment list data

type ResponseReportedCommentListResponse ¶

type ResponseReportedCommentListResponse struct {

	// data
	Data *ResponseReportedCommentListData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseReportedCommentListResponse response reported comment list response

swagger:model response.ReportedCommentListResponse

func (*ResponseReportedCommentListResponse) ContextValidate ¶

func (m *ResponseReportedCommentListResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response reported comment list response based on the context it is used

func (*ResponseReportedCommentListResponse) MarshalBinary ¶

func (m *ResponseReportedCommentListResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseReportedCommentListResponse) UnmarshalBinary ¶

func (m *ResponseReportedCommentListResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseReportedCommentListResponse) Validate ¶

Validate validates this response reported comment list response

type ResponseReportedDiscussionListData ¶

type ResponseReportedDiscussionListData struct {

	// records
	Records []*ModelsReportedDiscussion `json:"records"`

	// total
	Total int64 `json:"total,omitempty"`
}

ResponseReportedDiscussionListData response reported discussion list data

swagger:model response.ReportedDiscussionListData

func (*ResponseReportedDiscussionListData) ContextValidate ¶

func (m *ResponseReportedDiscussionListData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response reported discussion list data based on the context it is used

func (*ResponseReportedDiscussionListData) MarshalBinary ¶

func (m *ResponseReportedDiscussionListData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseReportedDiscussionListData) UnmarshalBinary ¶

func (m *ResponseReportedDiscussionListData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseReportedDiscussionListData) Validate ¶

Validate validates this response reported discussion list data

type ResponseReportedDiscussionListResponse ¶

type ResponseReportedDiscussionListResponse struct {

	// data
	Data *ResponseReportedDiscussionListData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseReportedDiscussionListResponse response reported discussion list response

swagger:model response.ReportedDiscussionListResponse

func (*ResponseReportedDiscussionListResponse) ContextValidate ¶

ContextValidate validate this response reported discussion list response based on the context it is used

func (*ResponseReportedDiscussionListResponse) MarshalBinary ¶

func (m *ResponseReportedDiscussionListResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseReportedDiscussionListResponse) UnmarshalBinary ¶

func (m *ResponseReportedDiscussionListResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseReportedDiscussionListResponse) Validate ¶

Validate validates this response reported discussion list response

type ResponseReportedDiscussionResponse ¶

type ResponseReportedDiscussionResponse struct {

	// data
	Data *ModelsReportedDiscussion `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseReportedDiscussionResponse response reported discussion response

swagger:model response.ReportedDiscussionResponse

func (*ResponseReportedDiscussionResponse) ContextValidate ¶

func (m *ResponseReportedDiscussionResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response reported discussion response based on the context it is used

func (*ResponseReportedDiscussionResponse) MarshalBinary ¶

func (m *ResponseReportedDiscussionResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseReportedDiscussionResponse) UnmarshalBinary ¶

func (m *ResponseReportedDiscussionResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseReportedDiscussionResponse) Validate ¶

Validate validates this response reported discussion response

type ResponseResource ¶

type ResponseResource struct {

	// gpu memory
	GpuMemory *ResponseGPUMemory `json:"gpu_memory,omitempty"`

	// system ram
	SystemRAM *ResponseSystemRAM `json:"system_ram,omitempty"`
}

ResponseResource response resource

swagger:model response.Resource

func (*ResponseResource) ContextValidate ¶

func (m *ResponseResource) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response resource based on the context it is used

func (*ResponseResource) MarshalBinary ¶

func (m *ResponseResource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseResource) UnmarshalBinary ¶

func (m *ResponseResource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseResource) Validate ¶

func (m *ResponseResource) Validate(formats strfmt.Registry) error

Validate validates this response resource

type ResponseResultEvaluate ¶

type ResponseResultEvaluate struct {

	// error
	Error string `json:"error,omitempty"`

	// meta data
	MetaData *ResponseMetaData `json:"meta_data,omitempty"`

	// result
	Result any `json:"result,omitempty"`

	// success
	Success bool `json:"success,omitempty"`
}

ResponseResultEvaluate response result evaluate

swagger:model response.ResultEvaluate

func (*ResponseResultEvaluate) ContextValidate ¶

func (m *ResponseResultEvaluate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response result evaluate based on the context it is used

func (*ResponseResultEvaluate) MarshalBinary ¶

func (m *ResponseResultEvaluate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseResultEvaluate) UnmarshalBinary ¶

func (m *ResponseResultEvaluate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseResultEvaluate) Validate ¶

func (m *ResponseResultEvaluate) Validate(formats strfmt.Registry) error

Validate validates this response result evaluate

type ResponseSearchResponse ¶

type ResponseSearchResponse struct {

	// data
	Data *ResponseSearchResponseData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseSearchResponse response search response

swagger:model response.SearchResponse

func (*ResponseSearchResponse) ContextValidate ¶

func (m *ResponseSearchResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response search response based on the context it is used

func (*ResponseSearchResponse) MarshalBinary ¶

func (m *ResponseSearchResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseSearchResponse) UnmarshalBinary ¶

func (m *ResponseSearchResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseSearchResponse) Validate ¶

func (m *ResponseSearchResponse) Validate(formats strfmt.Registry) error

Validate validates this response search response

type ResponseSearchResponseData ¶

type ResponseSearchResponseData struct {

	// competition
	Competition []any `json:"competition"`

	// dataset
	Dataset []any `json:"dataset"`

	// model
	Model []any `json:"model"`

	// organization
	Organization []any `json:"organization"`

	// user
	User []any `json:"user"`
}

ResponseSearchResponseData response search response data

swagger:model response.SearchResponseData

func (*ResponseSearchResponseData) ContextValidate ¶

func (m *ResponseSearchResponseData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this response search response data based on context it is used

func (*ResponseSearchResponseData) MarshalBinary ¶

func (m *ResponseSearchResponseData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseSearchResponseData) UnmarshalBinary ¶

func (m *ResponseSearchResponseData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseSearchResponseData) Validate ¶

func (m *ResponseSearchResponseData) Validate(formats strfmt.Registry) error

Validate validates this response search response data

type ResponseSubmitHistoryListData ¶

type ResponseSubmitHistoryListData struct {

	// records
	Records []*ModelsSubmitHistory `json:"records"`

	// total
	Total int64 `json:"total,omitempty"`
}

ResponseSubmitHistoryListData response submit history list data

swagger:model response.SubmitHistoryListData

func (*ResponseSubmitHistoryListData) ContextValidate ¶

func (m *ResponseSubmitHistoryListData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response submit history list data based on the context it is used

func (*ResponseSubmitHistoryListData) MarshalBinary ¶

func (m *ResponseSubmitHistoryListData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseSubmitHistoryListData) UnmarshalBinary ¶

func (m *ResponseSubmitHistoryListData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseSubmitHistoryListData) Validate ¶

func (m *ResponseSubmitHistoryListData) Validate(formats strfmt.Registry) error

Validate validates this response submit history list data

type ResponseSubmitHistoryListResponse ¶

type ResponseSubmitHistoryListResponse struct {

	// data
	Data *ResponseSubmitHistoryListData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseSubmitHistoryListResponse response submit history list response

swagger:model response.SubmitHistoryListResponse

func (*ResponseSubmitHistoryListResponse) ContextValidate ¶

func (m *ResponseSubmitHistoryListResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response submit history list response based on the context it is used

func (*ResponseSubmitHistoryListResponse) MarshalBinary ¶

func (m *ResponseSubmitHistoryListResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseSubmitHistoryListResponse) UnmarshalBinary ¶

func (m *ResponseSubmitHistoryListResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseSubmitHistoryListResponse) Validate ¶

Validate validates this response submit history list response

type ResponseSubmitHistoryResponse ¶

type ResponseSubmitHistoryResponse struct {

	// data
	Data *ModelsSubmitHistory `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseSubmitHistoryResponse response submit history response

swagger:model response.SubmitHistoryResponse

func (*ResponseSubmitHistoryResponse) ContextValidate ¶

func (m *ResponseSubmitHistoryResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response submit history response based on the context it is used

func (*ResponseSubmitHistoryResponse) MarshalBinary ¶

func (m *ResponseSubmitHistoryResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseSubmitHistoryResponse) UnmarshalBinary ¶

func (m *ResponseSubmitHistoryResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseSubmitHistoryResponse) Validate ¶

func (m *ResponseSubmitHistoryResponse) Validate(formats strfmt.Registry) error

Validate validates this response submit history response

type ResponseSuccessResponse ¶

type ResponseSuccessResponse struct {

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseSuccessResponse response success response

swagger:model response.SuccessResponse

func (*ResponseSuccessResponse) ContextValidate ¶

func (m *ResponseSuccessResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this response success response based on context it is used

func (*ResponseSuccessResponse) MarshalBinary ¶

func (m *ResponseSuccessResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseSuccessResponse) UnmarshalBinary ¶

func (m *ResponseSuccessResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseSuccessResponse) Validate ¶

func (m *ResponseSuccessResponse) Validate(formats strfmt.Registry) error

Validate validates this response success response

type ResponseSystemRAM ¶

type ResponseSystemRAM struct {

	// total
	Total float64 `json:"total,omitempty"`

	// usage
	Usage float64 `json:"usage,omitempty"`
}

ResponseSystemRAM response system RAM

swagger:model response.SystemRAM

func (*ResponseSystemRAM) ContextValidate ¶

func (m *ResponseSystemRAM) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this response system RAM based on context it is used

func (*ResponseSystemRAM) MarshalBinary ¶

func (m *ResponseSystemRAM) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseSystemRAM) UnmarshalBinary ¶

func (m *ResponseSystemRAM) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseSystemRAM) Validate ¶

func (m *ResponseSystemRAM) Validate(formats strfmt.Registry) error

Validate validates this response system RAM

type ResponseTaskReviewsResponse ¶

type ResponseTaskReviewsResponse struct {

	// data
	Data *ModelsTaskReviews `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseTaskReviewsResponse response task reviews response

swagger:model response.TaskReviewsResponse

func (*ResponseTaskReviewsResponse) ContextValidate ¶

func (m *ResponseTaskReviewsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response task reviews response based on the context it is used

func (*ResponseTaskReviewsResponse) MarshalBinary ¶

func (m *ResponseTaskReviewsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseTaskReviewsResponse) UnmarshalBinary ¶

func (m *ResponseTaskReviewsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseTaskReviewsResponse) Validate ¶

func (m *ResponseTaskReviewsResponse) Validate(formats strfmt.Registry) error

Validate validates this response task reviews response

type ResponseTimelineResponse ¶

type ResponseTimelineResponse struct {

	// data
	Data *ModelsTimeline `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseTimelineResponse response timeline response

swagger:model response.TimelineResponse

func (*ResponseTimelineResponse) ContextValidate ¶

func (m *ResponseTimelineResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response timeline response based on the context it is used

func (*ResponseTimelineResponse) MarshalBinary ¶

func (m *ResponseTimelineResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseTimelineResponse) UnmarshalBinary ¶

func (m *ResponseTimelineResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseTimelineResponse) Validate ¶

func (m *ResponseTimelineResponse) Validate(formats strfmt.Registry) error

Validate validates this response timeline response

type ResponseTrainingTaskData ¶

type ResponseTrainingTaskData struct {

	// active
	Active bool `json:"active,omitempty"`

	// created at
	CreatedAt string `json:"created_at,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// id
	ID *string `json:"id,omitempty"`

	// metadata
	Metadata string `json:"metadata,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// updated at
	UpdatedAt string `json:"updated_at,omitempty"`
}

ResponseTrainingTaskData response training task data

swagger:model response.TrainingTaskData

func (*ResponseTrainingTaskData) ContextValidate ¶

func (m *ResponseTrainingTaskData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this response training task data based on context it is used

func (*ResponseTrainingTaskData) MarshalBinary ¶

func (m *ResponseTrainingTaskData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseTrainingTaskData) UnmarshalBinary ¶

func (m *ResponseTrainingTaskData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseTrainingTaskData) Validate ¶

func (m *ResponseTrainingTaskData) Validate(formats strfmt.Registry) error

Validate validates this response training task data

type ResponseTrainingTaskListData ¶

type ResponseTrainingTaskListData struct {

	// records
	Records []*ModelsTrainingTask `json:"records"`

	// total
	Total int64 `json:"total,omitempty"`
}

ResponseTrainingTaskListData response training task list data

swagger:model response.TrainingTaskListData

func (*ResponseTrainingTaskListData) ContextValidate ¶

func (m *ResponseTrainingTaskListData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response training task list data based on the context it is used

func (*ResponseTrainingTaskListData) MarshalBinary ¶

func (m *ResponseTrainingTaskListData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseTrainingTaskListData) UnmarshalBinary ¶

func (m *ResponseTrainingTaskListData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseTrainingTaskListData) Validate ¶

func (m *ResponseTrainingTaskListData) Validate(formats strfmt.Registry) error

Validate validates this response training task list data

type ResponseTrainingTaskListResponse ¶

type ResponseTrainingTaskListResponse struct {

	// data
	Data *ResponseTrainingTaskListData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseTrainingTaskListResponse response training task list response

swagger:model response.TrainingTaskListResponse

func (*ResponseTrainingTaskListResponse) ContextValidate ¶

func (m *ResponseTrainingTaskListResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response training task list response based on the context it is used

func (*ResponseTrainingTaskListResponse) MarshalBinary ¶

func (m *ResponseTrainingTaskListResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseTrainingTaskListResponse) UnmarshalBinary ¶

func (m *ResponseTrainingTaskListResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseTrainingTaskListResponse) Validate ¶

Validate validates this response training task list response

type ResponseTrainingTaskResponse ¶

type ResponseTrainingTaskResponse struct {

	// data
	Data *ResponseTrainingTaskData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseTrainingTaskResponse response training task response

swagger:model response.TrainingTaskResponse

func (*ResponseTrainingTaskResponse) ContextValidate ¶

func (m *ResponseTrainingTaskResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response training task response based on the context it is used

func (*ResponseTrainingTaskResponse) MarshalBinary ¶

func (m *ResponseTrainingTaskResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseTrainingTaskResponse) UnmarshalBinary ¶

func (m *ResponseTrainingTaskResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseTrainingTaskResponse) Validate ¶

func (m *ResponseTrainingTaskResponse) Validate(formats strfmt.Registry) error

Validate validates this response training task response

type ResponseTransactionAnalyticsResponse ¶

type ResponseTransactionAnalyticsResponse struct {

	// data
	Data *ModelsTransactionAnalytics `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseTransactionAnalyticsResponse response transaction analytics response

swagger:model response.TransactionAnalyticsResponse

func (*ResponseTransactionAnalyticsResponse) ContextValidate ¶

func (m *ResponseTransactionAnalyticsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response transaction analytics response based on the context it is used

func (*ResponseTransactionAnalyticsResponse) MarshalBinary ¶

func (m *ResponseTransactionAnalyticsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseTransactionAnalyticsResponse) UnmarshalBinary ¶

func (m *ResponseTransactionAnalyticsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseTransactionAnalyticsResponse) Validate ¶

Validate validates this response transaction analytics response

type ResponseTransactionHistoryStatisticsListData ¶

type ResponseTransactionHistoryStatisticsListData struct {

	// records
	Records []*ModelsTransactionHistoryStatistics `json:"records"`

	// total
	Total int64 `json:"total,omitempty"`
}

ResponseTransactionHistoryStatisticsListData response transaction history statistics list data

swagger:model response.TransactionHistoryStatisticsListData

func (*ResponseTransactionHistoryStatisticsListData) ContextValidate ¶

ContextValidate validate this response transaction history statistics list data based on the context it is used

func (*ResponseTransactionHistoryStatisticsListData) MarshalBinary ¶

MarshalBinary interface implementation

func (*ResponseTransactionHistoryStatisticsListData) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*ResponseTransactionHistoryStatisticsListData) Validate ¶

Validate validates this response transaction history statistics list data

type ResponseTransactionHistoryStatisticsListResponse ¶

type ResponseTransactionHistoryStatisticsListResponse struct {

	// data
	Data *ResponseTransactionHistoryStatisticsListData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseTransactionHistoryStatisticsListResponse response transaction history statistics list response

swagger:model response.TransactionHistoryStatisticsListResponse

func (*ResponseTransactionHistoryStatisticsListResponse) ContextValidate ¶

ContextValidate validate this response transaction history statistics list response based on the context it is used

func (*ResponseTransactionHistoryStatisticsListResponse) MarshalBinary ¶

MarshalBinary interface implementation

func (*ResponseTransactionHistoryStatisticsListResponse) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*ResponseTransactionHistoryStatisticsListResponse) Validate ¶

Validate validates this response transaction history statistics list response

type ResponseTransactionListData ¶

type ResponseTransactionListData struct {

	// records
	Records []*ModelsTransaction `json:"records"`

	// total
	Total int64 `json:"total,omitempty"`

	// total amount
	TotalAmount float64 `json:"total_amount,omitempty"`

	// total value
	TotalValue float64 `json:"total_value,omitempty"`
}

ResponseTransactionListData response transaction list data

swagger:model response.TransactionListData

func (*ResponseTransactionListData) ContextValidate ¶

func (m *ResponseTransactionListData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response transaction list data based on the context it is used

func (*ResponseTransactionListData) MarshalBinary ¶

func (m *ResponseTransactionListData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseTransactionListData) UnmarshalBinary ¶

func (m *ResponseTransactionListData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseTransactionListData) Validate ¶

func (m *ResponseTransactionListData) Validate(formats strfmt.Registry) error

Validate validates this response transaction list data

type ResponseTransactionListResponse ¶

type ResponseTransactionListResponse struct {

	// data
	Data *ResponseTransactionListData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseTransactionListResponse response transaction list response

swagger:model response.TransactionListResponse

func (*ResponseTransactionListResponse) ContextValidate ¶

func (m *ResponseTransactionListResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response transaction list response based on the context it is used

func (*ResponseTransactionListResponse) MarshalBinary ¶

func (m *ResponseTransactionListResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseTransactionListResponse) UnmarshalBinary ¶

func (m *ResponseTransactionListResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseTransactionListResponse) Validate ¶

Validate validates this response transaction list response

type ResponseTreasuryWithdrawalResponse ¶

type ResponseTreasuryWithdrawalResponse struct {

	// data
	Data *ModelsTreasuryWithdrawal `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseTreasuryWithdrawalResponse response treasury withdrawal response

swagger:model response.TreasuryWithdrawalResponse

func (*ResponseTreasuryWithdrawalResponse) ContextValidate ¶

func (m *ResponseTreasuryWithdrawalResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response treasury withdrawal response based on the context it is used

func (*ResponseTreasuryWithdrawalResponse) MarshalBinary ¶

func (m *ResponseTreasuryWithdrawalResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseTreasuryWithdrawalResponse) UnmarshalBinary ¶

func (m *ResponseTreasuryWithdrawalResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseTreasuryWithdrawalResponse) Validate ¶

Validate validates this response treasury withdrawal response

type ResponseTxInListData ¶

type ResponseTxInListData struct {

	// records
	Records []*ModelsTxIn `json:"records"`

	// total
	Total int64 `json:"total,omitempty"`
}

ResponseTxInListData response tx in list data

swagger:model response.TxInListData

func (*ResponseTxInListData) ContextValidate ¶

func (m *ResponseTxInListData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response tx in list data based on the context it is used

func (*ResponseTxInListData) MarshalBinary ¶

func (m *ResponseTxInListData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseTxInListData) UnmarshalBinary ¶

func (m *ResponseTxInListData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseTxInListData) Validate ¶

func (m *ResponseTxInListData) Validate(formats strfmt.Registry) error

Validate validates this response tx in list data

type ResponseTxInListResponse ¶

type ResponseTxInListResponse struct {

	// data
	Data *ResponseTxInListData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseTxInListResponse response tx in list response

swagger:model response.TxInListResponse

func (*ResponseTxInListResponse) ContextValidate ¶

func (m *ResponseTxInListResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response tx in list response based on the context it is used

func (*ResponseTxInListResponse) MarshalBinary ¶

func (m *ResponseTxInListResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseTxInListResponse) UnmarshalBinary ¶

func (m *ResponseTxInListResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseTxInListResponse) Validate ¶

func (m *ResponseTxInListResponse) Validate(formats strfmt.Registry) error

Validate validates this response tx in list response

type ResponseUnlockRepoByUserResponse ¶

type ResponseUnlockRepoByUserResponse struct {

	// data
	Data *ResponseGetCommitDiffData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseUnlockRepoByUserResponse response unlock repo by user response

swagger:model response.UnlockRepoByUserResponse

func (*ResponseUnlockRepoByUserResponse) ContextValidate ¶

func (m *ResponseUnlockRepoByUserResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response unlock repo by user response based on the context it is used

func (*ResponseUnlockRepoByUserResponse) MarshalBinary ¶

func (m *ResponseUnlockRepoByUserResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseUnlockRepoByUserResponse) UnmarshalBinary ¶

func (m *ResponseUnlockRepoByUserResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseUnlockRepoByUserResponse) Validate ¶

Validate validates this response unlock repo by user response

type ResponseUpdateJoinSettingsData ¶

type ResponseUpdateJoinSettingsData struct {

	// allow join by link
	AllowJoinByLink bool `json:"allow_join_by_link,omitempty"`

	// allow request to join
	AllowRequestToJoin bool `json:"allow_request_to_join,omitempty"`

	// auto approve join request
	AutoApproveJoinRequest bool `json:"auto_approve_join_request,omitempty"`

	// default role
	DefaultRole string `json:"default_role,omitempty"`

	// join id
	JoinID string `json:"join_id,omitempty"`
}

ResponseUpdateJoinSettingsData response update join settings data

swagger:model response.UpdateJoinSettingsData

func (*ResponseUpdateJoinSettingsData) ContextValidate ¶

func (m *ResponseUpdateJoinSettingsData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this response update join settings data based on context it is used

func (*ResponseUpdateJoinSettingsData) MarshalBinary ¶

func (m *ResponseUpdateJoinSettingsData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseUpdateJoinSettingsData) UnmarshalBinary ¶

func (m *ResponseUpdateJoinSettingsData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseUpdateJoinSettingsData) Validate ¶

func (m *ResponseUpdateJoinSettingsData) Validate(formats strfmt.Registry) error

Validate validates this response update join settings data

type ResponseUpdateJoinSettingsResponse ¶

type ResponseUpdateJoinSettingsResponse struct {

	// data
	Data *ResponseUpdateJoinSettingsData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseUpdateJoinSettingsResponse response update join settings response

swagger:model response.UpdateJoinSettingsResponse

func (*ResponseUpdateJoinSettingsResponse) ContextValidate ¶

func (m *ResponseUpdateJoinSettingsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response update join settings response based on the context it is used

func (*ResponseUpdateJoinSettingsResponse) MarshalBinary ¶

func (m *ResponseUpdateJoinSettingsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseUpdateJoinSettingsResponse) UnmarshalBinary ¶

func (m *ResponseUpdateJoinSettingsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseUpdateJoinSettingsResponse) Validate ¶

Validate validates this response update join settings response

type ResponseUserAccountListData ¶

type ResponseUserAccountListData struct {

	// records
	Records []*ModelsUserWalletInfo `json:"records"`

	// total
	Total int64 `json:"total,omitempty"`
}

ResponseUserAccountListData response user account list data

swagger:model response.UserAccountListData

func (*ResponseUserAccountListData) ContextValidate ¶

func (m *ResponseUserAccountListData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response user account list data based on the context it is used

func (*ResponseUserAccountListData) MarshalBinary ¶

func (m *ResponseUserAccountListData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseUserAccountListData) UnmarshalBinary ¶

func (m *ResponseUserAccountListData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseUserAccountListData) Validate ¶

func (m *ResponseUserAccountListData) Validate(formats strfmt.Registry) error

Validate validates this response user account list data

type ResponseUserAccountListResponse ¶

type ResponseUserAccountListResponse struct {

	// data
	Data *ResponseUserAccountListData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseUserAccountListResponse response user account list response

swagger:model response.UserAccountListResponse

func (*ResponseUserAccountListResponse) ContextValidate ¶

func (m *ResponseUserAccountListResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response user account list response based on the context it is used

func (*ResponseUserAccountListResponse) MarshalBinary ¶

func (m *ResponseUserAccountListResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseUserAccountListResponse) UnmarshalBinary ¶

func (m *ResponseUserAccountListResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseUserAccountListResponse) Validate ¶

Validate validates this response user account list response

type ResponseUserData ¶

type ResponseUserData struct {

	// user
	User *ModelsUser `json:"user,omitempty"`
}

ResponseUserData response user data

swagger:model response.UserData

func (*ResponseUserData) ContextValidate ¶

func (m *ResponseUserData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response user data based on the context it is used

func (*ResponseUserData) MarshalBinary ¶

func (m *ResponseUserData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseUserData) UnmarshalBinary ¶

func (m *ResponseUserData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseUserData) Validate ¶

func (m *ResponseUserData) Validate(formats strfmt.Registry) error

Validate validates this response user data

type ResponseUserEarningsStatisticsResponse ¶

type ResponseUserEarningsStatisticsResponse struct {

	// data
	Data *ModelsUserEarningsStatistics `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseUserEarningsStatisticsResponse response user earnings statistics response

swagger:model response.UserEarningsStatisticsResponse

func (*ResponseUserEarningsStatisticsResponse) ContextValidate ¶

ContextValidate validate this response user earnings statistics response based on the context it is used

func (*ResponseUserEarningsStatisticsResponse) MarshalBinary ¶

func (m *ResponseUserEarningsStatisticsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseUserEarningsStatisticsResponse) UnmarshalBinary ¶

func (m *ResponseUserEarningsStatisticsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseUserEarningsStatisticsResponse) Validate ¶

Validate validates this response user earnings statistics response

type ResponseUserListData ¶

type ResponseUserListData struct {

	// records
	Records []*ModelsUserInfo `json:"records"`

	// total
	Total int64 `json:"total,omitempty"`
}

ResponseUserListData response user list data

swagger:model response.UserListData

func (*ResponseUserListData) ContextValidate ¶

func (m *ResponseUserListData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response user list data based on the context it is used

func (*ResponseUserListData) MarshalBinary ¶

func (m *ResponseUserListData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseUserListData) UnmarshalBinary ¶

func (m *ResponseUserListData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseUserListData) Validate ¶

func (m *ResponseUserListData) Validate(formats strfmt.Registry) error

Validate validates this response user list data

type ResponseUserListResponse ¶

type ResponseUserListResponse struct {

	// data
	Data *ResponseUserListData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseUserListResponse response user list response

swagger:model response.UserListResponse

func (*ResponseUserListResponse) ContextValidate ¶

func (m *ResponseUserListResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response user list response based on the context it is used

func (*ResponseUserListResponse) MarshalBinary ¶

func (m *ResponseUserListResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseUserListResponse) UnmarshalBinary ¶

func (m *ResponseUserListResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseUserListResponse) Validate ¶

func (m *ResponseUserListResponse) Validate(formats strfmt.Registry) error

Validate validates this response user list response

type ResponseUserMedalListData ¶

type ResponseUserMedalListData struct {

	// records
	Records []*ModelsUserMedal `json:"records"`

	// total
	Total int64 `json:"total,omitempty"`
}

ResponseUserMedalListData response user medal list data

swagger:model response.UserMedalListData

func (*ResponseUserMedalListData) ContextValidate ¶

func (m *ResponseUserMedalListData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response user medal list data based on the context it is used

func (*ResponseUserMedalListData) MarshalBinary ¶

func (m *ResponseUserMedalListData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseUserMedalListData) UnmarshalBinary ¶

func (m *ResponseUserMedalListData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseUserMedalListData) Validate ¶

func (m *ResponseUserMedalListData) Validate(formats strfmt.Registry) error

Validate validates this response user medal list data

type ResponseUserMedalListResponse ¶

type ResponseUserMedalListResponse struct {

	// data
	Data *ResponseUserMedalListData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseUserMedalListResponse response user medal list response

swagger:model response.UserMedalListResponse

func (*ResponseUserMedalListResponse) ContextValidate ¶

func (m *ResponseUserMedalListResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response user medal list response based on the context it is used

func (*ResponseUserMedalListResponse) MarshalBinary ¶

func (m *ResponseUserMedalListResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseUserMedalListResponse) UnmarshalBinary ¶

func (m *ResponseUserMedalListResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseUserMedalListResponse) Validate ¶

func (m *ResponseUserMedalListResponse) Validate(formats strfmt.Registry) error

Validate validates this response user medal list response

type ResponseUserResponse ¶

type ResponseUserResponse struct {

	// data
	Data *ResponseUserData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseUserResponse response user response

swagger:model response.UserResponse

func (*ResponseUserResponse) ContextValidate ¶

func (m *ResponseUserResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response user response based on the context it is used

func (*ResponseUserResponse) MarshalBinary ¶

func (m *ResponseUserResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseUserResponse) UnmarshalBinary ¶

func (m *ResponseUserResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseUserResponse) Validate ¶

func (m *ResponseUserResponse) Validate(formats strfmt.Registry) error

Validate validates this response user response

type ResponseUserSpendingCostStatisticsResponse ¶

type ResponseUserSpendingCostStatisticsResponse struct {

	// data
	Data *ModelsUserSpendingCostStatistics `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseUserSpendingCostStatisticsResponse response user spending cost statistics response

swagger:model response.UserSpendingCostStatisticsResponse

func (*ResponseUserSpendingCostStatisticsResponse) ContextValidate ¶

ContextValidate validate this response user spending cost statistics response based on the context it is used

func (*ResponseUserSpendingCostStatisticsResponse) MarshalBinary ¶

func (m *ResponseUserSpendingCostStatisticsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseUserSpendingCostStatisticsResponse) UnmarshalBinary ¶

func (m *ResponseUserSpendingCostStatisticsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseUserSpendingCostStatisticsResponse) Validate ¶

Validate validates this response user spending cost statistics response

type ResponseUserTrainingTaskListData ¶

type ResponseUserTrainingTaskListData struct {

	// records
	Records []*ModelsUserTrainingTask `json:"records"`

	// total
	Total int64 `json:"total,omitempty"`
}

ResponseUserTrainingTaskListData response user training task list data

swagger:model response.UserTrainingTaskListData

func (*ResponseUserTrainingTaskListData) ContextValidate ¶

func (m *ResponseUserTrainingTaskListData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response user training task list data based on the context it is used

func (*ResponseUserTrainingTaskListData) MarshalBinary ¶

func (m *ResponseUserTrainingTaskListData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseUserTrainingTaskListData) UnmarshalBinary ¶

func (m *ResponseUserTrainingTaskListData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseUserTrainingTaskListData) Validate ¶

Validate validates this response user training task list data

type ResponseUserTrainingTaskListResponse ¶

type ResponseUserTrainingTaskListResponse struct {

	// data
	Data *ResponseUserTrainingTaskListData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseUserTrainingTaskListResponse response user training task list response

swagger:model response.UserTrainingTaskListResponse

func (*ResponseUserTrainingTaskListResponse) ContextValidate ¶

func (m *ResponseUserTrainingTaskListResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response user training task list response based on the context it is used

func (*ResponseUserTrainingTaskListResponse) MarshalBinary ¶

func (m *ResponseUserTrainingTaskListResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseUserTrainingTaskListResponse) UnmarshalBinary ¶

func (m *ResponseUserTrainingTaskListResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseUserTrainingTaskListResponse) Validate ¶

Validate validates this response user training task list response

type ResponseUserWalletData ¶

type ResponseUserWalletData struct {

	// wallet address
	WalletAddress string `json:"wallet_address,omitempty"`
}

ResponseUserWalletData response user wallet data

swagger:model response.UserWalletData

func (*ResponseUserWalletData) ContextValidate ¶

func (m *ResponseUserWalletData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this response user wallet data based on context it is used

func (*ResponseUserWalletData) MarshalBinary ¶

func (m *ResponseUserWalletData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseUserWalletData) UnmarshalBinary ¶

func (m *ResponseUserWalletData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseUserWalletData) Validate ¶

func (m *ResponseUserWalletData) Validate(formats strfmt.Registry) error

Validate validates this response user wallet data

type ResponseUserWalletResponse ¶

type ResponseUserWalletResponse struct {

	// data
	Data *ResponseUserWalletData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseUserWalletResponse response user wallet response

swagger:model response.UserWalletResponse

func (*ResponseUserWalletResponse) ContextValidate ¶

func (m *ResponseUserWalletResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response user wallet response based on the context it is used

func (*ResponseUserWalletResponse) MarshalBinary ¶

func (m *ResponseUserWalletResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseUserWalletResponse) UnmarshalBinary ¶

func (m *ResponseUserWalletResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseUserWalletResponse) Validate ¶

func (m *ResponseUserWalletResponse) Validate(formats strfmt.Registry) error

Validate validates this response user wallet response

type ResponseUsersMapResponse ¶

type ResponseUsersMapResponse struct {

	// data
	Data *ResponseUsersMapResponseData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseUsersMapResponse response users map response

swagger:model response.UsersMapResponse

func (*ResponseUsersMapResponse) ContextValidate ¶

func (m *ResponseUsersMapResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response users map response based on the context it is used

func (*ResponseUsersMapResponse) MarshalBinary ¶

func (m *ResponseUsersMapResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseUsersMapResponse) UnmarshalBinary ¶

func (m *ResponseUsersMapResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseUsersMapResponse) Validate ¶

func (m *ResponseUsersMapResponse) Validate(formats strfmt.Registry) error

Validate validates this response users map response

type ResponseUsersMapResponseData ¶

type ResponseUsersMapResponseData struct {

	// users
	Users map[string]ModelsUser `json:"users,omitempty"`
}

ResponseUsersMapResponseData response users map response data

swagger:model response.UsersMapResponseData

func (*ResponseUsersMapResponseData) ContextValidate ¶

func (m *ResponseUsersMapResponseData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response users map response data based on the context it is used

func (*ResponseUsersMapResponseData) MarshalBinary ¶

func (m *ResponseUsersMapResponseData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseUsersMapResponseData) UnmarshalBinary ¶

func (m *ResponseUsersMapResponseData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseUsersMapResponseData) Validate ¶

func (m *ResponseUsersMapResponseData) Validate(formats strfmt.Registry) error

Validate validates this response users map response data

type ResponseVerifyAiModelCustomResponse ¶

type ResponseVerifyAiModelCustomResponse struct {

	// data
	Data *ModelsVerifyAiModelCustom `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseVerifyAiModelCustomResponse response verify ai model custom response

swagger:model response.VerifyAiModelCustomResponse

func (*ResponseVerifyAiModelCustomResponse) ContextValidate ¶

func (m *ResponseVerifyAiModelCustomResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response verify ai model custom response based on the context it is used

func (*ResponseVerifyAiModelCustomResponse) MarshalBinary ¶

func (m *ResponseVerifyAiModelCustomResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseVerifyAiModelCustomResponse) UnmarshalBinary ¶

func (m *ResponseVerifyAiModelCustomResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseVerifyAiModelCustomResponse) Validate ¶

Validate validates this response verify ai model custom response

type ResponseVerifyAiModelListData ¶

type ResponseVerifyAiModelListData struct {

	// records
	Records []*ModelsVerifyAiModelCustom `json:"records"`

	// total
	Total int64 `json:"total,omitempty"`
}

ResponseVerifyAiModelListData response verify ai model list data

swagger:model response.VerifyAiModelListData

func (*ResponseVerifyAiModelListData) ContextValidate ¶

func (m *ResponseVerifyAiModelListData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response verify ai model list data based on the context it is used

func (*ResponseVerifyAiModelListData) MarshalBinary ¶

func (m *ResponseVerifyAiModelListData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseVerifyAiModelListData) UnmarshalBinary ¶

func (m *ResponseVerifyAiModelListData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseVerifyAiModelListData) Validate ¶

func (m *ResponseVerifyAiModelListData) Validate(formats strfmt.Registry) error

Validate validates this response verify ai model list data

type ResponseVerifyAiModelListResponse ¶

type ResponseVerifyAiModelListResponse struct {

	// data
	Data *ResponseVerifyAiModelListData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseVerifyAiModelListResponse response verify ai model list response

swagger:model response.VerifyAiModelListResponse

func (*ResponseVerifyAiModelListResponse) ContextValidate ¶

func (m *ResponseVerifyAiModelListResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response verify ai model list response based on the context it is used

func (*ResponseVerifyAiModelListResponse) MarshalBinary ¶

func (m *ResponseVerifyAiModelListResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseVerifyAiModelListResponse) UnmarshalBinary ¶

func (m *ResponseVerifyAiModelListResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseVerifyAiModelListResponse) Validate ¶

Validate validates this response verify ai model list response

type ResponseVerifyAiModelResponse ¶

type ResponseVerifyAiModelResponse struct {

	// data
	Data string `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseVerifyAiModelResponse response verify ai model response

swagger:model response.VerifyAiModelResponse

func (*ResponseVerifyAiModelResponse) ContextValidate ¶

func (m *ResponseVerifyAiModelResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this response verify ai model response based on context it is used

func (*ResponseVerifyAiModelResponse) MarshalBinary ¶

func (m *ResponseVerifyAiModelResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseVerifyAiModelResponse) UnmarshalBinary ¶

func (m *ResponseVerifyAiModelResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseVerifyAiModelResponse) Validate ¶

func (m *ResponseVerifyAiModelResponse) Validate(formats strfmt.Registry) error

Validate validates this response verify ai model response

type ResponseVerifyData ¶

type ResponseVerifyData struct {

	// data
	Data *ModelsCredential `json:"data,omitempty"`
}

ResponseVerifyData response verify data

swagger:model response.VerifyData

func (*ResponseVerifyData) ContextValidate ¶

func (m *ResponseVerifyData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response verify data based on the context it is used

func (*ResponseVerifyData) MarshalBinary ¶

func (m *ResponseVerifyData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseVerifyData) UnmarshalBinary ¶

func (m *ResponseVerifyData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseVerifyData) Validate ¶

func (m *ResponseVerifyData) Validate(formats strfmt.Registry) error

Validate validates this response verify data

type ResponseVerifyResponse ¶

type ResponseVerifyResponse struct {

	// data
	Data *ResponseVerifyData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseVerifyResponse response verify response

swagger:model response.VerifyResponse

func (*ResponseVerifyResponse) ContextValidate ¶

func (m *ResponseVerifyResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response verify response based on the context it is used

func (*ResponseVerifyResponse) MarshalBinary ¶

func (m *ResponseVerifyResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseVerifyResponse) UnmarshalBinary ¶

func (m *ResponseVerifyResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseVerifyResponse) Validate ¶

func (m *ResponseVerifyResponse) Validate(formats strfmt.Registry) error

Validate validates this response verify response

type ResponseVoucherListData ¶

type ResponseVoucherListData struct {

	// records
	Records []*ModelsVoucher `json:"records"`

	// total
	Total int64 `json:"total,omitempty"`
}

ResponseVoucherListData response voucher list data

swagger:model response.VoucherListData

func (*ResponseVoucherListData) ContextValidate ¶

func (m *ResponseVoucherListData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response voucher list data based on the context it is used

func (*ResponseVoucherListData) MarshalBinary ¶

func (m *ResponseVoucherListData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseVoucherListData) UnmarshalBinary ¶

func (m *ResponseVoucherListData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseVoucherListData) Validate ¶

func (m *ResponseVoucherListData) Validate(formats strfmt.Registry) error

Validate validates this response voucher list data

type ResponseVoucherListResponse ¶

type ResponseVoucherListResponse struct {

	// data
	Data *ResponseVoucherListData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseVoucherListResponse response voucher list response

swagger:model response.VoucherListResponse

func (*ResponseVoucherListResponse) ContextValidate ¶

func (m *ResponseVoucherListResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response voucher list response based on the context it is used

func (*ResponseVoucherListResponse) MarshalBinary ¶

func (m *ResponseVoucherListResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseVoucherListResponse) UnmarshalBinary ¶

func (m *ResponseVoucherListResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseVoucherListResponse) Validate ¶

func (m *ResponseVoucherListResponse) Validate(formats strfmt.Registry) error

Validate validates this response voucher list response

type ResponseVoucherResponse ¶

type ResponseVoucherResponse struct {

	// data
	Data *ModelsVoucher `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseVoucherResponse response voucher response

swagger:model response.VoucherResponse

func (*ResponseVoucherResponse) ContextValidate ¶

func (m *ResponseVoucherResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response voucher response based on the context it is used

func (*ResponseVoucherResponse) MarshalBinary ¶

func (m *ResponseVoucherResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseVoucherResponse) UnmarshalBinary ¶

func (m *ResponseVoucherResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseVoucherResponse) Validate ¶

func (m *ResponseVoucherResponse) Validate(formats strfmt.Registry) error

Validate validates this response voucher response

type ResponseVoucherStatisticsResponse ¶

type ResponseVoucherStatisticsResponse struct {

	// data
	Data *ModelsVoucherStatistics `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseVoucherStatisticsResponse response voucher statistics response

swagger:model response.VoucherStatisticsResponse

func (*ResponseVoucherStatisticsResponse) ContextValidate ¶

func (m *ResponseVoucherStatisticsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response voucher statistics response based on the context it is used

func (*ResponseVoucherStatisticsResponse) MarshalBinary ¶

func (m *ResponseVoucherStatisticsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseVoucherStatisticsResponse) UnmarshalBinary ¶

func (m *ResponseVoucherStatisticsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseVoucherStatisticsResponse) Validate ¶

Validate validates this response voucher statistics response

type ResponseWalletWithAddressResponse ¶

type ResponseWalletWithAddressResponse struct {

	// data
	Data *ModelsWalletWithAddress `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseWalletWithAddressResponse response wallet with address response

swagger:model response.WalletWithAddressResponse

func (*ResponseWalletWithAddressResponse) ContextValidate ¶

func (m *ResponseWalletWithAddressResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response wallet with address response based on the context it is used

func (*ResponseWalletWithAddressResponse) MarshalBinary ¶

func (m *ResponseWalletWithAddressResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseWalletWithAddressResponse) UnmarshalBinary ¶

func (m *ResponseWalletWithAddressResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseWalletWithAddressResponse) Validate ¶

Validate validates this response wallet with address response

type ResponseWithdrawalHistoryListData ¶

type ResponseWithdrawalHistoryListData struct {

	// records
	Records []*ModelsWithdrawalHistory `json:"records"`

	// total
	Total int64 `json:"total,omitempty"`
}

ResponseWithdrawalHistoryListData response withdrawal history list data

swagger:model response.WithdrawalHistoryListData

func (*ResponseWithdrawalHistoryListData) ContextValidate ¶

func (m *ResponseWithdrawalHistoryListData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response withdrawal history list data based on the context it is used

func (*ResponseWithdrawalHistoryListData) MarshalBinary ¶

func (m *ResponseWithdrawalHistoryListData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseWithdrawalHistoryListData) UnmarshalBinary ¶

func (m *ResponseWithdrawalHistoryListData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseWithdrawalHistoryListData) Validate ¶

Validate validates this response withdrawal history list data

type ResponseWithdrawalHistoryListResponse ¶

type ResponseWithdrawalHistoryListResponse struct {

	// data
	Data *ResponseWithdrawalHistoryListData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseWithdrawalHistoryListResponse response withdrawal history list response

swagger:model response.WithdrawalHistoryListResponse

func (*ResponseWithdrawalHistoryListResponse) ContextValidate ¶

func (m *ResponseWithdrawalHistoryListResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response withdrawal history list response based on the context it is used

func (*ResponseWithdrawalHistoryListResponse) MarshalBinary ¶

func (m *ResponseWithdrawalHistoryListResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseWithdrawalHistoryListResponse) UnmarshalBinary ¶

func (m *ResponseWithdrawalHistoryListResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseWithdrawalHistoryListResponse) Validate ¶

Validate validates this response withdrawal history list response

type ResponseWithdrawalHistoryResponse ¶

type ResponseWithdrawalHistoryResponse struct {

	// data
	Data *ModelsWithdrawalHistory `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseWithdrawalHistoryResponse response withdrawal history response

swagger:model response.WithdrawalHistoryResponse

func (*ResponseWithdrawalHistoryResponse) ContextValidate ¶

func (m *ResponseWithdrawalHistoryResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response withdrawal history response based on the context it is used

func (*ResponseWithdrawalHistoryResponse) MarshalBinary ¶

func (m *ResponseWithdrawalHistoryResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseWithdrawalHistoryResponse) UnmarshalBinary ¶

func (m *ResponseWithdrawalHistoryResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseWithdrawalHistoryResponse) Validate ¶

Validate validates this response withdrawal history response

type ResponseWithdrawalListData ¶

type ResponseWithdrawalListData struct {

	// records
	Records []*ModelsTreasuryWithdrawal `json:"records"`

	// total
	Total int64 `json:"total,omitempty"`
}

ResponseWithdrawalListData response withdrawal list data

swagger:model response.WithdrawalListData

func (*ResponseWithdrawalListData) ContextValidate ¶

func (m *ResponseWithdrawalListData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response withdrawal list data based on the context it is used

func (*ResponseWithdrawalListData) MarshalBinary ¶

func (m *ResponseWithdrawalListData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseWithdrawalListData) UnmarshalBinary ¶

func (m *ResponseWithdrawalListData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseWithdrawalListData) Validate ¶

func (m *ResponseWithdrawalListData) Validate(formats strfmt.Registry) error

Validate validates this response withdrawal list data

type ResponseWithdrawalListResponse ¶

type ResponseWithdrawalListResponse struct {

	// data
	Data *ResponseWithdrawalListData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseWithdrawalListResponse response withdrawal list response

swagger:model response.WithdrawalListResponse

func (*ResponseWithdrawalListResponse) ContextValidate ¶

func (m *ResponseWithdrawalListResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response withdrawal list response based on the context it is used

func (*ResponseWithdrawalListResponse) MarshalBinary ¶

func (m *ResponseWithdrawalListResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseWithdrawalListResponse) UnmarshalBinary ¶

func (m *ResponseWithdrawalListResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseWithdrawalListResponse) Validate ¶

func (m *ResponseWithdrawalListResponse) Validate(formats strfmt.Registry) error

Validate validates this response withdrawal list response

type ResponseWithdrawalResponse ¶

type ResponseWithdrawalResponse struct {

	// data
	Data *ModelsTreasuryWithdrawal `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// status
	Status *string `json:"status,omitempty"`
}

ResponseWithdrawalResponse response withdrawal response

swagger:model response.WithdrawalResponse

func (*ResponseWithdrawalResponse) ContextValidate ¶

func (m *ResponseWithdrawalResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response withdrawal response based on the context it is used

func (*ResponseWithdrawalResponse) MarshalBinary ¶

func (m *ResponseWithdrawalResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseWithdrawalResponse) UnmarshalBinary ¶

func (m *ResponseWithdrawalResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseWithdrawalResponse) Validate ¶

func (m *ResponseWithdrawalResponse) Validate(formats strfmt.Registry) error

Validate validates this response withdrawal response

type UtilsGetTokenInfoData ¶

type UtilsGetTokenInfoData struct {

	// change percentage 24h
	ChangePercentage24h float64 `json:"change_percentage_24h,omitempty"`

	// circulating supply
	CirculatingSupply float64 `json:"circulating_supply,omitempty"`

	// current price
	CurrentPrice float64 `json:"current_price,omitempty"`

	// fully diluted valuation
	FullyDilutedValuation float64 `json:"fully_diluted_valuation,omitempty"`

	// high 24 h
	High24h float64 `json:"high_24_h,omitempty"`

	// last updated
	LastUpdated string `json:"last_updated,omitempty"`

	// low 24 h
	Low24h float64 `json:"low_24_h,omitempty"`

	// market cap
	MarketCap float64 `json:"market_cap,omitempty"`

	// rank
	Rank int64 `json:"rank,omitempty"`

	// total supply
	TotalSupply float64 `json:"total_supply,omitempty"`

	// volume 24 h
	Volume24h float64 `json:"volume_24_h,omitempty"`
}

UtilsGetTokenInfoData utils get token info data

swagger:model utils.GetTokenInfoData

func (*UtilsGetTokenInfoData) ContextValidate ¶

func (m *UtilsGetTokenInfoData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this utils get token info data based on context it is used

func (*UtilsGetTokenInfoData) MarshalBinary ¶

func (m *UtilsGetTokenInfoData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UtilsGetTokenInfoData) UnmarshalBinary ¶

func (m *UtilsGetTokenInfoData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UtilsGetTokenInfoData) Validate ¶

func (m *UtilsGetTokenInfoData) Validate(formats strfmt.Registry) error

Validate validates this utils get token info data

Source Files ¶

Jump to

Keyboard shortcuts

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