Package com.appliedolap.essbase
Record Class EssApiSpec
java.lang.Object
java.lang.Record
com.appliedolap.essbase.EssApiSpec
- Record Components:
format-openapiorswagger, reflecting which specification the document follows; Essbase moved from Swagger 2.0 to OpenAPI 3.0 between 21.7 and 26.1version- the specification version the document declares, e.g.3.0.1json- the document exactly as the server served it, unparsed - the point of fetching it is usually to keep or feed it to something else, and reserialising would gratuitously reformat it
The server's own machine-readable description of its REST API - what its Swagger UI renders.
-
Constructor Summary
ConstructorsConstructorDescriptionEssApiSpec(String format, String version, String json) Creates an instance of aEssApiSpecrecord class. -
Method Summary
Modifier and TypeMethodDescriptiondescribe()e.g.final booleanIndicates whether some other object is "equal to" this one.format()Returns the value of theformatrecord component.final inthashCode()Returns a hash code value for this object.json()Returns the value of thejsonrecord component.final StringtoString()Returns a string representation of this record class.version()Returns the value of theversionrecord component.
-
Constructor Details
-
Method Details
-
describe
e.g.OpenAPI 3.0.1, for telling someone what they just got. -
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
format
Returns the value of theformatrecord component.- Returns:
- the value of the
formatrecord component
-
version
Returns the value of theversionrecord component.- Returns:
- the value of the
versionrecord component
-
json
Returns the value of thejsonrecord component.- Returns:
- the value of the
jsonrecord component
-