|
|
@ -36,31 +36,16 @@ public class APIInfo {
|
|
|
|
private String context;
|
|
|
|
private String context;
|
|
|
|
private String version;
|
|
|
|
private String version;
|
|
|
|
private String provider;
|
|
|
|
private String provider;
|
|
|
|
private JSONObject apiDefinition;
|
|
|
|
|
|
|
|
private String wsdlUri;
|
|
|
|
|
|
|
|
private String lifeCycleStatus;
|
|
|
|
private String lifeCycleStatus;
|
|
|
|
private boolean isDefaultVersion;
|
|
|
|
private String thumbnailUri;
|
|
|
|
private String type;
|
|
|
|
|
|
|
|
private Set<String> transport;
|
|
|
|
|
|
|
|
private List<JSONObject> operations;
|
|
|
|
|
|
|
|
private String authorizationHeader;
|
|
|
|
|
|
|
|
private String securityScheme;
|
|
|
|
|
|
|
|
private Set<String> tags;
|
|
|
|
|
|
|
|
private List<JSONObject> tiers;
|
|
|
|
|
|
|
|
private boolean hasThumbnail;
|
|
|
|
|
|
|
|
private String additionalProperties;
|
|
|
|
|
|
|
|
private JSONObject monetization;
|
|
|
|
|
|
|
|
private List<JSONObject> endpointURLs;
|
|
|
|
|
|
|
|
private JSONObject businessInformation;
|
|
|
|
|
|
|
|
private List<JSONObject> environmentList;
|
|
|
|
|
|
|
|
private List<ScopeUtils> scopes;
|
|
|
|
|
|
|
|
private String avgRating;
|
|
|
|
private String avgRating;
|
|
|
|
|
|
|
|
private List<String> throttlingPolicies;
|
|
|
|
private JSONObject advertiseInfo;
|
|
|
|
private JSONObject advertiseInfo;
|
|
|
|
|
|
|
|
private JSONObject businessInformation;
|
|
|
|
private boolean isSubscriptionAvailable;
|
|
|
|
private boolean isSubscriptionAvailable;
|
|
|
|
private List<JSONObject> categories;
|
|
|
|
private String monetizationLabel;
|
|
|
|
private List<String> keyManagers = new ArrayList();
|
|
|
|
private String gatewayVendor;
|
|
|
|
private String createdTime;
|
|
|
|
private List<String> additionalProperties;
|
|
|
|
private String lastUpdatedTime;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public String getId() {
|
|
|
|
public String getId() {
|
|
|
|
return id;
|
|
|
|
return id;
|
|
|
@ -110,22 +95,6 @@ public class APIInfo {
|
|
|
|
this.provider = provider;
|
|
|
|
this.provider = provider;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public JSONObject getApiDefinition() {
|
|
|
|
|
|
|
|
return apiDefinition;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void setApiDefinition(JSONObject apiDefinition) {
|
|
|
|
|
|
|
|
this.apiDefinition = apiDefinition;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public String getWsdlUri() {
|
|
|
|
|
|
|
|
return wsdlUri;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void setWsdlUri(String wsdlUri) {
|
|
|
|
|
|
|
|
this.wsdlUri = wsdlUri;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public String getLifeCycleStatus() {
|
|
|
|
public String getLifeCycleStatus() {
|
|
|
|
return lifeCycleStatus;
|
|
|
|
return lifeCycleStatus;
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -134,100 +103,36 @@ public class APIInfo {
|
|
|
|
this.lifeCycleStatus = lifeCycleStatus;
|
|
|
|
this.lifeCycleStatus = lifeCycleStatus;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public boolean isDefaultVersion() {
|
|
|
|
public String getThumbnailUri() {
|
|
|
|
return isDefaultVersion;
|
|
|
|
return thumbnailUri;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void setDefaultVersion(boolean defaultVersion) {
|
|
|
|
|
|
|
|
isDefaultVersion = defaultVersion;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public String getType() {
|
|
|
|
|
|
|
|
return type;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void setType(String type) {
|
|
|
|
|
|
|
|
this.type = type;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Set<String> getTransport() {
|
|
|
|
|
|
|
|
return transport;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void setTransport(Set<String> transport) {
|
|
|
|
|
|
|
|
this.transport = transport;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public List<JSONObject> getOperations() {
|
|
|
|
|
|
|
|
return operations;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void setOperations(List<JSONObject> operations) {
|
|
|
|
|
|
|
|
this.operations = operations;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public String getAuthorizationHeader() {
|
|
|
|
|
|
|
|
return authorizationHeader;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void setAuthorizationHeader(String authorizationHeader) {
|
|
|
|
|
|
|
|
this.authorizationHeader = authorizationHeader;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public String getSecurityScheme() {
|
|
|
|
|
|
|
|
return securityScheme;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void setSecurityScheme(String securityScheme) {
|
|
|
|
|
|
|
|
this.securityScheme = securityScheme;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Set<String> getTags() {
|
|
|
|
|
|
|
|
return tags;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void setTags(Set<String> tags) {
|
|
|
|
|
|
|
|
this.tags = tags;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public List<JSONObject> getTiers() {
|
|
|
|
|
|
|
|
return tiers;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void setTiers(List<JSONObject> tiers) {
|
|
|
|
|
|
|
|
this.tiers = tiers;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public boolean isHasThumbnail() {
|
|
|
|
|
|
|
|
return hasThumbnail;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public void setHasThumbnail(boolean hasThumbnail) {
|
|
|
|
public void setThumbnailUri(String thumbnailUri) {
|
|
|
|
this.hasThumbnail = hasThumbnail;
|
|
|
|
this.thumbnailUri = thumbnailUri;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public String getAdditionalProperties() {
|
|
|
|
public String getAvgRating() {
|
|
|
|
return additionalProperties;
|
|
|
|
return avgRating;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public void setAdditionalProperties(String additionalProperties) {
|
|
|
|
public void setAvgRating(String avgRating) {
|
|
|
|
this.additionalProperties = additionalProperties;
|
|
|
|
this.avgRating = avgRating;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public JSONObject getMonetization() {
|
|
|
|
public List<String> getThrottlingPolicies() {
|
|
|
|
return monetization;
|
|
|
|
return throttlingPolicies;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public void setMonetization(JSONObject monetization) {
|
|
|
|
public void setThrottlingPolicies(List<String> throttlingPolicies) {
|
|
|
|
this.monetization = monetization;
|
|
|
|
this.throttlingPolicies = throttlingPolicies;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public List<JSONObject> getEndpointURLs() {
|
|
|
|
public JSONObject getAdvertiseInfo() {
|
|
|
|
return endpointURLs;
|
|
|
|
return advertiseInfo;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public void setEndpointURLs(List<JSONObject> endpointURLs) {
|
|
|
|
public void setAdvertiseInfo(JSONObject advertiseInfo) {
|
|
|
|
this.endpointURLs = endpointURLs;
|
|
|
|
this.advertiseInfo = advertiseInfo;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public JSONObject getBusinessInformation() {
|
|
|
|
public JSONObject getBusinessInformation() {
|
|
|
@ -238,38 +143,6 @@ public class APIInfo {
|
|
|
|
this.businessInformation = businessInformation;
|
|
|
|
this.businessInformation = businessInformation;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public List<JSONObject> getEnvironmentList() {
|
|
|
|
|
|
|
|
return environmentList;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void setEnvironmentList(List<JSONObject> environmentList) {
|
|
|
|
|
|
|
|
this.environmentList = environmentList;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public List<ScopeUtils> getScopes() {
|
|
|
|
|
|
|
|
return scopes;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void setScopes(List<ScopeUtils> scopes) {
|
|
|
|
|
|
|
|
this.scopes = scopes;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public String getAvgRating() {
|
|
|
|
|
|
|
|
return avgRating;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void setAvgRating(String avgRating) {
|
|
|
|
|
|
|
|
this.avgRating = avgRating;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public JSONObject getAdvertiseInfo() {
|
|
|
|
|
|
|
|
return advertiseInfo;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void setAdvertiseInfo(JSONObject advertiseInfo) {
|
|
|
|
|
|
|
|
this.advertiseInfo = advertiseInfo;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public boolean isSubscriptionAvailable() {
|
|
|
|
public boolean isSubscriptionAvailable() {
|
|
|
|
return isSubscriptionAvailable;
|
|
|
|
return isSubscriptionAvailable;
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -278,35 +151,27 @@ public class APIInfo {
|
|
|
|
isSubscriptionAvailable = subscriptionAvailable;
|
|
|
|
isSubscriptionAvailable = subscriptionAvailable;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public List<JSONObject> getCategories() {
|
|
|
|
public String getMonetizationLabel() {
|
|
|
|
return categories;
|
|
|
|
return monetizationLabel;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void setCategories(List<JSONObject> categories) {
|
|
|
|
|
|
|
|
this.categories = categories;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public List<String> getKeyManagers() {
|
|
|
|
|
|
|
|
return keyManagers;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public void setKeyManagers(List<String> keyManagers) {
|
|
|
|
public void setMonetizationLabel(String monetizationLabel) {
|
|
|
|
this.keyManagers = keyManagers;
|
|
|
|
this.monetizationLabel = monetizationLabel;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public String getCreatedTime() {
|
|
|
|
public String getGatewayVendor() {
|
|
|
|
return createdTime;
|
|
|
|
return gatewayVendor;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public void setCreatedTime(String createdTime) {
|
|
|
|
public void setGatewayVendor(String gatewayVendor) {
|
|
|
|
this.createdTime = createdTime;
|
|
|
|
this.gatewayVendor = gatewayVendor;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public String getLastUpdatedTime() {
|
|
|
|
public List<String> getAdditionalProperties() {
|
|
|
|
return lastUpdatedTime;
|
|
|
|
return additionalProperties;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public void setLastUpdatedTime(String lastUpdatedTime) {
|
|
|
|
public void setAdditionalProperties(List<String> additionalProperties) {
|
|
|
|
this.lastUpdatedTime = lastUpdatedTime;
|
|
|
|
this.additionalProperties = additionalProperties;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|