public class Site extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Site.Builder
Class to build instances of
Site. |
| Constructor and Description |
|---|
Site(String id,
String siteTitle,
String domain,
Boolean isPublished,
String createdAt,
String updatedAt)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getCreatedAt()
Getter for CreatedAt.
|
String |
getDomain()
Getter for Domain.
|
String |
getId()
Getter for Id.
|
Boolean |
getIsPublished()
Getter for IsPublished.
|
String |
getSiteTitle()
Getter for SiteTitle.
|
String |
getUpdatedAt()
Getter for UpdatedAt.
|
int |
hashCode() |
Site.Builder |
toBuilder()
Builds a new
Site.Builder object. |
String |
toString()
Converts this Site into string format.
|
public Site(String id, String siteTitle, String domain, Boolean isPublished, String createdAt, String updatedAt)
id - String value for id.siteTitle - String value for siteTitle.domain - String value for domain.isPublished - Boolean value for isPublished.createdAt - String value for createdAt.updatedAt - String value for updatedAt.public String getId()
public String getSiteTitle()
public String getDomain()
public Boolean getIsPublished()
public String getCreatedAt()
public String getUpdatedAt()
public String toString()
public Site.Builder toBuilder()
Site.Builder object.
Creates the instance with the state of the current model.Site.Builder objectCopyright © 2022. All rights reserved.