public class Snippet extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Snippet.Builder
Class to build instances of
Snippet. |
| Constructor and Description |
|---|
Snippet(String content,
String id,
String siteId,
String createdAt,
String updatedAt)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getContent()
Getter for Content.
|
String |
getCreatedAt()
Getter for CreatedAt.
|
String |
getId()
Getter for Id.
|
String |
getSiteId()
Getter for SiteId.
|
String |
getUpdatedAt()
Getter for UpdatedAt.
|
int |
hashCode() |
Snippet.Builder |
toBuilder()
Builds a new
Snippet.Builder object. |
String |
toString()
Converts this Snippet into string format.
|
public Snippet(String content, String id, String siteId, String createdAt, String updatedAt)
content - String value for content.id - String value for id.siteId - String value for siteId.createdAt - String value for createdAt.updatedAt - String value for updatedAt.public String getId()
public String getSiteId()
public String getContent()
public String getCreatedAt()
public String getUpdatedAt()
public String toString()
public Snippet.Builder toBuilder()
Snippet.Builder object.
Creates the instance with the state of the current model.Snippet.Builder objectCopyright © 2022. All rights reserved.