Class ApiInstanceMetaData
java.lang.Object
com.kingsrook.qqq.api.model.metadata.ApiInstanceMetaData
- All Implemented Interfaces:
ApiOperation.EnabledOperationsProvider
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGetter for contactEmailGetter for currentVersionGetter for descriptionGetter for futureVersionsboolean
Getter for includeErrorTooManyRequestsgetLabel()
Getter for labelgetName()
Getter for nameGetter for pastVersionsgetPath()
Getter for pathGetter for securitySchemesGetter for serversGetter for supportedVersionsvoid
setContactEmail
(String contactEmail) Setter for contactEmailvoid
setCurrentVersion
(APIVersion currentVersion) Setter for currentVersionvoid
setDescription
(String description) Setter for descriptionvoid
setDisabledOperations
(Set<ApiOperation> disabledOperations) Setter for disabledOperationsvoid
setEnabledOperations
(Set<ApiOperation> enabledOperations) Setter for enabledOperationsvoid
setFutureVersions
(List<APIVersion> futureVersions) Setter for futureVersionsvoid
setIncludeErrorTooManyRequests
(boolean includeErrorTooManyRequests) Setter for includeErrorTooManyRequestsvoid
Setter for labelvoid
Setter for namevoid
setPastVersions
(List<APIVersion> pastVersions) Setter for pastVersionsvoid
Setter for pathvoid
setSecuritySchemes
(Map<String, SecurityScheme> securitySchemes) Setter for securitySchemesvoid
setServers
(List<Server> servers) Setter for serversvoid
setSupportedVersions
(List<APIVersion> supportedVersions) Setter for supportedVersionsvoid
validate
(String apiName, QInstance qInstance, QInstanceValidator validator) withContactEmail
(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 futureVersionswithIncludeErrorTooManyRequests
(boolean includeErrorTooManyRequests) Fluent setter for includeErrorTooManyRequestsFluent setter for labelFluent setter for namewithPastVersions
(List<APIVersion> pastVersions) Fluent setter for pastVersionsFluent setter for pathwithSecurityScheme
(String label, SecurityScheme securityScheme) Fluent setter for securitySchemeswithSecuritySchemes
(Map<String, SecurityScheme> securitySchemes) Fluent setter for securitySchemeswithServers
(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, wait
Methods 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:
getEnabledOperations
in interfaceApiOperation.EnabledOperationsProvider
-
getDisabledOperations
- Specified by:
getDisabledOperations
in 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
-