public class FileInfoDTO extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
SERIALIZED_NAME_MEDIA_TYPE |
static String |
SERIALIZED_NAME_RELATIVE_PATH |
| Constructor and Description |
|---|
FileInfoDTO() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getMediaType()
media-type of the file
|
String |
getRelativePath()
relative location of the file (excluding the base context and host of the Admin API)
|
int |
hashCode() |
FileInfoDTO |
mediaType(String mediaType) |
FileInfoDTO |
relativePath(String relativePath) |
void |
setMediaType(String mediaType) |
void |
setRelativePath(String relativePath) |
String |
toString() |
public static final String SERIALIZED_NAME_RELATIVE_PATH
public static final String SERIALIZED_NAME_MEDIA_TYPE
public FileInfoDTO relativePath(String relativePath)
@Nullable public String getRelativePath()
public void setRelativePath(String relativePath)
public FileInfoDTO mediaType(String mediaType)
public void setMediaType(String mediaType)
Copyright © 2021 WSO2 Inc. All rights reserved.