ugcclientmodels

package
v0.30.0 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
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

func (*ModelsAddDownloadCountResponse) Validate

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

Validate validates this models add download count response

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

func (*ModelsChannelRequest) Validate

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

Validate validates this models channel request

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

func (*ModelsChannelResponse) Validate

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

Validate validates this models channel response

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"`

	// share code
	// 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

func (*ModelsContentDownloadResponse) Validate

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

Validate validates this models content download response

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

func (*ModelsContentLikeRequest) Validate

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

Validate validates this models content like request

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

func (*ModelsContentLikeResponse) Validate

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

Validate validates this models content like response

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

func (*ModelsCreateContentRequest) Validate

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

Validate validates this models create content request

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

func (*ModelsCreateContentRequestS3) Validate

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

Validate validates this models create content request s3

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"`

	// share code
	// 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

func (*ModelsCreateContentResponse) Validate

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

Validate validates this models create content response

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

func (*ModelsCreateGroupRequest) Validate

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

Validate validates this models create group request

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

func (*ModelsCreateGroupResponse) Validate

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

Validate validates this models create group response

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

func (*ModelsCreateScreenshotRequest) Validate

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

Validate validates this models create screenshot request

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

func (*ModelsCreateScreenshotRequestItem) Validate added in v0.8.0

Validate validates this models create screenshot request item

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

func (*ModelsCreateScreenshotResponse) Validate

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

Validate validates this models create screenshot response

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

func (*ModelsCreateTagRequest) Validate

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

Validate validates this models create tag request

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

func (*ModelsCreateTagResponse) Validate

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

Validate validates this models create tag response

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

func (*ModelsCreateTypeRequest) Validate

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

Validate validates this models create type request

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

func (*ModelsCreateTypeResponse) Validate

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

Validate validates this models create type response

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

func (*ModelsCreatorFollowState) Validate

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

Validate validates this models creator follow state

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

func (*ModelsCreatorOverviewResponse) Validate

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

Validate validates this models creator overview response

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

func (*ModelsCreatorResponse) Validate added in v0.19.0

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

Validate validates this models creator response

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

func (*ModelsGetContentPreviewResponse) Validate

Validate validates this models get content preview response

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

func (*ModelsHideContentRequest) Validate

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

Validate validates this models hide content request

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

func (*ModelsLikeState) Validate

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

Validate validates this models like state

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

func (*ModelsPaginatedContentDownloadResponse) Validate

Validate validates this models paginated content download response

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

func (*ModelsPaginatedCreatorOverviewResponse) Validate

Validate validates this models paginated creator overview response

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

func (*ModelsPaginatedGetChannelResponse) Validate

Validate validates this models paginated get channel response

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

func (*ModelsPaginatedGetTagResponse) Validate

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

Validate validates this models paginated get tag response

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

func (*ModelsPaginatedGetTypeResponse) Validate

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

Validate validates this models paginated get type response

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

func (*ModelsPaginatedGroupResponse) Validate

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

Validate validates this models paginated group response

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

func (*ModelsPagingCursor) Validate

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

Validate validates this models paging cursor

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

func (*ModelsPayloadURL) Validate

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

Validate validates this models payload URL

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

func (*ModelsPreviewMetadata) Validate added in v0.24.0

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

Validate validates this models preview metadata

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

func (*ModelsPreviewURL) Validate added in v0.24.0

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

Validate validates this models preview URL

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

func (*ModelsPublicGetContentBulkRequest) Validate added in v0.17.0

Validate validates this models public get content bulk request

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

func (*ModelsScreenshotResponse) Validate

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

Validate validates this models screenshot response

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

func (*ModelsUpdateScreenshot) Validate

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

Validate validates this models update screenshot

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

func (*ModelsUpdateScreenshotRequest) Validate

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

Validate validates this models update screenshot request

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

func (*ModelsUpdateScreenshotResponse) Validate

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

Validate validates this models update screenshot response

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

func (*ModelsUserFollowRequest) Validate

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

Validate validates this models user follow request

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

func (*ModelsUserFollowResponse) Validate

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

Validate validates this models user follow response

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

func (*ResponseError) Validate

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

Validate validates this response error

Jump to

Keyboard shortcuts

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