public final class AddonVersionsQuery extends Object implements QueryProperties.AccessToken, QueryProperties.ApplicationCriteria, QueryProperties.Bounds, QueryProperties.Cost, QueryProperties.Hosting
Addons.getVersion(java.lang.String, com.atlassian.marketplace.client.api.AddonVersionSpecifier, com.atlassian.marketplace.client.api.AddonVersionsQuery).| Modifier and Type | Class and Description |
|---|---|
static class |
AddonVersionsQuery.Builder
Builder class for
AddonVersionsQuery. |
| Modifier and Type | Method and Description |
|---|---|
static AddonVersionsQuery |
any()
Returns an AddonVersionsQuery with no criteria, which will match any available versions.
|
static AddonVersionsQuery.Builder |
builder()
Returns a new
AddonVersionsQuery.Builder for constructing an AddonVersionsQuery. |
static AddonVersionsQuery.Builder |
builder(AddonVersionsQuery query)
Returns a new
AddonVersionsQuery.Builder for constructing an AddonVersionsQuery based on an existing AddonVersionsQuery. |
boolean |
equals(Object other) |
static AddonVersionsQuery.Builder |
fromAddonQuery(AddonQuery aq) |
com.atlassian.fugue.Option<String> |
getAccessToken()
The access token, if any, that the client is providing for the query (in order to allow
access to a private listing).
|
com.atlassian.fugue.Option<String> |
getAfterVersionName()
The version string, if any, that the client has specified in order to search for
later versions.
|
com.atlassian.fugue.Option<Integer> |
getAppBuildNumber()
The application build number, if any, that the client is using to restrict the query results.
|
com.atlassian.fugue.Option<ApplicationKey> |
getApplication()
The key of the application, if any, that the client is using to restrict the query results.
|
QueryBounds |
getBounds()
The offset/limit parameters attached to this query.
|
com.atlassian.fugue.Option<Cost> |
getCost()
The
Cost filter, if any, that the client is using to restrict the query results. |
com.atlassian.fugue.Option<HostingType> |
getHosting()
The hosting type that the client is using to restrict the query, if any.
|
int |
hashCode() |
String |
toString() |
public static AddonVersionsQuery.Builder builder()
AddonVersionsQuery.Builder for constructing an AddonVersionsQuery.public static AddonVersionsQuery any()
public static AddonVersionsQuery.Builder fromAddonQuery(AddonQuery aq)
public static AddonVersionsQuery.Builder builder(AddonVersionsQuery query)
AddonVersionsQuery.Builder for constructing an AddonVersionsQuery based on an existing AddonVersionsQuery.public com.atlassian.fugue.Option<String> getAccessToken()
QueryProperties.AccessTokengetAccessToken in interface QueryProperties.AccessTokenQueryBuilderProperties.AccessToken.accessToken(Option)public com.atlassian.fugue.Option<ApplicationKey> getApplication()
QueryProperties.ApplicationCriteriagetApplication in interface QueryProperties.ApplicationCriteriaQueryBuilderProperties.ApplicationCriteria.application(Option)public com.atlassian.fugue.Option<Integer> getAppBuildNumber()
QueryProperties.ApplicationCriteriagetAppBuildNumber in interface QueryProperties.ApplicationCriteriaQueryBuilderProperties.ApplicationCriteria.appBuildNumber(Option)public com.atlassian.fugue.Option<Cost> getCost()
QueryProperties.CostCost filter, if any, that the client is using to restrict the query results.getCost in interface QueryProperties.CostQueryBuilderProperties.Cost.cost(Option)public com.atlassian.fugue.Option<HostingType> getHosting()
QueryProperties.HostinggetHosting in interface QueryProperties.HostingQueryBuilderProperties.Hosting.hosting(Option)public QueryBounds getBounds()
QueryProperties.BoundsgetBounds in interface QueryProperties.BoundsQueryBuilderProperties.Bounds.bounds(QueryBounds)public com.atlassian.fugue.Option<String> getAfterVersionName()
Copyright © 2016 Atlassian. All rights reserved.