ugc

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2025 License: MIT Imports: 31 Imported by: 0

Documentation

Index

Constants

View Source
const ServiceVersion = "2.23.2"

Variables

View Source
var SDKVersion string

Functions

func GetUserAgent

func GetUserAgent() string

func NewUgcClient

func NewUgcClient(configRepository repository.ConfigRepository) *ugcclient.JusticeUgcService

Types

type AdminChannelService

type AdminChannelService struct {
	Client           *ugcclient.JusticeUgcService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*AdminChannelService) AdminCreateChannelShort

func (*AdminChannelService) AdminDeleteChannelShort

func (aaa *AdminChannelService) AdminDeleteChannelShort(input *admin_channel.AdminDeleteChannelParams) error

func (*AdminChannelService) AdminGetChannelShort

func (*AdminChannelService) AdminUpdateChannelShort

func (*AdminChannelService) GetAuthSession

func (aaa *AdminChannelService) GetAuthSession() auth.Session

func (*AdminChannelService) SingleAdminDeleteChannelShort

func (aaa *AdminChannelService) SingleAdminDeleteChannelShort(input *admin_channel.SingleAdminDeleteChannelParams) error

func (*AdminChannelService) UpdateFlightId

func (aaa *AdminChannelService) UpdateFlightId(flightId string)

type AdminConfigService

type AdminConfigService struct {
	Client           *ugcclient.JusticeUgcService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*AdminConfigService) AdminGetConfigsShort

func (*AdminConfigService) AdminUpdateConfigShort

func (aaa *AdminConfigService) AdminUpdateConfigShort(input *admin_config.AdminUpdateConfigParams) error

func (*AdminConfigService) GetAuthSession

func (aaa *AdminConfigService) GetAuthSession() auth.Session

func (*AdminConfigService) UpdateFlightId

func (aaa *AdminConfigService) UpdateFlightId(flightId string)

type AdminContentService

type AdminContentService struct {
	Client           *ugcclient.JusticeUgcService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*AdminContentService) AdminDeleteContentScreenshotShort

func (aaa *AdminContentService) AdminDeleteContentScreenshotShort(input *admin_content.AdminDeleteContentScreenshotParams) error

func (*AdminContentService) AdminDeleteContentShort

func (aaa *AdminContentService) AdminDeleteContentShort(input *admin_content.AdminDeleteContentParams) error

func (*AdminContentService) AdminGetContentBulkShort

func (*AdminContentService) AdminGetContentShort

func (*AdminContentService) AdminSearchContentShort

func (*AdminContentService) DeleteContentByShareCodeShort

func (aaa *AdminContentService) DeleteContentByShareCodeShort(input *admin_content.DeleteContentByShareCodeParams) error

func (*AdminContentService) GetAuthSession

func (aaa *AdminContentService) GetAuthSession() auth.Session

func (*AdminContentService) ListContentVersionsShort

func (*AdminContentService) SingleAdminDeleteContentShort

func (aaa *AdminContentService) SingleAdminDeleteContentShort(input *admin_content.SingleAdminDeleteContentParams) error

func (*AdminContentService) UpdateFlightId

func (aaa *AdminContentService) UpdateFlightId(flightId string)

type AdminContentV2Service

type AdminContentV2Service struct {
	Client           *ugcclient.JusticeUgcService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*AdminContentV2Service) AdminCopyContentShort

func (*AdminContentV2Service) AdminDeleteContentByShareCodeV2Short

func (aaa *AdminContentV2Service) AdminDeleteContentByShareCodeV2Short(input *admin_content_v2.AdminDeleteContentByShareCodeV2Params) error

func (*AdminContentV2Service) AdminDeleteContentScreenshotV2Short

func (aaa *AdminContentV2Service) AdminDeleteContentScreenshotV2Short(input *admin_content_v2.AdminDeleteContentScreenshotV2Params) error

func (*AdminContentV2Service) AdminDeleteOfficialContentV2Short

func (aaa *AdminContentV2Service) AdminDeleteOfficialContentV2Short(input *admin_content_v2.AdminDeleteOfficialContentV2Params) error

func (*AdminContentV2Service) AdminDeleteUserContentV2Short

