Class ApiInstanceMetaData
java.lang.Object
com.kingsrook.qqq.api.model.metadata.ApiInstanceMetaData
- All Implemented Interfaces:
ApiOperation.EnabledOperationsProvider
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGetter for allowsAnonymousAccess: whether callers without credentials are answeredGetter for contactEmailGetter for currentVersionGetter for descriptionThe path clients use for this API (publicPath when set, else the mount path).Getter for futureVersionsGetter for httpPolicy: public-internet HTTP behaviour (null = historical behaviour)booleanGetter for includeErrorTooManyRequestsgetLabel()Getter for labelgetName()Getter for nameGetter for pastVersionsgetPath()Getter for pathGetter for publicPath: path the API is published under (null = its mount path)Getter for securitySchemesgetSemanticVersion(String version) The semantic version of an API version (the version itself when not mapped).Getter for semanticVersions: semantic version per API versionGetter for serversGetter for supportedVersionsvoidsetAllowsAnonymousAccess(boolean allowsAnonymousAccess) Setter for allowsAnonymousAccessvoidsetContactEmail(String contactEmail) Setter for contactEmailvoidsetCurrentVersion(APIVersion currentVersion) Setter for currentVersionvoidsetDescription(String description) Setter for descriptionvoidsetDisabledOperations(Set<ApiOperation> disabledOperations) Setter for disabledOperationsvoidsetEnabledOperations(Set<ApiOperation> enabledOperations) Setter for enabledOperationsvoidsetFutureVersions(List<APIVersion> futureVersions) Setter for futureVersionsvoidsetHttpPolicy(ApiHttpPolicy httpPolicy) Setter for httpPolicyvoidsetIncludeErrorTooManyRequests(boolean includeErrorTooManyRequests) Setter for includeErrorTooManyRequestsvoidSetter for labelvoidSetter for namevoidsetPastVersions(List<APIVersion> pastVersions) Setter for pastVersionsvoidSetter for pathvoidsetPublicPath(String publicPath) Setter for publicPathvoidsetSecuritySchemes(Map<String, SecurityScheme> securitySchemes) Setter for securitySchemesvoidsetSemanticVersions(Map<String, String> semanticVersions) Setter for semanticVersionsvoidsetServers(List<Server> servers) Setter for serversvoidsetSupportedVersions(List<APIVersion> supportedVersions) Setter for supportedVersionsvoidvalidate(String apiName, QInstance qInstance, QInstanceValidator validator) withAllowsAnonymousAccess(boolean allowsAnonymousAccess) Fluent setter for allowsAnonymousAccesswithContactEmail(String contactEmail) Fluent setter for contactEmailwithCurrentVersion(APIVersion currentVersion) Fluent setter for currentVersionwithDescription(String description) Fluent setter for descriptionwithDisabledOperation(ApiOperation operation) Fluent setter for disabledOperationswithDisabledOperations(ApiOperation... operations) Fluent setter for disabledOperationswithDisabledOperations(Set<ApiOperation> disabledOperations) Fluent setter for disabledOperationswithEnabledOperation(ApiOperation operation) Fluent setter for enabledOperationswithEnabledOperations(ApiOperation... operations) Fluent setter for enabledOperationswithEnabledOperations(Set<ApiOperation> enabledOperations) Fluent setter for enabledOperationswithFutureVersions(List<APIVersion> futureVersions) Fluent setter for futureVersionswithHttpPolicy(ApiHttpPolicy httpPolicy) Fluent setter for httpPolicywithIncludeErrorTooManyRequests(boolean includeErrorTooManyRequests) Fluent setter for includeErrorTooManyRequestsFluent setter for labelFluent setter for namewithPastVersions(List<APIVersion> pastVersions) Fluent setter for pastVersionsFluent setter for pathwithPublicPath(String publicPath) Fluent setter for publicPathwithSecurityScheme(String label, SecurityScheme securityScheme) Fluent setter for securitySchemeswithSecuritySchemes(Map<String, SecurityScheme> securitySchemes) Fluent setter for securitySchemeswithSemanticVersions(Map<String, String> semanticVersions) Fluent setter for semanticVersionswithServers(List<Server> servers) Fluent setter for serverswithSupportedVersions(List<APIVersion> supportedVersions) Fluent setter for supportedVersionsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.kingsrook.qqq.api.model.metadata.ApiOperation.EnabledOperationsProvider
getAnswer
-
Constructor Details
-
ApiInstanceMetaData
public ApiInstanceMetaData()
-
-
Method Details
-
validate
-
getCurrentVersion
Getter for currentVersion -
setCurrentVersion
Setter for currentVersion -
withCurrentVersion
Fluent setter for currentVersion -
getPastVersions
Getter for pastVersions -
setPastVersions
Setter for pastVersions -
withPastVersions
Fluent setter for pastVersions -
getFutureVersions
Getter for futureVersions -
setFutureVersions
Setter for futureVersions -
withFutureVersions
Fluent setter for futureVersions -
getSupportedVersions
Getter for supportedVersions -
setSupportedVersions
Setter for supportedVersions -
withSupportedVersions
Fluent setter for supportedVersions -
getName
Getter for name -
setName
Setter for name -
withName
Fluent setter for name -
getDescription
Getter for description -
setDescription
Setter for description -
withDescription
Fluent setter for description -
getContactEmail
Getter for contactEmail -
setContactEmail
Setter for contactEmail -
withContactEmail
Fluent setter for contactEmail -
getIncludeErrorTooManyRequests
public boolean getIncludeErrorTooManyRequests()Getter for includeErrorTooManyRequests -
setIncludeErrorTooManyRequests
public void setIncludeErrorTooManyRequests(boolean includeErrorTooManyRequests) Setter for includeErrorTooManyRequests -
withIncludeErrorTooManyRequests
Fluent setter for includeErrorTooManyRequests -
getServers
-
setServers
-
withServers
Fluent setter for servers -
getLabel
Getter for label -
setLabel
Setter for label -
withLabel
Fluent setter for label -
getPath
Getter for path -
setPath
Setter for path -
withPath
Fluent setter for path -
getEnabledOperations
- Specified by:
getEnabledOperationsin interfaceApiOperation.EnabledOperationsProvider
-
getDisabledOperations
- Specified by:
getDisabledOperationsin interfaceApiOperation.EnabledOperationsProvider
-
setEnabledOperations
Setter for enabledOperations -
withEnabledOperations
Fluent setter for enabledOperations -
withEnabledOperation
Fluent setter for enabledOperations -
withEnabledOperations
Fluent setter for enabledOperations -
setDisabledOperations
Setter for disabledOperations -
withDisabledOperations
Fluent setter for disabledOperations -
withDisabledOperation
Fluent setter for disabledOperations -
withDisabledOperations
Fluent setter for disabledOperations -
getSecuritySchemes
Getter for securitySchemes -
setSecuritySchemes
Setter for securitySchemes -
withSecuritySchemes
Fluent setter for securitySchemes -
withSecurityScheme
Fluent setter for securitySchemes -
getHttpPolicy
Getter for httpPolicy: public-internet HTTP behaviour (null = historical behaviour) -
setHttpPolicy
Setter for httpPolicy -
withHttpPolicy
Fluent setter for httpPolicy -
getAllowsAnonymousAccess
public boolean getAllowsAnonymousAccess()Getter for allowsAnonymousAccess: whether callers without credentials are answered -
setAllowsAnonymousAccess
public void setAllowsAnonymousAccess(boolean allowsAnonymousAccess) Setter for allowsAnonymousAccess -
withAllowsAnonymousAccess
Fluent setter for allowsAnonymousAccess -
getPublicPath
Getter for publicPath: path the API is published under (null = its mount path) -
setPublicPath
Setter for publicPath -
withPublicPath
Fluent setter for publicPath -
getSemanticVersions
-
setSemanticVersions
-
withSemanticVersions
Fluent setter for semanticVersions -
getEffectivePublicPath
The path clients use for this API (publicPath when set, else the mount path). -
getSemanticVersion
-