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
ConstructorsConstructorDescriptionStory(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 aStoryrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thealternatesrecord component.content()Returns the value of thecontentrecord component.Returns the value of thecreated_atrecord component.Returns the value of thedefault_full_slugrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefirst_published_atrecord component.Returns the value of thefull_slugrecord component.group_id()Returns the value of thegroup_idrecord component.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.Returns the value of theis_startpagerecord component.lang()Returns the value of thelangrecord component.Returns the value of themeta_datarecord component.name()Returns the value of thenamerecord component.Returns the value of theparent_idrecord component.path()Returns the value of thepathrecord component.position()Returns the value of thepositionrecord component.Returns the value of thepublished_atrecord component.Returns the value of therelease_idrecord component.slug()Returns the value of theslugrecord component.Returns the value of thesort_by_daterecord component.tag_list()Returns the value of thetag_listrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thetranslated_slugsrecord component.uuid()Returns the value of theuuidrecord 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 aStoryrecord class.- Parameters:
name- the value for thenamerecord componentcreated_at- the value for thecreated_atrecord componentpublished_at- the value for thepublished_atrecord componentid- the value for theidrecord componentuuid- the value for theuuidrecord componentcontent- the value for thecontentrecord componentslug- the value for theslugrecord componentfull_slug- the value for thefull_slugrecord componentsort_by_date- the value for thesort_by_daterecord componentposition- the value for thepositionrecord componenttag_list- the value for thetag_listrecord componentis_startpage- the value for theis_startpagerecord componentparent_id- the value for theparent_idrecord componentmeta_data- the value for themeta_datarecord componentgroup_id- the value for thegroup_idrecord componentfirst_published_at- the value for thefirst_published_atrecord componentrelease_id- the value for therelease_idrecord componentlang- the value for thelangrecord componentpath- the value for thepathrecord componentalternates- the value for thealternatesrecord componentdefault_full_slug- the value for thedefault_full_slugrecord componenttranslated_slugs- the value for thetranslated_slugsrecord 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 thenamerecord component.- Returns:
- the value of the
namerecord component
-
created_at
Returns the value of thecreated_atrecord component.- Returns:
- the value of the
created_atrecord component
-
published_at
Returns the value of thepublished_atrecord component.- Returns:
- the value of the
published_atrecord component
-
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
uuid
Returns the value of theuuidrecord component.- Returns:
- the value of the
uuidrecord component
-
content
Returns the value of thecontentrecord component.- Returns:
- the value of the
contentrecord component
-
slug
Returns the value of theslugrecord component.- Returns:
- the value of the
slugrecord component
-
full_slug
Returns the value of thefull_slugrecord component.- Returns:
- the value of the
full_slugrecord component
-
sort_by_date
Returns the value of thesort_by_daterecord component.- Returns:
- the value of the
sort_by_daterecord component
-
position
Returns the value of thepositionrecord component.- Returns:
- the value of the
positionrecord component
-
tag_list
Returns the value of thetag_listrecord component.- Returns:
- the value of the
tag_listrecord component
-
is_startpage
Returns the value of theis_startpagerecord component.- Returns:
- the value of the
is_startpagerecord component
-
parent_id
Returns the value of theparent_idrecord component.- Returns:
- the value of the
parent_idrecord component
-
meta_data
Returns the value of themeta_datarecord component.- Returns:
- the value of the
meta_datarecord component
-
group_id
Returns the value of thegroup_idrecord component.- Returns:
- the value of the
group_idrecord component
-
first_published_at
Returns the value of thefirst_published_atrecord component.- Returns:
- the value of the
first_published_atrecord component
-
release_id
Returns the value of therelease_idrecord component.- Returns:
- the value of the
release_idrecord component
-
lang
Returns the value of thelangrecord component.- Returns:
- the value of the
langrecord component
-
path
Returns the value of thepathrecord component.- Returns:
- the value of the
pathrecord component
-
alternates
Returns the value of thealternatesrecord component.- Returns:
- the value of the
alternatesrecord component
-
default_full_slug
Returns the value of thedefault_full_slugrecord component.- Returns:
- the value of the
default_full_slugrecord component
-
translated_slugs
Returns the value of thetranslated_slugsrecord component.- Returns:
- the value of the
translated_slugsrecord component
-