func (aaa *AdminContentV2Service) AdminDeleteUserContentV2Short(input *admin_content_v2.AdminDeleteUserContentV2Params) error

func (*AdminContentV2Service) GetAuthSession

func (aaa *AdminContentV2Service) GetAuthSession() auth.Session

func (*AdminContentV2Service) UpdateFlightId

func (aaa *AdminContentV2Service) UpdateFlightId(flightId string)

type AdminGroupService

type AdminGroupService struct {
	Client           *ugcclient.JusticeUgcService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*AdminGroupService) AdminCreateGroupShort

func (*AdminGroupService) AdminDeleteGroupShort

func (aaa *AdminGroupService) AdminDeleteGroupShort(input *admin_group.AdminDeleteGroupParams) error

func (*AdminGroupService) AdminGetAllGroupsShort

func (*AdminGroupService) AdminGetGroupContentsShort

func (*AdminGroupService) AdminGetGroupShort

func (*AdminGroupService) AdminUpdateGroupShort

func (*AdminGroupService) GetAuthSession

func (aaa *AdminGroupService) GetAuthSession() auth.Session

func (*AdminGroupService) SingleAdminDeleteGroupShort

func (aaa *AdminGroupService) SingleAdminDeleteGroupShort(input *admin_group.SingleAdminDeleteGroupParams) error

func (*AdminGroupService) SingleAdminGetGroupShort

func (*AdminGroupService) UpdateFlightId

func (aaa *AdminGroupService) UpdateFlightId(flightId string)

type AdminStagingContentService

type AdminStagingContentService struct {
	Client           *ugcclient.JusticeUgcService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*AdminStagingContentService) GetAuthSession

func (aaa *AdminStagingContentService) GetAuthSession() auth.Session

func (*AdminStagingContentService) UpdateFlightId

func (aaa *AdminStagingContentService) UpdateFlightId(flightId string)

type AdminTagService

type AdminTagService struct {
	Client           *ugcclient.JusticeUgcService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*AdminTagService) AdminCreateTagShort

func (*AdminTagService) AdminDeleteTagShort

func (aaa *AdminTagService) AdminDeleteTagShort(input *admin_tag.AdminDeleteTagParams) error

func (*AdminTagService) AdminGetTagShort

func (*AdminTagService) AdminUpdateTagShort

func (*AdminTagService) GetAuthSession

func (aaa *AdminTagService) GetAuthSession() auth.Session

func (*AdminTagService) UpdateFlightId

func (aaa *AdminTagService) UpdateFlightId(flightId string)

type AdminTypeService

type AdminTypeService struct {
	Client           *ugcclient.JusticeUgcService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*AdminTypeService) AdminCreateTypeShort

func (*AdminTypeService) AdminDeleteTypeShort

func (aaa *AdminTypeService) AdminDeleteTypeShort(input *admin_type.AdminDeleteTypeParams) error

func (*AdminTypeService) AdminGetTypeShort

func (*AdminTypeService) AdminUpdateTypeShort

func (*AdminTypeService) GetAuthSession

func (aaa *AdminTypeService) GetAuthSession() auth.Session

func (*AdminTypeService) UpdateFlightId

func (aaa *AdminTypeService) UpdateFlightId(flightId string)

type AnonymizationService

type AnonymizationService struct {
	Client           *ugcclient.JusticeUgcService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*AnonymizationService) AdminDeleteAllUserChannelsShort

func (aaa *AnonymizationService) AdminDeleteAllUserChannelsShort(input *anonymization.AdminDeleteAllUserChannelsParams) error

func (*AnonymizationService) AdminDeleteAllUserContentsShort

func (aaa *AnonymizationService) AdminDeleteAllUserContentsShort(input *anonymization.AdminDeleteAllUserContentsParams) error

func (*AnonymizationService) AdminDeleteAllUserGroupShort

func (aaa *AnonymizationService) AdminDeleteAllUserGroupShort(input *anonymization.AdminDeleteAllUserGroupParams) error

func (*AnonymizationService) AdminDeleteAllUserStatesShort

func (aaa *AnonymizationService) AdminDeleteAllUserStatesShort(input *anonymization.AdminDeleteAllUserStatesParams) error

