Record Class Story
java.lang.Object
java.lang.Record
com.mohamnag.jstatic.plugins.storyblok_loader.model.Story
public record Story(String name, Instant created_at, Instant published_at, Long id, UUID uuid, Map<String,Object> content, String slug, String full_slug, Instant sort_by_date, Long position, List<String> tag_list, Boolean is_startpage, Long parent_id, Map<String,Object> meta_data, UUID group_id, Instant first_published_at, String release_id, String lang, String path, List<String> alternates, String default_full_slug, String translated_slugs)
extends Record
-
Constructor Summary
ConstructorDescriptionStory
(String name, Instant created_at, Instant published_at, Long id, UUID uuid, Map<String, Object> content, String slug, String full_slug, Instant sort_by_date, Long position, List<String> tag_list, Boolean is_startpage, Long parent_id, Map<String, Object> meta_data, UUID group_id, Instant first_published_at, String release_id, String lang, String path, List<String> alternates, String default_full_slug, String translated_slugs) Creates an instance of aStory
record class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thealternates
record component.content()
Returns the value of thecontent
record component.Returns the value of thecreated_at
record component.Returns the value of thedefault_full_slug
record component.final boolean
Indicates whether some other object is "equal to" this one.Returns the value of thefirst_published_at
record component.Returns the value of thefull_slug
record component.group_id()
Returns the value of thegroup_id
record component.final int
hashCode()
Returns a hash code value for this object.id()
Returns the value of theid
record component.Returns the value of theis_startpage
record component.lang()
Returns the value of thelang
record component.Returns the value of themeta_data
record component.name()
Returns the value of thename
record component.Returns the value of theparent_id
record component.path()
Returns the value of thepath
record component.position()
Returns the value of theposition
record component.Returns the value of thepublished_at
record component.Returns the value of therelease_id
record component.slug()
Returns the value of theslug
record component.Returns the value of thesort_by_date
record component.tag_list()
Returns the value of thetag_list
record component.final String
toString()
Returns a string representation of this record class.Returns the value of thetranslated_slugs
record component.uuid()
Returns the value of theuuid
record component.
-
Constructor Details
-
Story
public Story(String name, Instant created_at, Instant published_at, Long id, UUID uuid, Map<String, Object> content, String slug, String full_slug, Instant sort_by_date, Long position, List<String> tag_list, Boolean is_startpage, Long parent_id, Map<String, Object> meta_data, UUID group_id, Instant first_published_at, String release_id, String lang, String path, List<String> alternates, String default_full_slug, String translated_slugs) Creates an instance of aStory
record class.- Parameters:
name
- the value for thename
record componentcreated_at
- the value for thecreated_at
record componentpublished_at
- the value for thepublished_at
record componentid
- the value for theid
record componentuuid
- the value for theuuid
record componentcontent
- the value for thecontent
record componentslug
- the value for theslug
record componentfull_slug
- the value for thefull_slug
record componentsort_by_date
- the value for thesort_by_date
record componentposition
- the value for theposition
record componenttag_list
- the value for thetag_list
record componentis_startpage
- the value for theis_startpage
record componentparent_id
- the value for theparent_id
record componentmeta_data
- the value for themeta_data
record componentgroup_id
- the value for thegroup_id
record componentfirst_published_at
- the value for thefirst_published_at
record componentrelease_id
- the value for therelease_id
record componentlang
- the value for thelang
record componentpath
- the value for thepath
record componentalternates
- the value for thealternates
record componentdefault_full_slug
- the value for thedefault_full_slug
record componenttranslated_slugs
- the value for thetranslated_slugs
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
-
created_at
Returns the value of thecreated_at
record component.- Returns:
- the value of the
created_at
record component
-
published_at
Returns the value of thepublished_at
record component.- Returns:
- the value of the
published_at
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
-
content
Returns the value of thecontent
record component.- Returns:
- the value of the
content
record component
-
slug
Returns the value of theslug
record component.- Returns:
- the value of the
slug
record component
-
full_slug
Returns the value of thefull_slug
record component.- Returns:
- the value of the
full_slug
record component
-
sort_by_date
Returns the value of thesort_by_date
record component.- Returns:
- the value of the
sort_by_date
record component
-
position
Returns the value of theposition
record component.- Returns:
- the value of the
position
record component
-
tag_list
Returns the value of thetag_list
record component.- Returns:
- the value of the
tag_list
record component
-
is_startpage
Returns the value of theis_startpage
record component.- Returns:
- the value of the
is_startpage
record component
-
parent_id
Returns the value of theparent_id
record component.- Returns:
- the value of the
parent_id
record component
-
meta_data
Returns the value of themeta_data
record component.- Returns:
- the value of the
meta_data
record component
-
group_id
Returns the value of thegroup_id
record component.- Returns:
- the value of the
group_id
record component
-
first_published_at
Returns the value of thefirst_published_at
record component.- Returns:
- the value of the
first_published_at
record component
-
release_id
Returns the value of therelease_id
record component.- Returns:
- the value of the
release_id
record component
-
lang
Returns the value of thelang
record component.- Returns:
- the value of the
lang
record component
-
path
Returns the value of thepath
record component.- Returns:
- the value of the
path
record component
-
alternates
Returns the value of thealternates
record component.- Returns:
- the value of the
alternates
record component
-
default_full_slug
Returns the value of thedefault_full_slug
record component.- Returns:
- the value of the
default_full_slug
record component
-
translated_slugs
Returns the value of thetranslated_slugs
record component.- Returns:
- the value of the
translated_slugs
record component
-