Documentation ¶
Index ¶
- Constants
- type ModelsAddDownloadCountResponse
- 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 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 ModelsPublicGetContentBulkRequest
- type ModelsScreenshotResponse
- 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 { // content Id // Required: true ContentID *string `json:"contentId"` }
ModelsAddDownloadCountResponse models add download count response
swagger:model models.AddDownloadCountResponse
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 ModelsChannelRequest ¶
type ModelsChannelRequest struct { // name // Required: true Name *string `json:"name"` }
ModelsChannelRequest models channel request
swagger:model models.ChannelRequest
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"` // user Id // Required: true UserID *string `json:"userId"` }
ModelsChannelResponse models channel response
swagger:model models.ChannelResponse
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 { // channel Id // Required: true ChannelID *string `json:"channelId"` // created time // Required: true CreatedTime *string `json:"createdTime"` // creator follow state // Required: true CreatorFollowState *ModelsCreatorFollowState `json:"creatorFollowState"` // Creator Name is deprecated // Required: true CreatorName *string `json:"creatorName"` // download count // Required: true DownloadCount *int32 `json:"downloadCount"` // file extension // Required: true FileExtension *string `json:"fileExtension"` // groups Groups []string `json:"groups"` // id // Required: true ID *string `json:"id"` // is hidden // Required: true IsHidden *bool `json:"isHidden"` // is official // Required: true IsOfficial *bool `json:"isOfficial"` // like count // Required: true LikeCount *int32 `json:"likeCount"` // like state 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"` // payload URL PayloadURL []*ModelsPayloadURL `json:"payloadURL"` // preview URL PreviewURL []*ModelsPreviewURL `json:"previewURL"` // screenshots Screenshots []*ModelsScreenshotResponse `json:"screenshots"` // Required: true ShareCode *string `json:"shareCode"` // sub type // Required: true SubType *string `json:"subType"` // tags // Required: true Tags []string `json:"tags"` // type // Required: true Type *string `json:"type"` // updated time // Required: true UpdatedTime *string `json:"updatedTime"` // user Id // Required: true UserID *string `json:"userId"` }
ModelsContentDownloadResponse models content download response
swagger:model models.ContentDownloadResponse
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 { // like status // Required: true LikeStatus *bool `json:"likeStatus"` }
ModelsContentLikeRequest models content like request
swagger:model models.ContentLikeRequest
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 { // content Id // Required: true ContentID *string `json:"contentId"` // like status // Required: true LikeStatus *bool `json:"likeStatus"` }
ModelsContentLikeResponse models content like response
swagger:model models.ContentLikeResponse
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 { // 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"` // preview metadata // Required: true PreviewMetadata *ModelsPreviewMetadata `json:"previewMetadata"` // sub type // 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.CreateContentRequest
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 { // content type // Required: true ContentType *string `json:"contentType"` // file extension // Required: true FileExtension *string `json:"fileExtension"` // name // Required: true Name *string `json:"name"` // Preview is legacy code, please use Screenshot instead // Required: true Preview *string `json:"preview"` // preview metadata // Required: true PreviewMetadata *ModelsPreviewMetadata `json:"previewMetadata"` // sub type // 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.CreateContentRequestS3
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 { // channel Id // Required: true ChannelID *string `json:"channelId"` // content type ContentType string `json:"contentType,omitempty"` // created time // Required: true CreatedTime *string `json:"createdTime"` // Creator Name is deprecated // Required: true CreatorName *string `json:"creatorName"` // file extension // Required: true FileExtension *string `json:"fileExtension"` // id // Required: true ID *string `json:"id"` // is hidden // Required: true IsHidden *bool `json:"isHidden"` // is official // Required: true IsOfficial *bool `json:"isOfficial"` // name // Required: true Name *string `json:"name"` // namespace // Required: true Namespace *string `json:"namespace"` // payload URL PayloadURL []*ModelsPayloadURL `json:"payloadURL"` // Preview is legacy code, please use Screenshot instead // Required: true Preview *string `json:"preview"` // preview URL PreviewURL []*ModelsPreviewURL `json:"previewURL"` // Required: true ShareCode *string `json:"shareCode"` // sub type // Required: true SubType *string `json:"subType"` // tags // Required: true Tags []string `json:"tags"` // type // Required: true Type *string `json:"type"` // updated time // Required: true UpdatedTime *string `json:"updatedTime"` // user Id // Required: true UserID *string `json:"userId"` }
ModelsCreateContentResponse models create content response
swagger:model models.CreateContentResponse
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.CreateGroupRequest
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"` // created at // 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"` // user Id // Required: true UserID *string `json:"userId"` }
ModelsCreateGroupResponse models create group response
swagger:model models.CreateGroupResponse
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.CreateScreenshotRequest
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 { // content type // Required: true ContentType *string `json:"contentType"` // description // Required: true Description *string `json:"description"` // file extension // Required: true // Enum: [bmp jfif jpeg jpg pjp png] FileExtension *string `json:"fileExtension"` }
ModelsCreateScreenshotRequestItem models create screenshot request item
swagger:model models.createScreenshotRequestItem
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.CreateScreenshotResponse
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.CreateTagRequest
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.CreateTagResponse
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.CreateTypeRequest
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"` // subtype // Required: true Subtype []string `json:"subtype"` // type // Required: true Type *string `json:"type"` }
ModelsCreateTypeResponse models create type response
swagger:model models.CreateTypeResponse
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"` // user Id // Required: true UserID *string `json:"userId"` }
ModelsCreatorFollowState models creator follow state
swagger:model models.CreatorFollowState
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 FollowCount *int32 `json:"followCount"` // Number of following // Required: true FollowingCount *int32 `json:"followingCount"` // id // Required: true ID *string `json:"id"` // namespace // Required: true Namespace *string `json:"namespace"` // Total all other user's like to creator content // Required: true TotalLikedContent *int64 `json:"totalLikedContent"` }
ModelsCreatorOverviewResponse models creator overview response
swagger:model models.CreatorOverviewResponse
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 { // creator follow state // Required: true CreatorFollowState *ModelsCreatorFollowState `json:"creatorFollowState"` // Number of followers // Required: true FollowCount *int32 `json:"followCount"` // Number of following // Required: true FollowingCount *int32 `json:"followingCount"` // id // Required: true ID *string `json:"id"` // namespace // Required: true Namespace *string `json:"namespace"` // Total all other user's like to creator content // Required: true TotalLikedContent *int64 `json:"totalLikedContent"` }
ModelsCreatorResponse models creator response
swagger:model models.CreatorResponse
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 ModelsGetContentPreviewResponse ¶
type ModelsGetContentPreviewResponse struct { // Preview is legacy code, please use Screenshot instead // Required: true Preview *string `json:"preview"` // preview URL PreviewURL *ModelsPreviewURL `json:"previewURL,omitempty"` }
ModelsGetContentPreviewResponse models get content preview response
swagger:model models.GetContentPreviewResponse
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 { // is hidden // Required: true IsHidden *bool `json:"isHidden"` }
ModelsHideContentRequest models hide content request
swagger:model models.HideContentRequest
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"` // user Id // Required: true UserID *string `json:"userId"` }
ModelsLikeState models like state
swagger:model models.LikeState
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.PaginatedContentDownloadResponse
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.PaginatedCreatorOverviewResponse
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.PaginatedGetChannelResponse
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.PaginatedGetTagResponse
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.PaginatedGetTypeResponse
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.PaginatedGroupResponse
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.PagingCursor
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.PayloadURL
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 { // preview content type // Required: true PreviewContentType *string `json:"previewContentType"` // preview file extension // Required: true PreviewFileExtension *string `json:"previewFileExtension"` }
ModelsPreviewMetadata models preview metadata
swagger:model models.previewMetadata
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.PreviewURL
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 ModelsPublicGetContentBulkRequest ¶ added in v0.17.0
type ModelsPublicGetContentBulkRequest struct { // content ids // Required: true ContentIds []string `json:"contentIds"` }
ModelsPublicGetContentBulkRequest models public get content bulk request
swagger:model models.PublicGetContentBulkRequest
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 { // content type ContentType string `json:"contentType,omitempty"` // description // Required: true Description *string `json:"description"` // file extension // Required: true FileExtension *string `json:"fileExtension"` // screenshot Id // 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.ScreenshotResponse
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 ModelsUpdateScreenshot ¶
type ModelsUpdateScreenshot struct { // description // Required: true Description *string `json:"description"` // screenshot Id // Required: true ScreenshotID *string `json:"screenshotId"` }
ModelsUpdateScreenshot models update screenshot
swagger:model models.updateScreenshot
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.UpdateScreenshotRequest
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.UpdateScreenshotResponse
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 { // follow status // Required: true FollowStatus *bool `json:"followStatus"` }
ModelsUserFollowRequest models user follow request
swagger:model models.UserFollowRequest
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 { // follow status // Required: true FollowStatus *bool `json:"followStatus"` // user Id // Required: true UserID *string `json:"userId"` }
ModelsUserFollowResponse models user follow response
swagger:model models.UserFollowResponse
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 { // error code // Required: true ErrorCode *int32 `json:"errorCode"` // error message // 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_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_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_get_content_bulk_request.go
- models_screenshot_response.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