Documentation
¶
Index ¶
- type Content
- type CreateDraftText
- type CreatePublishSettingsText
- type CreateVersionDraftResponse
- type DeleteVersionDraftResponse
- type GetVersion
- type GetVersionBody
- type PublishResponse
- type UploadFile
- type Version
- func (c *Version) ChangePublishSettings(ctx context.Context, versionID int, ...) (PublishResponse, error)
- func (c *Version) CreateVersionDraft(ctx context.Context, draftText CreateDraftText) (CreateVersionDraftResponse, error)
- func (c *Version) DeleteVersionDraft(ctx context.Context, versionID int) (DeleteVersionDraftResponse, error)
- func (c *Version) GetVersion(ctx context.Context, params url.Values) (GetVersion, error)
- func (c *Version) ManualPublish(ctx context.Context, versionID int) (PublishResponse, error)
- func (c *Version) SendToModeration(ctx context.Context, versionID int, params url.Values) (PublishResponse, error)
- func (c *Version) UploadAABFile(ctx context.Context, versionID int, fileName string) (UploadFile, error)
- func (c *Version) UploadAPKFile(ctx context.Context, versionID int, fileName string, isMainAPK bool, ...) (UploadFile, error)
- func (c *Version) UploadIcon(ctx context.Context, versionID int, fileName string) (UploadFile, error)
- func (c *Version) UploadScreenshot(ctx context.Context, versionID int, fileName string, orientation string, ...) (UploadFile, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Content ¶
type Content struct {
VersionID int `json:"versionId"`
AppName string `json:"appName"`
AppType string `json:"appType"`
VersionName *string `json:"versionName"`
VersionCode int `json:"versionCode"`
VersionStatus string `json:"versionStatus"`
PublishType string `json:"publishType"`
PublishDateTime *time.Time `json:"publishDateTime"`
SendDateForModer *time.Time `json:"sendDateForModer"`
PartialValue int `json:"partialValue"`
WhatsNew *string `json:"whatsNew"`
PriceValue int `json:"priceValue"`
Paid bool `json:"paid"`
}
nolint: tagliatelle
type CreateDraftText ¶
type CreateDraftText struct {
AppName string `json:"appName,omitempty"`
AppType string `json:"appType,omitempty"`
Categories string `json:"categories,omitempty"`
AgeLegal string `json:"ageLegal,omitempty"`
ShortDescription string `json:"shortDescription,omitempty"`
FullDescription string `json:"fullDescription,omitempty"`
WhatsNew string `json:"whatsNew,omitempty"`
ModerInfo string `json:"moderInfo,omitempty"`
PriceValue string `json:"priceValue,omitempty"`
PublishType string `json:"publishType,omitempty"`
PublishDateTime string `json:"publishDateTime,omitempty"`
PartialValue string `json:"partialValue,omitempty"`
}
nolint: tagliatelle
type CreatePublishSettingsText ¶
type CreatePublishSettingsText struct {
PublishType string `json:"publishType,omitempty"`
PublishDateTime string `json:"publishDateTime,omitempty"`
PartialValue string `json:"partialValue,omitempty"`
}
nolint: tagliatelle
type CreateVersionDraftResponse ¶
type CreateVersionDraftResponse struct {
Code string `json:"code"`
Message *string `json:"message"`
Body int `json:"body"`
Timestamp time.Time `json:"timestamp"`
}
nolint: tagliatelle
type DeleteVersionDraftResponse ¶
type GetVersion ¶
type GetVersion struct {
Code string `json:"code"`
Message *string `json:"message"`
Body GetVersionBody `json:"body"`
Timestamp time.Time `json:"timestamp"`
}
nolint: tagliatelle
type GetVersionBody ¶
type GetVersionBody struct {
Content []Content `json:"content"`
PageNumber int `json:"pageNumber"`
PageSize int `json:"pageSize"`
TotalElements int `json:"totalElements"`
TotalPages int `json:"totalPages"`
}
nolint: tagliatelle
type PublishResponse ¶
type UploadFile ¶
type Version ¶
type Version struct {
// contains filtered or unexported fields
}
func (*Version) ChangePublishSettings ¶
func (c *Version) ChangePublishSettings( ctx context.Context, versionID int, publishSettingsText CreatePublishSettingsText, ) ( PublishResponse, error, )
func (*Version) CreateVersionDraft ¶
func (c *Version) CreateVersionDraft( ctx context.Context, draftText CreateDraftText, ) ( CreateVersionDraftResponse, error, )
func (*Version) DeleteVersionDraft ¶
func (*Version) GetVersion ¶
func (*Version) ManualPublish ¶
func (*Version) SendToModeration ¶
func (*Version) UploadAABFile ¶
func (*Version) UploadAPKFile ¶
func (*Version) UploadIcon ¶
Source Files
¶
- publishing.go
Click to show internal directories.
Click to hide internal directories.