public class ContentInfo extends AbstractModel
Constructor and Description |
---|
ContentInfo() |
ContentInfo(ContentInfo source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
CsvInfo |
getCsv()
Get CSV format content description
Note: this field may return `null`, indicating that no valid values can be obtained.
|
String |
getFormat()
Get Content format.
|
JsonInfo |
getJson()
Get JSON format content description
Note: this field may return `null`, indicating that no valid values can be obtained.
|
ParquetInfo |
getParquet()
Get `Parquet` format description
Note: This field may return `null`, indicating that no valid value can be obtained.
|
void |
setCsv(CsvInfo Csv)
Set CSV format content description
Note: this field may return `null`, indicating that no valid values can be obtained.
|
void |
setFormat(String Format)
Set Content format.
|
void |
setJson(JsonInfo Json)
Set JSON format content description
Note: this field may return `null`, indicating that no valid values can be obtained.
|
void |
setParquet(ParquetInfo Parquet)
Set `Parquet` format description
Note: This field may return `null`, indicating that no valid value can be obtained.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public ContentInfo()
public ContentInfo(ContentInfo source)
public String getFormat()
public void setFormat(String Format)
Format
- Content format. Valid values: `json`, `csv`public CsvInfo getCsv()
public void setCsv(CsvInfo Csv)
Csv
- CSV format content description
Note: this field may return `null`, indicating that no valid values can be obtained.public JsonInfo getJson()
public void setJson(JsonInfo Json)
Json
- JSON format content description
Note: this field may return `null`, indicating that no valid values can be obtained.public ParquetInfo getParquet()
public void setParquet(ParquetInfo Parquet)
Parquet
- `Parquet` format description
Note: This field may return `null`, indicating that no valid value can be obtained.Copyright © 2023. All rights reserved.