Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ReviewNextConflicts = []string{
"stars",
"territory",
"review-territory",
"sort",
"response-state",
"only-unresponded",
"include-response",
"fields",
"include",
"response-fields",
"territory-fields",
"limit",
}
ReviewNextConflicts names the query flags that a links.next URL already encodes, so the customer review lists reject them with --next.
Functions ¶
func NewReviewCommand ¶
NewReviewCommand returns the review parent command.
Types ¶
type ReviewFilterFlags ¶ added in v1.260822.0
type ReviewFilterFlags struct {
*ReviewSelectionFlags
Stars string
Territory string
ReviewTerritory string
Sort string
ResponseState string
OnlyUnresponded bool
IncludeResponse bool
// contains filtered or unexported fields
}
ReviewFilterFlags holds the customer review filter flags. Apple exposes the same filter, sort, and include surface on GET /v1/apps/{id}/customerReviews and GET /v1/appStoreVersions/{id}/customerReviews, so every command that lists customer reviews binds these flags from here and gets identical names, help text, and validation.
func BindReviewFilterFlags ¶ added in v1.260822.0
func BindReviewFilterFlags(fs *flag.FlagSet) *ReviewFilterFlags
BindReviewFilterFlags registers the shared customer review filter flags on fs.
func (*ReviewFilterFlags) ReviewOptionsWith ¶
func (f *ReviewFilterFlags) ReviewOptionsWith(d *shared.Deps) ([]asc.ReviewOption, error)
ReviewOptionsWith validates the bound flags and returns the matching query options. Invalid input is reported as a usage failure, written to d's stderr, carrying the offending parameter so both review listings fail the same way.
type ReviewSelectionFlags ¶
type ReviewSelectionFlags struct {
Fields string
Include string
ResponseFields string
TerritoryFields string
// contains filtered or unexported fields
}
ReviewSelectionFlags holds the include and fields flags that Apple accepts on the customer review listings and on GET /v1/customerReviews/{id}.
func BindReviewSelectionFlags ¶
func BindReviewSelectionFlags(fs *flag.FlagSet) *ReviewSelectionFlags
BindReviewSelectionFlags registers the include and fields flags on fs.
func (*ReviewSelectionFlags) ReviewOptionsWith ¶
func (f *ReviewSelectionFlags) ReviewOptionsWith(d *shared.Deps) ([]asc.ReviewOption, error)
ReviewOptionsWith validates the include and fields flags. Fields of a relationship also include that relationship, matching --response-fields.
type SubmissionHistoryEntry ¶
type SubmissionHistoryEntry struct {
SubmissionID string `json:"submissionId"`
VersionString string `json:"versionString"`
Platform string `json:"platform"`
State string `json:"state"`
SubmittedDate string `json:"submittedDate"`
Outcome string `json:"outcome"`
Items []SubmissionHistoryItem `json:"items"`
}
SubmissionHistoryEntry is the assembled result for one submission.
Source Files
¶
- not_configured.go
- review.go
- review_attachments.go
- review_details.go
- review_filters.go
- review_items.go
- review_overview.go
- review_submissions.go
- review_submit.go
- reviews.go
- reviews_digest.go
- reviews_get.go
- reviews_ratings.go
- reviews_respond_batch.go
- reviews_responses.go
- reviews_summarizations.go
- submissions_history.go