public class SourcebinPasteImpl extends PasteImpl implements SourcebinPaste
Constructor and Description |
---|
SourcebinPasteImpl(String id,
String body,
String url,
OffsetDateTime createdAt,
String ownerId) |
Modifier and Type | Method and Description |
---|---|
OffsetDateTime |
getCreatedAt()
Returns the time when the paste was created
|
String |
getOwnerId()
Returns the creator's discord user id.
|
public SourcebinPasteImpl(String id, String body, String url, OffsetDateTime createdAt, String ownerId)
public OffsetDateTime getCreatedAt()
SourcebinPaste
getCreatedAt
in interface SourcebinPaste
public String getOwnerId()
SourcebinPaste
getOwnerId
in interface SourcebinPaste
Copyright © 2019. All rights reserved.