Record Class StoryLink
java.lang.Object
java.lang.Record
com.mohamnag.jstatic.plugins.storyblok_loader.model.StoryLink
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.Returns the value of thefull_slug
record component.final int
hashCode()
Returns a hash code value for this object.id()
Returns the value of theid
record component.name()
Returns the value of thename
record component.slug()
Returns the value of theslug
record component.final String
toString()
Returns a string representation of this record class.url()
Returns the value of theurl
record component.uuid()
Returns the value of theuuid
record component.
-
Constructor Details
-
StoryLink
Creates an instance of aStoryLink
record class.- Parameters:
name
- the value for thename
record componentid
- the value for theid
record componentuuid
- the value for theuuid
record componentslug
- the value for theslug
record componenturl
- the value for theurl
record componentfull_slug
- the value for thefull_slug
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)
. -
name
Returns the value of thename
record component.- Returns:
- the value of the
name
record component
-
id
Returns the value of theid
record component.- Returns:
- the value of the
id
record component
-
uuid
Returns the value of theuuid
record component.- Returns:
- the value of the
uuid
record component
-
slug
Returns the value of theslug
record component.- Returns:
- the value of the
slug
record component
-
url
Returns the value of theurl
record component.- Returns:
- the value of the
url
record component
-
full_slug
Returns the value of thefull_slug
record component.- Returns:
- the value of the
full_slug
record component
-