Documentation
¶
Index ¶
- type AdminChannelService
- func (u *AdminChannelService) AdminCreateChannel(input *nr_admin_channel.AdminCreateChannelParams) (*ugcclientmodels.ModelsChannelResponse, error)
- func (u *AdminChannelService) AdminDeleteChannel(input *nr_admin_channel.AdminDeleteChannelParams) error
- func (u *AdminChannelService) AdminGetChannel(input *nr_admin_channel.AdminGetChannelParams) (*ugcclientmodels.ModelsPaginatedGetChannelResponse, error)
- func (u *AdminChannelService) AdminUpdateChannel(input *nr_admin_channel.AdminUpdateChannelParams) (*ugcclientmodels.ModelsChannelResponse, error)
- func (u *AdminChannelService) SingleAdminDeleteChannel(input *nr_admin_channel.SingleAdminDeleteChannelParams) error
- func (u *AdminChannelService) SingleAdminGetChannel(input *nr_admin_channel.SingleAdminGetChannelParams) (*ugcclientmodels.ModelsPaginatedGetChannelResponse, error)
- func (u *AdminChannelService) SingleAdminUpdateChannel(input *nr_admin_channel.SingleAdminUpdateChannelParams) (*ugcclientmodels.ModelsChannelResponse, error)
- type AdminContentService
- func (a *AdminContentService) AdminDeleteContent(input *nr_admin_content.AdminDeleteContentParams) error
- func (a *AdminContentService) AdminDownloadContentPreview(input *nr_admin_content.AdminDownloadContentPreviewParams) (*ugcclientmodels.ModelsGetContentPreviewResponse, error)
- func (a *AdminContentService) AdminGetContent(input *nr_admin_content.AdminGetContentParams) (*ugcclientmodels.ModelsPaginatedContentDownloadResponse, error)
- func (a *AdminContentService) AdminGetSpecificContent(input *nr_admin_content.AdminGetSpecificContentParams) (*ugcclientmodels.ModelsContentDownloadResponse, error)
- func (a *AdminContentService) AdminHideUserContent(input *nr_admin_content.AdminHideUserContentParams) (*ugcclientmodels.ModelsCreateContentResponse, error)
- func (a *AdminContentService) AdminSearchChannelSpecificContent(input *nr_admin_content.AdminSearchChannelSpecificContentParams) (*ugcclientmodels.ModelsPaginatedContentDownloadResponse, error)
- func (a *AdminContentService) AdminSearchContent(input *nr_admin_content.AdminSearchContentParams) (*ugcclientmodels.ModelsPaginatedContentDownloadResponse, error)
- func (a *AdminContentService) AdminUpdateContentDirect(input *nr_admin_content.AdminUpdateContentDirectParams) (*ugcclientmodels.ModelsCreateContentResponse, error)
- func (a *AdminContentService) AdminUpdateContentS3(input *nr_admin_content.AdminUpdateContentS3Params) (*ugcclientmodels.ModelsCreateContentResponse, error)
- func (a *AdminContentService) AdminUploadContentDirect(input *nr_admin_content.AdminUploadContentDirectParams) (*ugcclientmodels.ModelsCreateContentResponse, error)
- func (a *AdminContentService) AdminUploadContentS3(input *nr_admin_content.AdminUploadContentS3Params) (*ugcclientmodels.ModelsCreateContentResponse, error)
- func (a *AdminContentService) SingleAdminDeleteContent(input *nr_admin_content.SingleAdminDeleteContentParams) error
- func (a *AdminContentService) SingleAdminGetContent(input *nr_admin_content.SingleAdminGetContentParams) (*ugcclientmodels.ModelsPaginatedContentDownloadResponse, error)
- func (a *AdminContentService) SingleAdminUpdateContentDirect(input *nr_admin_content.SingleAdminUpdateContentDirectParams) (*ugcclientmodels.ModelsCreateContentResponse, error)
- func (a *AdminContentService) SingleAdminUpdateContentS3(input *nr_admin_content.SingleAdminUpdateContentS3Params) (*ugcclientmodels.ModelsCreateContentResponse, error)
- type AdminGroupService
- func (u *AdminGroupService) AdminCreateGroup(input *nr_admin_group.AdminCreateGroupParams) (*ugcclientmodels.ModelsCreateGroupResponse, error)
- func (u *AdminGroupService) AdminDeleteGroup(input *nr_admin_group.AdminDeleteGroupParams) error
- func (u *AdminGroupService) AdminGetAllGroups(input *nr_admin_group.AdminGetAllGroupsParams) (*ugcclientmodels.ModelsPaginatedGroupResponse, error)
- func (u *AdminGroupService) AdminGetGroup(input *nr_admin_group.AdminGetGroupParams) (*ugcclientmodels.ModelsCreateGroupResponse, error)
- func (u *AdminGroupService) AdminGetGroupContents(input *nr_admin_group.AdminGetGroupContentsParams) (*ugcclientmodels.ModelsPaginatedContentDownloadResponse, error)
- func (u *AdminGroupService) AdminUpdateGroup(input *nr_admin_group.AdminUpdateGroupParams) (*ugcclientmodels.ModelsCreateGroupResponse, error)
- func (u *AdminGroupService) SingleAdminDeleteGroup(input *nr_admin_group.SingleAdminDeleteGroupParams) error
- func (u *AdminGroupService) SingleAdminGetAllGroups(input *nr_admin_group.SingleAdminGetAllGroupsParams) (*ugcclientmodels.ModelsPaginatedGroupResponse, error)
- func (u *AdminGroupService) SingleAdminGetGroup(input *nr_admin_group.SingleAdminGetGroupParams) (*ugcclientmodels.ModelsCreateGroupResponse, error)
- func (u *AdminGroupService) SingleAdminGetGroupContents(input *nr_admin_group.SingleAdminGetGroupContentsParams) (*ugcclientmodels.ModelsPaginatedContentDownloadResponse, error)
- func (u *AdminGroupService) SingleAdminUpdateGroup(input *nr_admin_group.SingleAdminUpdateGroupParams) (*ugcclientmodels.ModelsCreateGroupResponse, error)
- type AdminTagService
- func (a *AdminTagService) AdminCreateTag(input *nr_admin_tag.AdminCreateTagParams) (*ugcclientmodels.ModelsCreateTagResponse, error)
- func (a *AdminTagService) AdminDeleteTag(input *nr_admin_tag.AdminDeleteTagParams) error
- func (a *AdminTagService) AdminGetTag(input *nr_admin_tag.AdminGetTagParams) (*ugcclientmodels.ModelsPaginatedGetTagResponse, error)
- func (a *AdminTagService) AdminUpdateTag(input *nr_admin_tag.AdminUpdateTagParams) (*ugcclientmodels.ModelsCreateTagResponse, error)
- type AdminTypeService
- func (a *AdminTypeService) AdminCreateType(input *nr_admin_type.AdminCreateTypeParams) (*ugcclientmodels.ModelsCreateTypeResponse, error)
- func (a *AdminTypeService) AdminDeleteType(input *nr_admin_type.AdminDeleteTypeParams) error
- func (a *AdminTypeService) AdminGetType(input *nr_admin_type.AdminGetTypeParams) (*ugcclientmodels.ModelsPaginatedGetTypeResponse, error)
- func (a *AdminTypeService) AdminUpdateType(input *nr_admin_type.AdminUpdateTypeParams) (*ugcclientmodels.ModelsCreateTypeResponse, error)
- type AnonymizationService
- func (u *AnonymizationService) AdminDeleteAllUserChannels(input *anonymization.AdminDeleteAllUserChannelsParams) error
- func (u *AnonymizationService) AdminDeleteAllUserContents(input *anonymization.AdminDeleteAllUserContentsParams) error
- func (u *AnonymizationService) AdminDeleteAllUserGroup(input *anonymization.AdminDeleteAllUserGroupParams) error
- func (u *AnonymizationService) AdminDeleteAllUserStates(input *anonymization.AdminDeleteAllUserStatesParams) error
- func (u *AnonymizationService) DeleteAllUserChannel(input *anonymization.DeleteAllUserChannelParams) error
- func (u *AnonymizationService) DeleteAllUserContents(input *anonymization.DeleteAllUserContentsParams) error
- func (u *AnonymizationService) DeleteAllUserGroup(input *anonymization.DeleteAllUserGroupParams) error
- func (u *AnonymizationService) DeleteAllUserStates(input *anonymization.DeleteAllUserStatesParams) error
- type PublicChannelService
- func (u *PublicChannelService) CreateChannel(input *nr_public_channel.CreateChannelParams) (*ugcclientmodels.ModelsChannelResponse, error)
- func (u *PublicChannelService) DeleteChannel(input *nr_public_channel.DeleteChannelParams) error
- func (u *PublicChannelService) GetChannels(input *nr_public_channel.GetChannelsParams) (*ugcclientmodels.ModelsPaginatedGetChannelResponse, error)
- func (u *PublicChannelService) UpdateChannel(input *nr_public_channel.UpdateChannelParams) (*ugcclientmodels.ModelsChannelResponse, error)
- type PublicContentService
- func (p *PublicContentService) CreateContentDirect(input *nr_public_content.CreateContentDirectParams) (*ugcclientmodels.ModelsCreateContentResponse, error)
- func (p *PublicContentService) CreateContentS3(input *nr_public_content.CreateContentS3Params) (*ugcclientmodels.ModelsCreateContentResponse, error)
- func (p *PublicContentService) DeleteContent(input *nr_public_content.DeleteContentParams) error
- func (p *PublicContentService) DownloadContentByShareCode(input *nr_public_content.DownloadContentByShareCodeParams) (*ugcclientmodels.ModelsContentDownloadResponse, error)
- func (p *PublicContentService) PublicDownloadContentByContentID(input *nr_public_content.PublicDownloadContentByContentIDParams) (*ugcclientmodels.ModelsContentDownloadResponse, error)
- func (p *PublicContentService) PublicDownloadContentPreview(input *nr_public_content.PublicDownloadContentPreviewParams) (*ugcclientmodels.ModelsGetContentPreviewResponse, error)
- func (p *PublicContentService) PublicGetUserContent(input *nr_public_content.PublicGetUserContentParams) (*ugcclientmodels.ModelsPaginatedContentDownloadResponse, error)
- func (p *PublicContentService) PublicSearchContent(input *nr_public_content.PublicSearchContentParams) (*ugcclientmodels.ModelsPaginatedContentDownloadResponse, error)
- func (p *PublicContentService) SearchChannelSpecificContent(input *nr_public_content.SearchChannelSpecificContentParams) (*ugcclientmodels.ModelsPaginatedContentDownloadResponse, error)
- func (p *PublicContentService) UpdateContentDirect(input *nr_public_content.UpdateContentDirectParams) (*ugcclientmodels.ModelsCreateContentResponse, error)
- func (p *PublicContentService) UpdateContentS3(input *nr_public_content.UpdateContentS3Params) (*ugcclientmodels.ModelsCreateContentResponse, error)
- type PublicDownloadCountService
- type PublicFollowService
- func (u *PublicFollowService) GetFollowedContent(input *nr_public_follow.GetFollowedContentParams) (*ugcclientmodels.ModelsPaginatedContentDownloadResponse, error)
- func (u *PublicFollowService) GetFollowedUsers(input *nr_public_follow.GetFollowedUsersParams) (*ugcclientmodels.ModelsPaginatedCreatorOverviewResponse, error)
- func (u *PublicFollowService) UpdateUserFollowStatus(input *nr_public_follow.UpdateUserFollowStatusParams) (*ugcclientmodels.ModelsUserFollowResponse, error)
- type PublicGroupService
- func (u *PublicGroupService) CreateGroup(input *nr_public_group.CreateGroupParams) (*ugcclientmodels.ModelsCreateGroupResponse, error)
- func (u *PublicGroupService) DeleteGroup(input *nr_public_group.DeleteGroupParams) error
- func (u *PublicGroupService) GetGroup(input *nr_public_group.GetGroupParams) (*ugcclientmodels.ModelsCreateGroupResponse, error)
- func (u *PublicGroupService) GetGroupContent(input *nr_public_group.GetGroupContentParams) (*ugcclientmodels.ModelsPaginatedContentDownloadResponse, error)
- func (u *PublicGroupService) GetGroups(input *nr_public_group.GetGroupsParams) (*ugcclientmodels.ModelsPaginatedGroupResponse, error)
- func (u *PublicGroupService) UpdateGroup(input *nr_public_group.UpdateGroupParams) (*ugcclientmodels.ModelsCreateGroupResponse, error)
- type PublicLikeService
- func (u *PublicLikeService) GetLikedContent(input *nr_public_like.GetLikedContentParams) (*ugcclientmodels.ModelsPaginatedContentDownloadResponse, error)
- func (u *PublicLikeService) UpdateContentLikeStatus(input *nr_public_like.UpdateContentLikeStatusParams) (*ugcclientmodels.ModelsContentLikeResponse, error)
- type PublicTagService
- type PublicTypeService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdminChannelService ¶
type AdminChannelService struct { Client *ugcclient.JusticeUgcService TokenRepository repository.TokenRepository }
func (*AdminChannelService) AdminCreateChannel ¶
func (u *AdminChannelService) AdminCreateChannel(input *nr_admin_channel.AdminCreateChannelParams) (*ugcclientmodels.ModelsChannelResponse, error)
AdminCreateChannel creates channel
func (*AdminChannelService) AdminDeleteChannel ¶
func (u *AdminChannelService) AdminDeleteChannel(input *nr_admin_channel.AdminDeleteChannelParams) error
AdminDeleteChannel deletes channel
func (*AdminChannelService) AdminGetChannel ¶
func (u *AdminChannelService) AdminGetChannel(input *nr_admin_channel.AdminGetChannelParams) (*ugcclientmodels.ModelsPaginatedGetChannelResponse, error)
AdminGetChannel gets channels
func (*AdminChannelService) AdminUpdateChannel ¶
func (u *AdminChannelService) AdminUpdateChannel(input *nr_admin_channel.AdminUpdateChannelParams) (*ugcclientmodels.ModelsChannelResponse, error)
AdminUpdateChannel updates channel
func (*AdminChannelService) SingleAdminDeleteChannel ¶
func (u *AdminChannelService) SingleAdminDeleteChannel(input *nr_admin_channel.SingleAdminDeleteChannelParams) error
SingleAdminDeleteChannel deletes channel
func (*AdminChannelService) SingleAdminGetChannel ¶
func (u *AdminChannelService) SingleAdminGetChannel(input *nr_admin_channel.SingleAdminGetChannelParams) (*ugcclientmodels.ModelsPaginatedGetChannelResponse, error)
SingleAdminGetChannel gets channel
func (*AdminChannelService) SingleAdminUpdateChannel ¶
func (u *AdminChannelService) SingleAdminUpdateChannel(input *nr_admin_channel.SingleAdminUpdateChannelParams) (*ugcclientmodels.ModelsChannelResponse, error)
SingleAdminUpdateChannel updates channel
type AdminContentService ¶
type AdminContentService struct { Client *ugcclient.JusticeUgcService TokenRepository repository.TokenRepository }
func (*AdminContentService) AdminDeleteContent ¶
func (a *AdminContentService) AdminDeleteContent(input *nr_admin_content.AdminDeleteContentParams) error
AdminDeleteContent deletes content
func (*AdminContentService) AdminDownloadContentPreview ¶
func (a *AdminContentService) AdminDownloadContentPreview(input *nr_admin_content.AdminDownloadContentPreviewParams) (*ugcclientmodels.ModelsGetContentPreviewResponse, error)
AdminDownloadContentPreview gets content preview
func (*AdminContentService) AdminGetContent ¶
func (a *AdminContentService) AdminGetContent(input *nr_admin_content.AdminGetContentParams) (*ugcclientmodels.ModelsPaginatedContentDownloadResponse, error)
AdminGetContent gets user's generated contents
func (*AdminContentService) AdminGetSpecificContent ¶
func (a *AdminContentService) AdminGetSpecificContent(input *nr_admin_content.AdminGetSpecificContentParams) (*ugcclientmodels.ModelsContentDownloadResponse, error)
AdminGetSpecificContent gets user specific content
func (*AdminContentService) AdminHideUserContent ¶
func (a *AdminContentService) AdminHideUserContent(input *nr_admin_content.AdminHideUserContentParams) (*ugcclientmodels.ModelsCreateContentResponse, error)
AdminHideUserContent hides unhidden user's generated contents
func (*AdminContentService) AdminSearchChannelSpecificContent ¶
func (a *AdminContentService) AdminSearchChannelSpecificContent(input *nr_admin_content.AdminSearchChannelSpecificContentParams) (*ugcclientmodels.ModelsPaginatedContentDownloadResponse, error)
AdminSearchChannelSpecificContent searches contents specific to a channel
func (*AdminContentService) AdminSearchContent ¶
func (a *AdminContentService) AdminSearchContent(input *nr_admin_content.AdminSearchContentParams) (*ugcclientmodels.ModelsPaginatedContentDownloadResponse, error)
AdminSearchContent searches contents
func (*AdminContentService) AdminUpdateContentDirect ¶
func (a *AdminContentService) AdminUpdateContentDirect(input *nr_admin_content.AdminUpdateContentDirectParams) (*ugcclientmodels.ModelsCreateContentResponse, error)
AdminUpdateContentDirect updates content to a channel
func (*AdminContentService) AdminUpdateContentS3 ¶
func (a *AdminContentService) AdminUpdateContentS3(input *nr_admin_content.AdminUpdateContentS3Params) (*ugcclientmodels.ModelsCreateContentResponse, error)
AdminUpdateContentS3 updates content to s3 bucket
func (*AdminContentService) AdminUploadContentDirect ¶
func (a *AdminContentService) AdminUploadContentDirect(input *nr_admin_content.AdminUploadContentDirectParams) (*ugcclientmodels.ModelsCreateContentResponse, error)
AdminUploadContentDirect uploads content to a channel
func (*AdminContentService) AdminUploadContentS3 ¶
func (a *AdminContentService) AdminUploadContentS3(input *nr_admin_content.AdminUploadContentS3Params) (*ugcclientmodels.ModelsCreateContentResponse, error)
AdminUploadContentS3 uploads content to s3 bucket
func (*AdminContentService) SingleAdminDeleteContent ¶
func (a *AdminContentService) SingleAdminDeleteContent(input *nr_admin_content.SingleAdminDeleteContentParams) error
SingleAdminDeleteContent deletes content
func (*AdminContentService) SingleAdminGetContent ¶
func (a *AdminContentService) SingleAdminGetContent(input *nr_admin_content.SingleAdminGetContentParams) (*ugcclientmodels.ModelsPaginatedContentDownloadResponse, error)
SingleAdminGetContent gets user's generated contents
func (*AdminContentService) SingleAdminUpdateContentDirect ¶
func (a *AdminContentService) SingleAdminUpdateContentDirect(input *nr_admin_content.SingleAdminUpdateContentDirectParams) (*ugcclientmodels.ModelsCreateContentResponse, error)
SingleAdminUpdateContentDirect updates content to a channel
func (*AdminContentService) SingleAdminUpdateContentS3 ¶
func (a *AdminContentService) SingleAdminUpdateContentS3(input *nr_admin_content.SingleAdminUpdateContentS3Params) (*ugcclientmodels.ModelsCreateContentResponse, error)
SingleAdminUpdateContentS3 updates content to s3 bucket
type AdminGroupService ¶
type AdminGroupService struct { Client *ugcclient.JusticeUgcService TokenRepository repository.TokenRepository }
func (*AdminGroupService) AdminCreateGroup ¶
func (u *AdminGroupService) AdminCreateGroup(input *nr_admin_group.AdminCreateGroupParams) (*ugcclientmodels.ModelsCreateGroupResponse, error)
AdminCreateGroup creates groups
func (*AdminGroupService) AdminDeleteGroup ¶
func (u *AdminGroupService) AdminDeleteGroup(input *nr_admin_group.AdminDeleteGroupParams) error
AdminDeleteGroup deletes group
func (*AdminGroupService) AdminGetAllGroups ¶
func (u *AdminGroupService) AdminGetAllGroups(input *nr_admin_group.AdminGetAllGroupsParams) (*ugcclientmodels.ModelsPaginatedGroupResponse, error)
AdminGetAllGroups gets all user groups
func (*AdminGroupService) AdminGetGroup ¶
func (u *AdminGroupService) AdminGetGroup(input *nr_admin_group.AdminGetGroupParams) (*ugcclientmodels.ModelsCreateGroupResponse, error)
AdminGetGroup gets specific user group
func (*AdminGroupService) AdminGetGroupContents ¶
func (u *AdminGroupService) AdminGetGroupContents(input *nr_admin_group.AdminGetGroupContentsParams) (*ugcclientmodels.ModelsPaginatedContentDownloadResponse, error)
AdminGetGroupContents gets contents belong to a group
func (*AdminGroupService) AdminUpdateGroup ¶
func (u *AdminGroupService) AdminUpdateGroup(input *nr_admin_group.AdminUpdateGroupParams) (*ugcclientmodels.ModelsCreateGroupResponse, error)
AdminUpdateGroup updates group
func (*AdminGroupService) SingleAdminDeleteGroup ¶
func (u *AdminGroupService) SingleAdminDeleteGroup(input *nr_admin_group.SingleAdminDeleteGroupParams) error
SingleAdminDeleteGroup deletes group
func (*AdminGroupService) SingleAdminGetAllGroups ¶
func (u *AdminGroupService) SingleAdminGetAllGroups(input *nr_admin_group.SingleAdminGetAllGroupsParams) (*ugcclientmodels.ModelsPaginatedGroupResponse, error)
SingleAdminGetAllGroups gets all user groups
func (*AdminGroupService) SingleAdminGetGroup ¶
func (u *AdminGroupService) SingleAdminGetGroup(input *nr_admin_group.SingleAdminGetGroupParams) (*ugcclientmodels.ModelsCreateGroupResponse, error)
SingleAdminGetGroup gets specific user group
func (*AdminGroupService) SingleAdminGetGroupContents ¶
func (u *AdminGroupService) SingleAdminGetGroupContents(input *nr_admin_group.SingleAdminGetGroupContentsParams) (*ugcclientmodels.ModelsPaginatedContentDownloadResponse, error)
SingleAdminGetGroupContents gets contents belong to a group
func (*AdminGroupService) SingleAdminUpdateGroup ¶
func (u *AdminGroupService) SingleAdminUpdateGroup(input *nr_admin_group.SingleAdminUpdateGroupParams) (*ugcclientmodels.ModelsCreateGroupResponse, error)
SingleAdminUpdateGroup updates group
type AdminTagService ¶
type AdminTagService struct { Client *ugcclient.JusticeUgcService TokenRepository repository.TokenRepository }
func (*AdminTagService) AdminCreateTag ¶
func (a *AdminTagService) AdminCreateTag(input *nr_admin_tag.AdminCreateTagParams) (*ugcclientmodels.ModelsCreateTagResponse, error)
AdminCreateTag creates tags
func (*AdminTagService) AdminDeleteTag ¶
func (a *AdminTagService) AdminDeleteTag(input *nr_admin_tag.AdminDeleteTagParams) error
AdminDeleteTag deletes tags
func (*AdminTagService) AdminGetTag ¶
func (a *AdminTagService) AdminGetTag(input *nr_admin_tag.AdminGetTagParams) (*ugcclientmodels.ModelsPaginatedGetTagResponse, error)
AdminGetTag gets tags
func (*AdminTagService) AdminUpdateTag ¶
func (a *AdminTagService) AdminUpdateTag(input *nr_admin_tag.AdminUpdateTagParams) (*ugcclientmodels.ModelsCreateTagResponse, error)
AdminUpdateTag updates tag
type AdminTypeService ¶
type AdminTypeService struct { Client *ugcclient.JusticeUgcService TokenRepository repository.TokenRepository }
func (*AdminTypeService) AdminCreateType ¶
func (a *AdminTypeService) AdminCreateType(input *nr_admin_type.AdminCreateTypeParams) (*ugcclientmodels.ModelsCreateTypeResponse, error)
AdminCreateType creates types
func (*AdminTypeService) AdminDeleteType ¶
func (a *AdminTypeService) AdminDeleteType(input *nr_admin_type.AdminDeleteTypeParams) error
AdminDeleteType deletes types
func (*AdminTypeService) AdminGetType ¶
func (a *AdminTypeService) AdminGetType(input *nr_admin_type.AdminGetTypeParams) (*ugcclientmodels.ModelsPaginatedGetTypeResponse, error)
AdminGetType gets types
func (*AdminTypeService) AdminUpdateType ¶
func (a *AdminTypeService) AdminUpdateType(input *nr_admin_type.AdminUpdateTypeParams) (*ugcclientmodels.ModelsCreateTypeResponse, error)
AdminUpdateType updates type
type AnonymizationService ¶
type AnonymizationService struct { Client *ugcclient.JusticeUgcService TokenRepository repository.TokenRepository }
func (*AnonymizationService) AdminDeleteAllUserChannels ¶
func (u *AnonymizationService) AdminDeleteAllUserChannels(input *anonymization.AdminDeleteAllUserChannelsParams) error
AdminDeleteAllUserChannels deletes all user channel
func (*AnonymizationService) AdminDeleteAllUserContents ¶
func (u *AnonymizationService) AdminDeleteAllUserContents(input *anonymization.AdminDeleteAllUserContentsParams) error
AdminDeleteAllUserContents deletes all user content
func (*AnonymizationService) AdminDeleteAllUserGroup ¶
func (u *AnonymizationService) AdminDeleteAllUserGroup(input *anonymization.AdminDeleteAllUserGroupParams) error
AdminDeleteAllUserGroup deletes all user group
func (*AnonymizationService) AdminDeleteAllUserStates ¶
func (u *AnonymizationService) AdminDeleteAllUserStates(input *anonymization.AdminDeleteAllUserStatesParams) error
AdminDeleteAllUserStates removes all user related state likes downloads followers following
func (*AnonymizationService) DeleteAllUserChannel ¶
func (u *AnonymizationService) DeleteAllUserChannel(input *anonymization.DeleteAllUserChannelParams) error
DeleteAllUserChannel deletes all user channel
func (*AnonymizationService) DeleteAllUserContents ¶
func (u *AnonymizationService) DeleteAllUserContents(input *anonymization.DeleteAllUserContentsParams) error
DeleteAllUserContents deletes all user content
func (*AnonymizationService) DeleteAllUserGroup ¶
func (u *AnonymizationService) DeleteAllUserGroup(input *anonymization.DeleteAllUserGroupParams) error
DeleteAllUserGroup deletes all user group
func (*AnonymizationService) DeleteAllUserStates ¶
func (u *AnonymizationService) DeleteAllUserStates(input *anonymization.DeleteAllUserStatesParams) error
DeleteAllUserStates removes all user related state likes downloads followers following
type PublicChannelService ¶
type PublicChannelService struct { Client *ugcclient.JusticeUgcService TokenRepository repository.TokenRepository }
func (*PublicChannelService) CreateChannel ¶
func (u *PublicChannelService) CreateChannel(input *nr_public_channel.CreateChannelParams) (*ugcclientmodels.ModelsChannelResponse, error)
func (*PublicChannelService) DeleteChannel ¶
func (u *PublicChannelService) DeleteChannel(input *nr_public_channel.DeleteChannelParams) error
func (*PublicChannelService) GetChannels ¶
func (u *PublicChannelService) GetChannels(input *nr_public_channel.GetChannelsParams) (*ugcclientmodels.ModelsPaginatedGetChannelResponse, error)
func (*PublicChannelService) UpdateChannel ¶
func (u *PublicChannelService) UpdateChannel(input *nr_public_channel.UpdateChannelParams) (*ugcclientmodels.ModelsChannelResponse, error)
type PublicContentService ¶
type PublicContentService struct { Client *ugcclient.JusticeUgcService TokenRepository repository.TokenRepository }
func (*PublicContentService) CreateContentDirect ¶
func (p *PublicContentService) CreateContentDirect(input *nr_public_content.CreateContentDirectParams) (*ugcclientmodels.ModelsCreateContentResponse, error)
func (*PublicContentService) CreateContentS3 ¶
func (p *PublicContentService) CreateContentS3(input *nr_public_content.CreateContentS3Params) (*ugcclientmodels.ModelsCreateContentResponse, error)
func (*PublicContentService) DeleteContent ¶
func (p *PublicContentService) DeleteContent(input *nr_public_content.DeleteContentParams) error
func (*PublicContentService) DownloadContentByShareCode ¶
func (p *PublicContentService) DownloadContentByShareCode(input *nr_public_content.DownloadContentByShareCodeParams) (*ugcclientmodels.ModelsContentDownloadResponse, error)
func (*PublicContentService) PublicDownloadContentByContentID ¶
func (p *PublicContentService) PublicDownloadContentByContentID(input *nr_public_content.PublicDownloadContentByContentIDParams) (*ugcclientmodels.ModelsContentDownloadResponse, error)
func (*PublicContentService) PublicDownloadContentPreview ¶
func (p *PublicContentService) PublicDownloadContentPreview(input *nr_public_content.PublicDownloadContentPreviewParams) (*ugcclientmodels.ModelsGetContentPreviewResponse, error)
func (*PublicContentService) PublicGetUserContent ¶
func (p *PublicContentService) PublicGetUserContent(input *nr_public_content.PublicGetUserContentParams) (*ugcclientmodels.ModelsPaginatedContentDownloadResponse, error)
func (*PublicContentService) PublicSearchContent ¶
func (p *PublicContentService) PublicSearchContent(input *nr_public_content.PublicSearchContentParams) (*ugcclientmodels.ModelsPaginatedContentDownloadResponse, error)
func (*PublicContentService) SearchChannelSpecificContent ¶
func (p *PublicContentService) SearchChannelSpecificContent(input *nr_public_content.SearchChannelSpecificContentParams) (*ugcclientmodels.ModelsPaginatedContentDownloadResponse, error)
func (*PublicContentService) UpdateContentDirect ¶
func (p *PublicContentService) UpdateContentDirect(input *nr_public_content.UpdateContentDirectParams) (*ugcclientmodels.ModelsCreateContentResponse, error)
func (*PublicContentService) UpdateContentS3 ¶
func (p *PublicContentService) UpdateContentS3(input *nr_public_content.UpdateContentS3Params) (*ugcclientmodels.ModelsCreateContentResponse, error)
type PublicDownloadCountService ¶
type PublicDownloadCountService struct { Client *ugcclient.JusticeUgcService TokenRepository repository.TokenRepository }
func (*PublicDownloadCountService) AddDownloadCount ¶
func (u *PublicDownloadCountService) AddDownloadCount(input *nr_public_download_count.AddDownloadCountParams) (*ugcclientmodels.ModelsAddDownloadCountResponse, error)
type PublicFollowService ¶
type PublicFollowService struct { Client *ugcclient.JusticeUgcService TokenRepository repository.TokenRepository }
func (*PublicFollowService) GetFollowedContent ¶
func (u *PublicFollowService) GetFollowedContent(input *nr_public_follow.GetFollowedContentParams) (*ugcclientmodels.ModelsPaginatedContentDownloadResponse, error)
func (*PublicFollowService) GetFollowedUsers ¶
func (u *PublicFollowService) GetFollowedUsers(input *nr_public_follow.GetFollowedUsersParams) (*ugcclientmodels.ModelsPaginatedCreatorOverviewResponse, error)
func (*PublicFollowService) UpdateUserFollowStatus ¶
func (u *PublicFollowService) UpdateUserFollowStatus(input *nr_public_follow.UpdateUserFollowStatusParams) (*ugcclientmodels.ModelsUserFollowResponse, error)
type PublicGroupService ¶
type PublicGroupService struct { Client *ugcclient.JusticeUgcService TokenRepository repository.TokenRepository }
func (*PublicGroupService) CreateGroup ¶
func (u *PublicGroupService) CreateGroup(input *nr_public_group.CreateGroupParams) (*ugcclientmodels.ModelsCreateGroupResponse, error)
func (*PublicGroupService) DeleteGroup ¶
func (u *PublicGroupService) DeleteGroup(input *nr_public_group.DeleteGroupParams) error
func (*PublicGroupService) GetGroup ¶
func (u *PublicGroupService) GetGroup(input *nr_public_group.GetGroupParams) (*ugcclientmodels.ModelsCreateGroupResponse, error)
func (*PublicGroupService) GetGroupContent ¶
func (u *PublicGroupService) GetGroupContent(input *nr_public_group.GetGroupContentParams) (*ugcclientmodels.ModelsPaginatedContentDownloadResponse, error)
func (*PublicGroupService) GetGroups ¶
func (u *PublicGroupService) GetGroups(input *nr_public_group.GetGroupsParams) (*ugcclientmodels.ModelsPaginatedGroupResponse, error)
func (*PublicGroupService) UpdateGroup ¶
func (u *PublicGroupService) UpdateGroup(input *nr_public_group.UpdateGroupParams) (*ugcclientmodels.ModelsCreateGroupResponse, error)
type PublicLikeService ¶
type PublicLikeService struct { Client *ugcclient.JusticeUgcService TokenRepository repository.TokenRepository }
func (*PublicLikeService) GetLikedContent ¶
func (u *PublicLikeService) GetLikedContent(input *nr_public_like.GetLikedContentParams) (*ugcclientmodels.ModelsPaginatedContentDownloadResponse, error)
GetLikedContent gets liked contents
func (*PublicLikeService) UpdateContentLikeStatus ¶
func (u *PublicLikeService) UpdateContentLikeStatus(input *nr_public_like.UpdateContentLikeStatusParams) (*ugcclientmodels.ModelsContentLikeResponse, error)
UpdateContentLikeStatus updates like unlike status to a content
type PublicTagService ¶
type PublicTagService struct { Client *ugcclient.JusticeUgcService TokenRepository repository.TokenRepository }
func (*PublicTagService) GetTag ¶
func (u *PublicTagService) GetTag(input *nr_public_tag.GetTagParams) (*ugcclientmodels.ModelsPaginatedGetTagResponse, error)
GetTag gets tags
type PublicTypeService ¶
type PublicTypeService struct { Client *ugcclient.JusticeUgcService TokenRepository repository.TokenRepository }
func (*PublicTypeService) GetType ¶
func (u *PublicTypeService) GetType(input *nr_public_type.GetTypeParams) (*ugcclientmodels.ModelsPaginatedGetTypeResponse, error)
GetType gets types