func (*AnonymizationService) DeleteAllUserChannelShort

func (aaa *AnonymizationService) DeleteAllUserChannelShort(input *anonymization.DeleteAllUserChannelParams) error

func (*AnonymizationService) DeleteAllUserContentsShort

func (aaa *AnonymizationService) DeleteAllUserContentsShort(input *anonymization.DeleteAllUserContentsParams) error

func (*AnonymizationService) DeleteAllUserGroupShort

func (aaa *AnonymizationService) DeleteAllUserGroupShort(input *anonymization.DeleteAllUserGroupParams) error

func (*AnonymizationService) DeleteAllUserStatesShort

func (aaa *AnonymizationService) DeleteAllUserStatesShort(input *anonymization.DeleteAllUserStatesParams) error

func (*AnonymizationService) GetAuthSession

func (aaa *AnonymizationService) GetAuthSession() auth.Session

func (*AnonymizationService) UpdateFlightId

func (aaa *AnonymizationService) UpdateFlightId(flightId string)

type PublicChannelService

type PublicChannelService struct {
	Client           *ugcclient.JusticeUgcService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*PublicChannelService) DeleteChannelShort

func (aaa *PublicChannelService) DeleteChannelShort(input *public_channel.DeleteChannelParams) error

func (*PublicChannelService) GetAuthSession

func (aaa *PublicChannelService) GetAuthSession() auth.Session

func (*PublicChannelService) GetChannelsShort

func (*PublicChannelService) UpdateChannelShort

func (*PublicChannelService) UpdateFlightId

func (aaa *PublicChannelService) UpdateFlightId(flightId string)

type PublicContentLegacyService

type PublicContentLegacyService struct {
	Client           *ugcclient.JusticeUgcService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*PublicContentLegacyService) DeleteContentScreenshotShort

func (aaa *PublicContentLegacyService) DeleteContentScreenshotShort(input *public_content_legacy.DeleteContentScreenshotParams) error

func (*PublicContentLegacyService) DeleteContentShort

func (*PublicContentLegacyService) GetAuthSession

func (aaa *PublicContentLegacyService) GetAuthSession() auth.Session

func (*PublicContentLegacyService) PublicDeleteContentByShareCodeShort

func (aaa *PublicContentLegacyService) PublicDeleteContentByShareCodeShort(input *public_content_legacy.PublicDeleteContentByShareCodeParams) error

func (*PublicContentLegacyService) UpdateFlightId

func (aaa *PublicContentLegacyService) UpdateFlightId(flightId string)

type PublicContentV2Service

type PublicContentV2Service struct {
	Client           *ugcclient.JusticeUgcService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*PublicContentV2Service) DeleteContentScreenshotV2Short

func (aaa *PublicContentV2Service) DeleteContentScreenshotV2Short(input *public_content_v2.DeleteContentScreenshotV2Params) error

func (*PublicContentV2Service) GetAuthSession

func (aaa *PublicContentV2Service) GetAuthSession() auth.Session

func (*PublicContentV2Service) PublicDeleteContentByShareCodeV2Short

func (aaa *PublicContentV2Service) PublicDeleteContentByShareCodeV2Short(input *public_content_v2.PublicDeleteContentByShareCodeV2Params) error

func (*PublicContentV2Service) PublicDeleteContentV2Short

func (aaa *PublicContentV2Service) PublicDeleteContentV2Short(input *public_content_v2.PublicDeleteContentV2Params) error

func (*PublicContentV2Service) UpdateFlightId

func (aaa *PublicContentV2Service) UpdateFlightId(flightId string)

type PublicCreatorService

type PublicCreatorService struct {
	Client           *ugcclient.JusticeUgcService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*PublicCreatorService) GetAuthSession

func (aaa *PublicCreatorService) GetAuthSession() auth.Session

func (*PublicCreatorService) PublicGetCreatorShort

func (*PublicCreatorService) UpdateFlightId

func (aaa *PublicCreatorService) UpdateFlightId(flightId string)

type PublicDownloadCountLegacyService

type PublicDownloadCountLegacyService struct {
	Client           *ugcclient.JusticeUgcService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*PublicDownloadCountLegacyService) GetAuthSession

