Package org.forgerock.api.models
Class ApiDescription
java.lang.Object
org.forgerock.api.models.ApiDescription
Class that represents the ApiDescription type in API descriptor.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Builder for the ApiDescription. -
Method Summary
Modifier and TypeMethodDescriptionstatic ApiDescription.Builder
Create a new Builder for ApiDescription.boolean
Getter of definitions.Gets description of API Descriptor.Getter of errors.getId()
Getter of id.getPaths()
Getter of paths.Getter of services.Getter of version.int
hashCode()
-
Method Details
-
getId
Getter of id.- Returns:
- id
-
getVersion
Getter of version.- Returns:
- The version.
-
getDescription
Gets description of API Descriptor.- Returns:
- Description of API Descriptor
-
getDefinitions
Getter of definitions.- Returns:
- Definitions map
-
getServices
Getter of services.- Returns:
- Services map
-
getErrors
Getter of errors.- Returns:
- Errors map
-
getPaths
Getter of paths.- Returns:
- Paths
-
apiDescription
Create a new Builder for ApiDescription.- Returns:
- Builder
-
equals
-
hashCode
public int hashCode()
-