@Generated(value="com.linkedin.pegasus.generator.JavaCodeUtil",
comments="Rest.li Data Template. Generated from restli-example-api/src/main/pegasus/com/linkedin/restli/example/AlbumEntry.pdsc.")
public class AlbumEntry
extends com.linkedin.data.template.RecordTemplate
| Modifier and Type | Class and Description |
|---|---|
static class |
AlbumEntry.Fields |
| Constructor and Description |
|---|
AlbumEntry() |
AlbumEntry(com.linkedin.data.DataMap data) |
| Modifier and Type | Method and Description |
|---|---|
AlbumEntry |
clone() |
AlbumEntry |
copy() |
static AlbumEntry.Fields |
fields() |
java.lang.Long |
getAddTime()
Getter for addTime
|
java.lang.Long |
getAddTime(com.linkedin.data.template.GetMode mode)
Getter for addTime
|
java.lang.Long |
getAlbumId()
Getter for albumId
|
java.lang.Long |
getAlbumId(com.linkedin.data.template.GetMode mode)
Getter for albumId
|
java.lang.Long |
getPhotoId()
Getter for photoId
|
java.lang.Long |
getPhotoId(com.linkedin.data.template.GetMode mode)
Getter for photoId
|
boolean |
hasAddTime()
Existence checker for addTime
|
boolean |
hasAlbumId()
Existence checker for albumId
|
boolean |
hasPhotoId()
Existence checker for photoId
|
void |
removeAddTime()
Remover for addTime
|
void |
removeAlbumId()
Remover for albumId
|
void |
removePhotoId()
Remover for photoId
|
AlbumEntry |
setAddTime(long value)
Setter for addTime
|
AlbumEntry |
setAddTime(java.lang.Long value)
Setter for addTime
|
AlbumEntry |
setAddTime(java.lang.Long value,
com.linkedin.data.template.SetMode mode)
Setter for addTime
|
AlbumEntry |
setAlbumId(long value)
Setter for albumId
|
AlbumEntry |
setAlbumId(java.lang.Long value)
Setter for albumId
|
AlbumEntry |
setAlbumId(java.lang.Long value,
com.linkedin.data.template.SetMode mode)
Setter for albumId
|
AlbumEntry |
setPhotoId(long value)
Setter for photoId
|
AlbumEntry |
setPhotoId(java.lang.Long value)
Setter for photoId
|
AlbumEntry |
setPhotoId(java.lang.Long value,
com.linkedin.data.template.SetMode mode)
Setter for photoId
|
public AlbumEntry()
public AlbumEntry(com.linkedin.data.DataMap data)
public static AlbumEntry.Fields fields()
public boolean hasAlbumId()
AlbumEntry.Fields.albumId()public void removeAlbumId()
AlbumEntry.Fields.albumId()public java.lang.Long getAlbumId(com.linkedin.data.template.GetMode mode)
AlbumEntry.Fields.albumId()@Nonnull public java.lang.Long getAlbumId()
AlbumEntry.Fields.albumId()public AlbumEntry setAlbumId(java.lang.Long value, com.linkedin.data.template.SetMode mode)
AlbumEntry.Fields.albumId()public AlbumEntry setAlbumId(@Nonnull java.lang.Long value)
value - Must not be null. For more control, use setters with mode instead.AlbumEntry.Fields.albumId()public AlbumEntry setAlbumId(long value)
AlbumEntry.Fields.albumId()public boolean hasPhotoId()
AlbumEntry.Fields.photoId()public void removePhotoId()
AlbumEntry.Fields.photoId()public java.lang.Long getPhotoId(com.linkedin.data.template.GetMode mode)
AlbumEntry.Fields.photoId()@Nonnull public java.lang.Long getPhotoId()
AlbumEntry.Fields.photoId()public AlbumEntry setPhotoId(java.lang.Long value, com.linkedin.data.template.SetMode mode)
AlbumEntry.Fields.photoId()public AlbumEntry setPhotoId(@Nonnull java.lang.Long value)
value - Must not be null. For more control, use setters with mode instead.AlbumEntry.Fields.photoId()public AlbumEntry setPhotoId(long value)
AlbumEntry.Fields.photoId()public boolean hasAddTime()
AlbumEntry.Fields.addTime()public void removeAddTime()
AlbumEntry.Fields.addTime()public java.lang.Long getAddTime(com.linkedin.data.template.GetMode mode)
AlbumEntry.Fields.addTime()@Nonnull public java.lang.Long getAddTime()
AlbumEntry.Fields.addTime()public AlbumEntry setAddTime(java.lang.Long value, com.linkedin.data.template.SetMode mode)
AlbumEntry.Fields.addTime()public AlbumEntry setAddTime(@Nonnull java.lang.Long value)
value - Must not be null. For more control, use setters with mode instead.AlbumEntry.Fields.addTime()public AlbumEntry setAddTime(long value)
AlbumEntry.Fields.addTime()public AlbumEntry clone() throws java.lang.CloneNotSupportedException
clone in interface com.linkedin.data.template.DataTemplate<com.linkedin.data.DataMap>clone in class com.linkedin.data.template.RecordTemplatejava.lang.CloneNotSupportedExceptionpublic AlbumEntry copy() throws java.lang.CloneNotSupportedException
copy in interface com.linkedin.data.template.DataTemplate<com.linkedin.data.DataMap>copy in class com.linkedin.data.template.RecordTemplatejava.lang.CloneNotSupportedException