public class GetTemporaryLinkResult extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
link |
protected FileMetadata |
metadata |
Constructor and Description |
---|
GetTemporaryLinkResult(FileMetadata metadata,
String link) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getLink()
The temporary link which can be used to stream content the file.
|
FileMetadata |
getMetadata()
Metadata of the file.
|
int |
hashCode() |
String |
toString() |
String |
toStringMultiline()
Returns a String representation of this object formatted for easier
readability.
|
protected final FileMetadata metadata
protected final String link
public GetTemporaryLinkResult(FileMetadata metadata, String link)
metadata
- Metadata of the file. Must not be null
.link
- The temporary link which can be used to stream content the
file. Must not be null
.IllegalArgumentException
- If any argument does not meet its
preconditions.public FileMetadata getMetadata()
null
.public String getLink()
null
.public String toStringMultiline()
The returned String may contain newlines.