Documentation
¶
Index ¶
- Constants
- type ModelsAddDownloadCountResponse
- type ModelsAdminGetContentBulkRequest
- type ModelsAdminUpdateContentRequest
- type ModelsChannelRequest
- type ModelsChannelResponse
- type ModelsContentDownloadResponse
- type ModelsContentLikeRequest
- type ModelsContentLikeResponse
- type ModelsCreateContentRequest
- type ModelsCreateContentRequestS3
- type ModelsCreateContentResponse
- type ModelsCreateGroupRequest
- type ModelsCreateGroupResponse
- type ModelsCreateScreenshotRequest
- type ModelsCreateScreenshotRequestItem
- type ModelsCreateScreenshotResponse
- type ModelsCreateTagRequest
- type ModelsCreateTagResponse
- type ModelsCreateTypeRequest
- type ModelsCreateTypeResponse
- type ModelsCreatorFollowState
- type ModelsCreatorOverviewResponse
- type ModelsCreatorResponse
- type ModelsGetContentBulkByShareCodesRequest
- type ModelsGetContentPreviewResponse
- type ModelsHideContentRequest
- type ModelsLikeState
- type ModelsPaginatedContentDownloadResponse
- type ModelsPaginatedCreatorOverviewResponse
- type ModelsPaginatedGetChannelResponse
- type ModelsPaginatedGetTagResponse
- type ModelsPaginatedGetTypeResponse
- type ModelsPaginatedGroupResponse
- type ModelsPagingCursor
- type ModelsPayloadURL
- type ModelsPreviewMetadata
- type ModelsPreviewURL
- type ModelsPublicChannelRequest
- type ModelsPublicCreateContentRequestS3
- type ModelsPublicGetContentBulkRequest
- type ModelsScreenshotResponse
- type ModelsUpdateChannelRequest
- type ModelsUpdateContentRequest
- type ModelsUpdateScreenshot
- type ModelsUpdateScreenshotRequest
- type ModelsUpdateScreenshotResponse
- type ModelsUserFollowRequest
- type ModelsUserFollowResponse
- type ResponseError
Constants ¶
const ( // ModelsCreateScreenshotRequestItemFileExtensionBMP captures enum value "BMP" ModelsCreateScreenshotRequestItemFileExtensionBMP string = "BMP" // ModelsCreateScreenshotRequestItemFileExtensionJFIF captures enum value "JFIF" ModelsCreateScreenshotRequestItemFileExtensionJFIF string = "JFIF" // ModelsCreateScreenshotRequestItemFileExtensionJPEG captures enum value "JPEG" ModelsCreateScreenshotRequestItemFileExtensionJPEG string = "JPEG" // ModelsCreateScreenshotRequestItemFileExtensionJPG captures enum value "JPG" ModelsCreateScreenshotRequestItemFileExtensionJPG string = "JPG" // ModelsCreateScreenshotRequestItemFileExtensionPJP captures enum value "PJP" ModelsCreateScreenshotRequestItemFileExtensionPJP string = "PJP" // ModelsCreateScreenshotRequestItemFileExtensionPNG captures enum value "PNG" ModelsCreateScreenshotRequestItemFileExtensionPNG string = "PNG" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ModelsAddDownloadCountResponse ¶
type ModelsAddDownloadCountResponse struct {
// contentid
// Required: true
ContentID *string `json:"contentId"`
}
ModelsAddDownloadCountResponse Models add download count response
swagger:model Models add download count response.
func (*ModelsAddDownloadCountResponse) MarshalBinary ¶
func (m *ModelsAddDownloadCountResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsAddDownloadCountResponse) UnmarshalBinary ¶
func (m *ModelsAddDownloadCountResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsAdminGetContentBulkRequest ¶ added in v0.36.0
type ModelsAdminGetContentBulkRequest struct {
// contentids
// Required: true
ContentIds []string `json:"contentIds"`
}
ModelsAdminGetContentBulkRequest Models admin get content bulk request
swagger:model Models admin get content bulk request.
func (*ModelsAdminGetContentBulkRequest) MarshalBinary ¶ added in v0.36.0
func (m *ModelsAdminGetContentBulkRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsAdminGetContentBulkRequest) UnmarshalBinary ¶ added in v0.36.0
func (m *ModelsAdminGetContentBulkRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsAdminUpdateContentRequest ¶ added in v0.43.0
type ModelsAdminUpdateContentRequest struct {
// contenttype
// Required: true
ContentType *string `json:"contentType"`
// customattributes
CustomAttributes interface{} `json:"customAttributes,omitempty"`
// fileextension
// Required: true
FileExtension *string `json:"fileExtension"`
// name
// Required: true
Name *string `json:"name"`
// payload
// Required: true
Payload *string `json:"payload"`
// Preview is legacy code, please use Screenshot instead
// Required: true
Preview *string `json:"preview"`
// previewmetadata
PreviewMetadata *ModelsPreviewMetadata `json:"previewMetadata,omitempty"`
ShareCode string `json:"shareCode,omitempty"`
// subtype
// Required: true
SubType *string `json:"subType"`
// tags
// Required: true
Tags []string `json:"tags"`
// type
// Required: true
Type *string `json:"type"`
// updatecontentfile
// Required: true
UpdateContentFile *bool `json:"updateContentFile"`
}
ModelsAdminUpdateContentRequest Models admin update content request
swagger:model Models admin update content request.
func (*ModelsAdminUpdateContentRequest) MarshalBinary ¶ added in v0.43.0
func (m *ModelsAdminUpdateContentRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsAdminUpdateContentRequest) UnmarshalBinary ¶ added in v0.43.0
func (m *ModelsAdminUpdateContentRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsChannelRequest ¶
type ModelsChannelRequest struct {
// id
ID string `json:"id,omitempty"`
// name
// Required: true
Name *string `json:"name"`
}
ModelsChannelRequest Models channel request
swagger:model Models channel request.
func (*ModelsChannelRequest) MarshalBinary ¶
func (m *ModelsChannelRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsChannelRequest) UnmarshalBinary ¶
func (m *ModelsChannelRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsChannelResponse ¶
type ModelsChannelResponse struct {
// id
// Required: true
ID *string `json:"id"`
// name
// Required: true
Name *string `json:"name"`
// namespace
// Required: true
Namespace *string `json:"namespace"`
// parentnamespace
ParentNamespace string `json:"parentNamespace,omitempty"`
// userid
// Required: true
UserID *string `json:"userId"`
}
ModelsChannelResponse Models channel response
swagger:model Models channel response.
func (*ModelsChannelResponse) MarshalBinary ¶
func (m *ModelsChannelResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsChannelResponse) UnmarshalBinary ¶
func (m *ModelsChannelResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsContentDownloadResponse ¶
type ModelsContentDownloadResponse struct {
// channelid
// Required: true
ChannelID *string `json:"channelId"`
// createdtime
// Required: true
CreatedTime *string `json:"createdTime"`
// creatorfollowstate
// Required: true
CreatorFollowState *ModelsCreatorFollowState `json:"creatorFollowState"`
// Creator Name is deprecated
// Required: true
CreatorName *string `json:"creatorName"`
// customattributes
CustomAttributes interface{} `json:"customAttributes,omitempty"`
// downloadcount
// Required: true
// Format: int32
DownloadCount *int32 `json:"downloadCount"`
// fileextension
// Required: true
FileExtension *string `json:"fileExtension"`
// groups
Groups []string `json:"groups,omitempty"`
// id
// Required: true
ID *string `json:"id"`
// ishidden
// Required: true
IsHidden *bool `json:"isHidden"`
// isofficial
// Required: true
IsOfficial *bool `json:"isOfficial"`
// likecount
// Required: true
// Format: int32
LikeCount *int32 `json:"likeCount"`
// likestate
LikeState *ModelsLikeState `json:"likeState,omitempty"`
// name
// Required: true
Name *string `json:"name"`
// namespace
// Required: true
Namespace *string `json:"namespace"`
// payload
Payload string `json:"payload,omitempty"`
// payloadurl
PayloadURL []*ModelsPayloadURL `json:"payloadURL,omitempty"`
// previewurl
PreviewURL []*ModelsPreviewURL `json:"previewURL,omitempty"`
// screenshots
Screenshots []*ModelsScreenshotResponse `json:"screenshots,omitempty"`
// Required: true
ShareCode *string `json:"shareCode"`
// subtype
// Required: true
SubType *string `json:"subType"`
// tags
// Required: true
Tags []string `json:"tags"`
// type
// Required: true
Type *string `json:"type"`
// updatedtime
// Required: true
UpdatedTime *string `json:"updatedTime"`
// userid
// Required: true
UserID *string `json:"userId"`
}
ModelsContentDownloadResponse Models content download response
swagger:model Models content download response.
func (*ModelsContentDownloadResponse) MarshalBinary ¶
func (m *ModelsContentDownloadResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsContentDownloadResponse) UnmarshalBinary ¶
func (m *ModelsContentDownloadResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsContentLikeRequest ¶
type ModelsContentLikeRequest struct {
// likestatus
// Required: true
LikeStatus *bool `json:"likeStatus"`
}
ModelsContentLikeRequest Models content like request
swagger:model Models content like request.
func (*ModelsContentLikeRequest) MarshalBinary ¶
func (m *ModelsContentLikeRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsContentLikeRequest) UnmarshalBinary ¶
func (m *ModelsContentLikeRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsContentLikeResponse ¶
type ModelsContentLikeResponse struct {
// contentid
// Required: true
ContentID *string `json:"contentId"`
// likestatus
// Required: true
LikeStatus *bool `json:"likeStatus"`
}
ModelsContentLikeResponse Models content like response
swagger:model Models content like response.
func (*ModelsContentLikeResponse) MarshalBinary ¶
func (m *ModelsContentLikeResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsContentLikeResponse) UnmarshalBinary ¶
func (m *ModelsContentLikeResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsCreateContentRequest ¶
type ModelsCreateContentRequest struct {
// customattributes
CustomAttributes interface{} `json:"customAttributes,omitempty"`
// name
// Required: true
Name *string `json:"name"`
// payload
// Required: true
Payload *string `json:"payload"`
// Preview is legacy code, please use Screenshot instead
// Required: true
Preview *string `json:"preview"`
// previewmetadata
PreviewMetadata *ModelsPreviewMetadata `json:"previewMetadata,omitempty"`
// subtype
// Required: true
SubType *string `json:"subType"`
// tags
// Required: true
Tags []string `json:"tags"`
// type
// Required: true
Type *string `json:"type"`
}
ModelsCreateContentRequest Models create content request
swagger:model Models create content request.
func (*ModelsCreateContentRequest) MarshalBinary ¶
func (m *ModelsCreateContentRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsCreateContentRequest) UnmarshalBinary ¶
func (m *ModelsCreateContentRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsCreateContentRequestS3 ¶
type ModelsCreateContentRequestS3 struct {
// contenttype
ContentType string `json:"contentType,omitempty"`
// customattributes
CustomAttributes interface{} `json:"customAttributes,omitempty"`
// fileextension
FileExtension string `json:"fileExtension,omitempty"`
// name
// Required: true
Name *string `json:"name"`
// Preview is legacy code, please use Screenshot instead
// Required: true
Preview *string `json:"preview"`
// previewmetadata
PreviewMetadata *ModelsPreviewMetadata `json:"previewMetadata,omitempty"`
ShareCode string `json:"shareCode,omitempty"`
// subtype
// Required: true
SubType *string `json:"subType"`
// tags
// Required: true
Tags []string `json:"tags"`
// type
// Required: true
Type *string `json:"type"`
}
ModelsCreateContentRequestS3 Models create content request S3
swagger:model Models create content request S3.
func (*ModelsCreateContentRequestS3) MarshalBinary ¶
func (m *ModelsCreateContentRequestS3) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsCreateContentRequestS3) UnmarshalBinary ¶
func (m *ModelsCreateContentRequestS3) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsCreateContentResponse ¶
type ModelsCreateContentResponse struct {
// channelid
// Required: true
ChannelID *string `json:"channelId"`
// contenttype
ContentType string `json:"contentType,omitempty"`
// createdtime
// Required: true
CreatedTime *string `json:"createdTime"`
// Creator Name is deprecated
// Required: true
CreatorName *string `json:"creatorName"`
// customattributes
CustomAttributes interface{} `json:"customAttributes,omitempty"`
// fileextension
// Required: true
FileExtension *string `json:"fileExtension"`
// id
// Required: true
ID *string `json:"id"`
// ishidden
// Required: true
IsHidden *bool `json:"isHidden"`
// isofficial
// Required: true
IsOfficial *bool `json:"isOfficial"`
// name
// Required: true
Name *string `json:"name"`
// namespace
// Required: true
Namespace *string `json:"namespace"`
// parentnamespace
// Required: true
ParentNamespace *string `json:"parentNamespace"`
// payloadurl
PayloadURL []*ModelsPayloadURL `json:"payloadURL,omitempty"`
// Preview is legacy code, please use Screenshot instead
// Required: true
Preview *string `json:"preview"`
// previewurl
PreviewURL []*ModelsPreviewURL `json:"previewURL,omitempty"`
// Required: true
ShareCode *string `json:"shareCode"`
// subtype
// Required: true
SubType *string `json:"subType"`
// tags
// Required: true
Tags []string `json:"tags"`
// type
// Required: true
Type *string `json:"type"`
// updatedtime
// Required: true
UpdatedTime *string `json:"updatedTime"`
// userid
// Required: true
UserID *string `json:"userId"`
}
ModelsCreateContentResponse Models create content response
swagger:model Models create content response.
func (*ModelsCreateContentResponse) MarshalBinary ¶
func (m *ModelsCreateContentResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsCreateContentResponse) UnmarshalBinary ¶
func (m *ModelsCreateContentResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsCreateGroupRequest ¶
type ModelsCreateGroupRequest struct {
// contents
// Required: true
Contents []string `json:"contents"`
// name
// Required: true
Name *string `json:"name"`
}
ModelsCreateGroupRequest Models create group request
swagger:model Models create group request.
func (*ModelsCreateGroupRequest) MarshalBinary ¶
func (m *ModelsCreateGroupRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsCreateGroupRequest) UnmarshalBinary ¶
func (m *ModelsCreateGroupRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsCreateGroupResponse ¶
type ModelsCreateGroupResponse struct {
// contents
// Required: true
Contents []string `json:"contents"`
// createdat
// Required: true
CreatedAt *string `json:"createdAt"`
// id
// Required: true
ID *string `json:"id"`
// name
// Required: true
Name *string `json:"name"`
// namespace
// Required: true
Namespace *string `json:"namespace"`
// parentnamespace
// Required: true
ParentNamespace *string `json:"parentNamespace"`
// userid
// Required: true
UserID *string `json:"userId"`
}
ModelsCreateGroupResponse Models create group response
swagger:model Models create group response.
func (*ModelsCreateGroupResponse) MarshalBinary ¶
func (m *ModelsCreateGroupResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsCreateGroupResponse) UnmarshalBinary ¶
func (m *ModelsCreateGroupResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsCreateScreenshotRequest ¶
type ModelsCreateScreenshotRequest struct {
// screenshots
// Required: true
Screenshots []*ModelsCreateScreenshotRequestItem `json:"screenshots"`
}
ModelsCreateScreenshotRequest Models create screenshot request
swagger:model Models create screenshot request.
func (*ModelsCreateScreenshotRequest) MarshalBinary ¶
func (m *ModelsCreateScreenshotRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsCreateScreenshotRequest) UnmarshalBinary ¶
func (m *ModelsCreateScreenshotRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsCreateScreenshotRequestItem ¶ added in v0.8.0
type ModelsCreateScreenshotRequestItem struct {
// contenttype
// Required: true
ContentType *string `json:"contentType"`
// description
// Required: true
Description *string `json:"description"`
// fileextension
// Enum: ['bmp', 'jfif', 'jpeg', 'jpg', 'pjp', 'png']
// Required: true
FileExtension *string `json:"fileExtension"`
}
ModelsCreateScreenshotRequestItem Models create screenshot request item
swagger:model Models create screenshot request item.
func (*ModelsCreateScreenshotRequestItem) MarshalBinary ¶ added in v0.8.0
func (m *ModelsCreateScreenshotRequestItem) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsCreateScreenshotRequestItem) UnmarshalBinary ¶ added in v0.8.0
func (m *ModelsCreateScreenshotRequestItem) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsCreateScreenshotResponse ¶
type ModelsCreateScreenshotResponse struct {
// screenshots
// Required: true
Screenshots []*ModelsScreenshotResponse `json:"screenshots"`
}
ModelsCreateScreenshotResponse Models create screenshot response
swagger:model Models create screenshot response.
func (*ModelsCreateScreenshotResponse) MarshalBinary ¶
func (m *ModelsCreateScreenshotResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsCreateScreenshotResponse) UnmarshalBinary ¶
func (m *ModelsCreateScreenshotResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsCreateTagRequest ¶
type ModelsCreateTagRequest struct {
// tag
// Required: true
Tag *string `json:"tag"`
}
ModelsCreateTagRequest Models create tag request
swagger:model Models create tag request.
func (*ModelsCreateTagRequest) MarshalBinary ¶
func (m *ModelsCreateTagRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsCreateTagRequest) UnmarshalBinary ¶
func (m *ModelsCreateTagRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsCreateTagResponse ¶
type ModelsCreateTagResponse struct {
// id
// Required: true
ID *string `json:"id"`
// namespace
// Required: true
Namespace *string `json:"namespace"`
// tag
// Required: true
Tag *string `json:"tag"`
}
ModelsCreateTagResponse Models create tag response
swagger:model Models create tag response.
func (*ModelsCreateTagResponse) MarshalBinary ¶
func (m *ModelsCreateTagResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsCreateTagResponse) UnmarshalBinary ¶
func (m *ModelsCreateTagResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsCreateTypeRequest ¶
type ModelsCreateTypeRequest struct {
// subtype
// Required: true
Subtype []string `json:"subtype"`
// type
// Required: true
Type *string `json:"type"`
}
ModelsCreateTypeRequest Models create type request
swagger:model Models create type request.
func (*ModelsCreateTypeRequest) MarshalBinary ¶
func (m *ModelsCreateTypeRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsCreateTypeRequest) UnmarshalBinary ¶
func (m *ModelsCreateTypeRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsCreateTypeResponse ¶
type ModelsCreateTypeResponse struct {
// id
// Required: true
ID *string `json:"id"`
// namespace
// Required: true
Namespace *string `json:"namespace"`
// parentnamespace
// Required: true
ParentNamespace *string `json:"parentNamespace"`
// subtype
// Required: true
Subtype []string `json:"subtype"`
// type
// Required: true
Type *string `json:"type"`
}
ModelsCreateTypeResponse Models create type response
swagger:model Models create type response.
func (*ModelsCreateTypeResponse) MarshalBinary ¶
func (m *ModelsCreateTypeResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsCreateTypeResponse) UnmarshalBinary ¶
func (m *ModelsCreateTypeResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsCreatorFollowState ¶
type ModelsCreatorFollowState struct {
// state
// Required: true
State *bool `json:"state"`
// userid
// Required: true
UserID *string `json:"userId"`
}
ModelsCreatorFollowState Models creator follow state
swagger:model Models creator follow state.
func (*ModelsCreatorFollowState) MarshalBinary ¶
func (m *ModelsCreatorFollowState) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsCreatorFollowState) UnmarshalBinary ¶
func (m *ModelsCreatorFollowState) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsCreatorOverviewResponse ¶
type ModelsCreatorOverviewResponse struct {
// Number of followers
// Required: true
// Format: int32
FollowCount *int32 `json:"followCount"`
// Number of following
// Required: true
// Format: int32
FollowingCount *int32 `json:"followingCount"`
// id
// Required: true
ID *string `json:"id"`
// namespace
// Required: true
Namespace *string `json:"namespace"`
// parentnamespace
// Required: true
ParentNamespace *string `json:"parentNamespace"`
// Total all other user's like to creator content
// Required: true
// Format: integer
TotalLikedContent *int64 `json:"totalLikedContent"`
}
ModelsCreatorOverviewResponse Models creator overview response
swagger:model Models creator overview response.
func (*ModelsCreatorOverviewResponse) MarshalBinary ¶
func (m *ModelsCreatorOverviewResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsCreatorOverviewResponse) UnmarshalBinary ¶
func (m *ModelsCreatorOverviewResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsCreatorResponse ¶ added in v0.19.0
type ModelsCreatorResponse struct {
// creatorfollowstate
// Required: true
CreatorFollowState *ModelsCreatorFollowState `json:"creatorFollowState"`
// Number of followers
// Required: true
// Format: int32
FollowCount *int32 `json:"followCount"`
// Number of following
// Required: true
// Format: int32
FollowingCount *int32 `json:"followingCount"`
// id
// Required: true
ID *string `json:"id"`
// namespace
// Required: true
Namespace *string `json:"namespace"`
// parentnamespace
// Required: true
ParentNamespace *string `json:"parentNamespace"`
// Total all other user's like to creator content
// Required: true
// Format: integer
TotalLikedContent *int64 `json:"totalLikedContent"`
}
ModelsCreatorResponse Models creator response
swagger:model Models creator response.
func (*ModelsCreatorResponse) MarshalBinary ¶ added in v0.19.0
func (m *ModelsCreatorResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsCreatorResponse) UnmarshalBinary ¶ added in v0.19.0
func (m *ModelsCreatorResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsGetContentBulkByShareCodesRequest ¶ added in v0.53.0
type ModelsGetContentBulkByShareCodesRequest struct {
// Required: true
ShareCodes []string `json:"shareCodes"`
}
ModelsGetContentBulkByShareCodesRequest Models get content bulk by share codes request
swagger:model Models get content bulk by share codes request.
func (*ModelsGetContentBulkByShareCodesRequest) MarshalBinary ¶ added in v0.53.0
func (m *ModelsGetContentBulkByShareCodesRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsGetContentBulkByShareCodesRequest) UnmarshalBinary ¶ added in v0.53.0
func (m *ModelsGetContentBulkByShareCodesRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsGetContentPreviewResponse ¶
type ModelsGetContentPreviewResponse struct {
// Preview is legacy code, please use Screenshot instead
// Required: true
Preview *string `json:"preview"`
// previewurl
PreviewURL *ModelsPreviewURL `json:"previewURL,omitempty"`
}
ModelsGetContentPreviewResponse Models get content preview response
swagger:model Models get content preview response.
func (*ModelsGetContentPreviewResponse) MarshalBinary ¶
func (m *ModelsGetContentPreviewResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsGetContentPreviewResponse) UnmarshalBinary ¶
func (m *ModelsGetContentPreviewResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsHideContentRequest ¶
type ModelsHideContentRequest struct {
// ishidden
// Required: true
IsHidden *bool `json:"isHidden"`
}
ModelsHideContentRequest Models hide content request
swagger:model Models hide content request.
func (*ModelsHideContentRequest) MarshalBinary ¶
func (m *ModelsHideContentRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsHideContentRequest) UnmarshalBinary ¶
func (m *ModelsHideContentRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsLikeState ¶
type ModelsLikeState struct {
// state
// Required: true
State *bool `json:"state"`
// userid
// Required: true
UserID *string `json:"userId"`
}
ModelsLikeState Models like state
swagger:model Models like state.
func (*ModelsLikeState) MarshalBinary ¶
func (m *ModelsLikeState) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsLikeState) UnmarshalBinary ¶
func (m *ModelsLikeState) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsPaginatedContentDownloadResponse ¶
type ModelsPaginatedContentDownloadResponse struct {
// data
// Required: true
Data []*ModelsContentDownloadResponse `json:"data"`
// paging
// Required: true
Paging *ModelsPagingCursor `json:"paging"`
}
ModelsPaginatedContentDownloadResponse Models paginated content download response
swagger:model Models paginated content download response.
func (*ModelsPaginatedContentDownloadResponse) MarshalBinary ¶
func (m *ModelsPaginatedContentDownloadResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsPaginatedContentDownloadResponse) UnmarshalBinary ¶
func (m *ModelsPaginatedContentDownloadResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsPaginatedCreatorOverviewResponse ¶
type ModelsPaginatedCreatorOverviewResponse struct {
// data
// Required: true
Data []*ModelsCreatorOverviewResponse `json:"data"`
// paging
// Required: true
Paging *ModelsPagingCursor `json:"paging"`
}
ModelsPaginatedCreatorOverviewResponse Models paginated creator overview response
swagger:model Models paginated creator overview response.
func (*ModelsPaginatedCreatorOverviewResponse) MarshalBinary ¶
func (m *ModelsPaginatedCreatorOverviewResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsPaginatedCreatorOverviewResponse) UnmarshalBinary ¶
func (m *ModelsPaginatedCreatorOverviewResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsPaginatedGetChannelResponse ¶
type ModelsPaginatedGetChannelResponse struct {
// data
// Required: true
Data []*ModelsChannelResponse `json:"data"`
// paging
// Required: true
Paging *ModelsPagingCursor `json:"paging"`
}
ModelsPaginatedGetChannelResponse Models paginated get channel response
swagger:model Models paginated get channel response.
func (*ModelsPaginatedGetChannelResponse) MarshalBinary ¶
func (m *ModelsPaginatedGetChannelResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsPaginatedGetChannelResponse) UnmarshalBinary ¶
func (m *ModelsPaginatedGetChannelResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsPaginatedGetTagResponse ¶
type ModelsPaginatedGetTagResponse struct {
// data
// Required: true
Data []*ModelsCreateTagResponse `json:"data"`
// paging
// Required: true
Paging *ModelsPagingCursor `json:"paging"`
}
ModelsPaginatedGetTagResponse Models paginated get tag response
swagger:model Models paginated get tag response.
func (*ModelsPaginatedGetTagResponse) MarshalBinary ¶
func (m *ModelsPaginatedGetTagResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsPaginatedGetTagResponse) UnmarshalBinary ¶
func (m *ModelsPaginatedGetTagResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsPaginatedGetTypeResponse ¶
type ModelsPaginatedGetTypeResponse struct {
// data
// Required: true
Data []*ModelsCreateTypeResponse `json:"data"`
// paging
// Required: true
Paging *ModelsPagingCursor `json:"paging"`
}
ModelsPaginatedGetTypeResponse Models paginated get type response
swagger:model Models paginated get type response.
func (*ModelsPaginatedGetTypeResponse) MarshalBinary ¶
func (m *ModelsPaginatedGetTypeResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsPaginatedGetTypeResponse) UnmarshalBinary ¶
func (m *ModelsPaginatedGetTypeResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsPaginatedGroupResponse ¶
type ModelsPaginatedGroupResponse struct {
// data
// Required: true
Data []*ModelsCreateGroupResponse `json:"data"`
// paging
// Required: true
Paging *ModelsPagingCursor `json:"paging"`
}
ModelsPaginatedGroupResponse Models paginated group response
swagger:model Models paginated group response.
func (*ModelsPaginatedGroupResponse) MarshalBinary ¶
func (m *ModelsPaginatedGroupResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsPaginatedGroupResponse) UnmarshalBinary ¶
func (m *ModelsPaginatedGroupResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsPagingCursor ¶
type ModelsPagingCursor struct {
// first
// Required: true
First *string `json:"first"`
// last
// Required: true
Last *string `json:"last"`
// next
// Required: true
Next *string `json:"next"`
// previous
// Required: true
Previous *string `json:"previous"`
}
ModelsPagingCursor Models paging cursor
swagger:model Models paging cursor.
func (*ModelsPagingCursor) MarshalBinary ¶
func (m *ModelsPagingCursor) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsPagingCursor) UnmarshalBinary ¶
func (m *ModelsPagingCursor) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsPayloadURL ¶
type ModelsPayloadURL struct {
// source
// Required: true
Source *string `json:"source"`
// url
// Required: true
URL *string `json:"url"`
}
ModelsPayloadURL Models payload URL
swagger:model Models payload URL.
func (*ModelsPayloadURL) MarshalBinary ¶
func (m *ModelsPayloadURL) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsPayloadURL) UnmarshalBinary ¶
func (m *ModelsPayloadURL) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsPreviewMetadata ¶ added in v0.24.0
type ModelsPreviewMetadata struct {
// previewcontenttype
// Required: true
PreviewContentType *string `json:"previewContentType"`
// previewfileextension
// Required: true
PreviewFileExtension *string `json:"previewFileExtension"`
}
ModelsPreviewMetadata Models preview metadata
swagger:model Models preview metadata.
func (*ModelsPreviewMetadata) MarshalBinary ¶ added in v0.24.0
func (m *ModelsPreviewMetadata) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsPreviewMetadata) UnmarshalBinary ¶ added in v0.24.0
func (m *ModelsPreviewMetadata) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsPreviewURL ¶ added in v0.24.0
type ModelsPreviewURL struct {
// source
Source string `json:"source,omitempty"`
// url
URL string `json:"url,omitempty"`
}
ModelsPreviewURL Models preview URL
swagger:model Models preview URL.
func (*ModelsPreviewURL) MarshalBinary ¶ added in v0.24.0
func (m *ModelsPreviewURL) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsPreviewURL) UnmarshalBinary ¶ added in v0.24.0
func (m *ModelsPreviewURL) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsPublicChannelRequest ¶ added in v0.42.0
type ModelsPublicChannelRequest struct {
// name
// Required: true
Name *string `json:"name"`
}
ModelsPublicChannelRequest Models public channel request
swagger:model Models public channel request.
func (*ModelsPublicChannelRequest) MarshalBinary ¶ added in v0.42.0
func (m *ModelsPublicChannelRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsPublicChannelRequest) UnmarshalBinary ¶ added in v0.42.0
func (m *ModelsPublicChannelRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsPublicCreateContentRequestS3 ¶ added in v0.42.0
type ModelsPublicCreateContentRequestS3 struct {
// contenttype
ContentType string `json:"contentType,omitempty"`
// customattributes
CustomAttributes interface{} `json:"customAttributes,omitempty"`
// fileextension
FileExtension string `json:"fileExtension,omitempty"`
// name
// Required: true
Name *string `json:"name"`
// Preview is legacy code, please use Screenshot instead
// Required: true
Preview *string `json:"preview"`
// previewmetadata
PreviewMetadata *ModelsPreviewMetadata `json:"previewMetadata,omitempty"`
// subtype
// Required: true
SubType *string `json:"subType"`
// tags
// Required: true
Tags []string `json:"tags"`
// type
// Required: true
Type *string `json:"type"`
}
ModelsPublicCreateContentRequestS3 Models public create content request S3
swagger:model Models public create content request S3.
func (*ModelsPublicCreateContentRequestS3) MarshalBinary ¶ added in v0.42.0
func (m *ModelsPublicCreateContentRequestS3) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsPublicCreateContentRequestS3) UnmarshalBinary ¶ added in v0.42.0
func (m *ModelsPublicCreateContentRequestS3) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsPublicGetContentBulkRequest ¶ added in v0.17.0
type ModelsPublicGetContentBulkRequest struct {
// contentids
// Required: true
ContentIds []string `json:"contentIds"`
}
ModelsPublicGetContentBulkRequest Models public get content bulk request
swagger:model Models public get content bulk request.
func (*ModelsPublicGetContentBulkRequest) MarshalBinary ¶ added in v0.17.0
func (m *ModelsPublicGetContentBulkRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsPublicGetContentBulkRequest) UnmarshalBinary ¶ added in v0.17.0
func (m *ModelsPublicGetContentBulkRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsScreenshotResponse ¶
type ModelsScreenshotResponse struct {
// contenttype
ContentType string `json:"contentType,omitempty"`
// description
// Required: true
Description *string `json:"description"`
// fileextension
// Required: true
FileExtension *string `json:"fileExtension"`
// screenshotid
// Required: true
ScreenshotID *string `json:"screenshotId"`
// source
// Required: true
Source *string `json:"source"`
// url
// Required: true
URL *string `json:"url"`
}
ModelsScreenshotResponse Models screenshot response
swagger:model Models screenshot response.
func (*ModelsScreenshotResponse) MarshalBinary ¶
func (m *ModelsScreenshotResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsScreenshotResponse) UnmarshalBinary ¶
func (m *ModelsScreenshotResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsUpdateChannelRequest ¶ added in v0.42.0
type ModelsUpdateChannelRequest struct {
// name
// Required: true
Name *string `json:"name"`
}
ModelsUpdateChannelRequest Models update channel request
swagger:model Models update channel request.
func (*ModelsUpdateChannelRequest) MarshalBinary ¶ added in v0.42.0
func (m *ModelsUpdateChannelRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsUpdateChannelRequest) UnmarshalBinary ¶ added in v0.42.0
func (m *ModelsUpdateChannelRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsUpdateContentRequest ¶ added in v0.42.0
type ModelsUpdateContentRequest struct {
// contenttype
// Required: true
ContentType *string `json:"contentType"`
// customattributes
CustomAttributes interface{} `json:"customAttributes,omitempty"`
// fileextension
// Required: true
FileExtension *string `json:"fileExtension"`
// name
// Required: true
Name *string `json:"name"`
// payload
// Required: true
Payload *string `json:"payload"`
// Preview is legacy code, please use Screenshot instead
// Required: true
Preview *string `json:"preview"`
// previewmetadata
PreviewMetadata *ModelsPreviewMetadata `json:"previewMetadata,omitempty"`
// subtype
// Required: true
SubType *string `json:"subType"`
// tags
// Required: true
Tags []string `json:"tags"`
// type
// Required: true
Type *string `json:"type"`
// updatecontentfile
// Required: true
UpdateContentFile *bool `json:"updateContentFile"`
}
ModelsUpdateContentRequest Models update content request
swagger:model Models update content request.
func (*ModelsUpdateContentRequest) MarshalBinary ¶ added in v0.42.0
func (m *ModelsUpdateContentRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsUpdateContentRequest) UnmarshalBinary ¶ added in v0.42.0
func (m *ModelsUpdateContentRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsUpdateScreenshot ¶
type ModelsUpdateScreenshot struct {
// description
// Required: true
Description *string `json:"description"`
// screenshotid
// Required: true
ScreenshotID *string `json:"screenshotId"`
}
ModelsUpdateScreenshot Models update screenshot
swagger:model Models update screenshot.
func (*ModelsUpdateScreenshot) MarshalBinary ¶
func (m *ModelsUpdateScreenshot) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsUpdateScreenshot) UnmarshalBinary ¶
func (m *ModelsUpdateScreenshot) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsUpdateScreenshotRequest ¶
type ModelsUpdateScreenshotRequest struct {
// screenshots
// Required: true
Screenshots []*ModelsUpdateScreenshot `json:"screenshots"`
}
ModelsUpdateScreenshotRequest Models update screenshot request
swagger:model Models update screenshot request.
func (*ModelsUpdateScreenshotRequest) MarshalBinary ¶
func (m *ModelsUpdateScreenshotRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsUpdateScreenshotRequest) UnmarshalBinary ¶
func (m *ModelsUpdateScreenshotRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsUpdateScreenshotResponse ¶
type ModelsUpdateScreenshotResponse struct {
// screenshots
// Required: true
Screenshots []*ModelsUpdateScreenshot `json:"screenshots"`
}
ModelsUpdateScreenshotResponse Models update screenshot response
swagger:model Models update screenshot response.
func (*ModelsUpdateScreenshotResponse) MarshalBinary ¶
func (m *ModelsUpdateScreenshotResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsUpdateScreenshotResponse) UnmarshalBinary ¶
func (m *ModelsUpdateScreenshotResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsUserFollowRequest ¶
type ModelsUserFollowRequest struct {
// followstatus
// Required: true
FollowStatus *bool `json:"followStatus"`
}
ModelsUserFollowRequest Models user follow request
swagger:model Models user follow request.
func (*ModelsUserFollowRequest) MarshalBinary ¶
func (m *ModelsUserFollowRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsUserFollowRequest) UnmarshalBinary ¶
func (m *ModelsUserFollowRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsUserFollowResponse ¶
type ModelsUserFollowResponse struct {
// followstatus
// Required: true
FollowStatus *bool `json:"followStatus"`
// userid
// Required: true
UserID *string `json:"userId"`
}
ModelsUserFollowResponse Models user follow response
swagger:model Models user follow response.
func (*ModelsUserFollowResponse) MarshalBinary ¶
func (m *ModelsUserFollowResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsUserFollowResponse) UnmarshalBinary ¶
func (m *ModelsUserFollowResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ResponseError ¶
type ResponseError struct {
// errorcode
// Required: true
// Format: int32
ErrorCode *int32 `json:"errorCode"`
// errormessage
// Required: true
ErrorMessage *string `json:"errorMessage"`
}
ResponseError Response error
swagger:model Response error.
func (*ResponseError) MarshalBinary ¶
func (m *ResponseError) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ResponseError) UnmarshalBinary ¶
func (m *ResponseError) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
Source Files
¶
- models_add_download_count_response.go
- models_admin_get_content_bulk_request.go
- models_admin_update_content_request.go
- models_channel_request.go
- models_channel_response.go
- models_content_download_response.go
- models_content_like_request.go
- models_content_like_response.go
- models_create_content_request.go
- models_create_content_request_s3.go
- models_create_content_response.go
- models_create_group_request.go
- models_create_group_response.go
- models_create_screenshot_request.go
- models_create_screenshot_request_item.go
- models_create_screenshot_response.go
- models_create_tag_request.go
- models_create_tag_response.go
- models_create_type_request.go
- models_create_type_response.go
- models_creator_follow_state.go
- models_creator_overview_response.go
- models_creator_response.go
- models_get_content_bulk_by_share_codes_request.go
- models_get_content_preview_response.go
- models_hide_content_request.go
- models_like_state.go
- models_paginated_content_download_response.go
- models_paginated_creator_overview_response.go
- models_paginated_get_channel_response.go
- models_paginated_get_tag_response.go
- models_paginated_get_type_response.go
- models_paginated_group_response.go
- models_paging_cursor.go
- models_payload_url.go
- models_preview_metadata.go
- models_preview_url.go
- models_public_channel_request.go
- models_public_create_content_request_s3.go
- models_public_get_content_bulk_request.go
- models_screenshot_response.go
- models_update_channel_request.go
- models_update_content_request.go
- models_update_screenshot.go
- models_update_screenshot_request.go
- models_update_screenshot_response.go
- models_user_follow_request.go
- models_user_follow_response.go
- response_error.go