func (aaa *PublicDownloadCountLegacyService) GetAuthSession() auth.Session

func (*PublicDownloadCountLegacyService) UpdateFlightId

func (aaa *PublicDownloadCountLegacyService) UpdateFlightId(flightId string)

type PublicDownloadCountV2Service

type PublicDownloadCountV2Service struct {
	Client           *ugcclient.JusticeUgcService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*PublicDownloadCountV2Service) GetAuthSession

func (aaa *PublicDownloadCountV2Service) GetAuthSession() auth.Session

func (*PublicDownloadCountV2Service) UpdateFlightId

func (aaa *PublicDownloadCountV2Service) UpdateFlightId(flightId string)

type PublicFollowService

type PublicFollowService struct {
	Client           *ugcclient.JusticeUgcService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*PublicFollowService) GetAuthSession

func (aaa *PublicFollowService) GetAuthSession() auth.Session

func (*PublicFollowService) GetFollowedContentShort

func (*PublicFollowService) GetFollowedUsersShort

func (*PublicFollowService) GetPublicFollowersShort

func (*PublicFollowService) GetPublicFollowingShort

func (*PublicFollowService) UpdateFlightId

func (aaa *PublicFollowService) UpdateFlightId(flightId string)

type PublicGroupService

type PublicGroupService struct {
	Client           *ugcclient.JusticeUgcService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*PublicGroupService) CreateGroupShort

func (*PublicGroupService) DeleteGroupShort

func (aaa *PublicGroupService) DeleteGroupShort(input *public_group.DeleteGroupParams) error

func (*PublicGroupService) GetAuthSession

func (aaa *PublicGroupService) GetAuthSession() auth.Session

func (*PublicGroupService) GetGroupContentShort

func (*PublicGroupService) GetGroupShort

func (*PublicGroupService) GetGroupsShort

func (*PublicGroupService) UpdateFlightId

func (aaa *PublicGroupService) UpdateFlightId(flightId string)

func (*PublicGroupService) UpdateGroupShort

type PublicLikeLegacyService

type PublicLikeLegacyService struct {
	Client           *ugcclient.JusticeUgcService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*PublicLikeLegacyService) GetAuthSession

func (aaa *PublicLikeLegacyService) GetAuthSession() auth.Session

func (*PublicLikeLegacyService) UpdateFlightId

func (aaa *PublicLikeLegacyService) UpdateFlightId(flightId string)

type PublicLikeV2Service

type PublicLikeV2Service struct {
	Client           *ugcclient.JusticeUgcService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*PublicLikeV2Service) GetAuthSession

func (aaa *PublicLikeV2Service) GetAuthSession() auth.Session

func (*PublicLikeV2Service) UpdateFlightId

func (aaa *PublicLikeV2Service) UpdateFlightId(flightId string)

type PublicStagingContentService

type PublicStagingContentService struct {
	Client           *ugcclient.JusticeUgcService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*PublicStagingContentService) DeleteUserStagingContentByIDShort

func (aaa *PublicStagingContentService) DeleteUserStagingContentByIDShort(input *public_staging_content.DeleteUserStagingContentByIDParams) error

func (*PublicStagingContentService) GetAuthSession

func (aaa *PublicStagingContentService) GetAuthSession() auth.Session

func (*PublicStagingContentService) UpdateFlightId

func (aaa *PublicStagingContentService) UpdateFlightId(flightId string)

type PublicTagService

type PublicTagService struct {
	Client           *ugcclient.JusticeUgcService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*PublicTagService) GetAuthSession

func (aaa *PublicTagService) GetAuthSession() auth.Session

func (*PublicTagService) GetTagShort

func (*PublicTagService) UpdateFlightId

func (aaa *PublicTagService) UpdateFlightId(flightId string)

type PublicTypeService

type PublicTypeService struct {
	Client           *ugcclient.JusticeUgcService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*PublicTypeService) GetAuthSession

func (aaa *PublicTypeService) GetAuthSession() auth.Session

func (*PublicTypeService) GetTypeShort

func (*PublicTypeService) UpdateFlightId

func (aaa *PublicTypeService) UpdateFlightId(flightId string)

Jump to

Keyboard shortcuts

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