Record Class StoryListResponse
java.lang.Object
java.lang.Record
com.mohamnag.jstatic.plugins.storyblok_loader.model.StoryListResponse
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncv()
Returns the value of thecv
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.links()
Returns the value of thelinks
record component.rels()
Returns the value of therels
record component.stories()
Returns the value of thestories
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
StoryListResponse
Creates an instance of aStoryListResponse
record class.- Parameters:
stories
- the value for thestories
record componentcv
- the value for thecv
record componentrels
- the value for therels
record componentlinks
- the value for thelinks
record component
-
-
Method Details
-
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)
. -
stories
Returns the value of thestories
record component.- Returns:
- the value of the
stories
record component
-
cv
Returns the value of thecv
record component.- Returns:
- the value of the
cv
record component
-
rels
Returns the value of therels
record component.- Returns:
- the value of the
rels
record component
-
links
Returns the value of thelinks
record component.- Returns:
- the value of the
links
record component
-