public class File extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| File() | 
| File(File 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 | 
|---|---|
| Long | getAppId()Get App ID of user account. | 
| Long | getAppID()Get Deprecated. | 
| String | getCreatedAt()Get Create time. | 
| String | getFileId()Get File ID. | 
| FileInfo[] | getFileInfos()Get Files in the folder. | 
| String[] | getHeaderColumns()Get Parameter name. | 
| Boolean | getHeaderInFile()Get Whether the header is in the file. | 
| String[] | getHeadLines()Get First few rows of file. | 
| Long | getKind()Get File type. | 
| Long | getLineCount()Get Number of file lines. | 
| String | getName()Get Filename. | 
| String | getProjectId()Get Project ID. | 
| Scenario[] | getScenarioSet()Get Associated scenario. | 
| Long | getSize()Get File size. | 
| Long | getStatus()Get File status. | 
| String | getSubAccountUin()Get Sub account uin. | 
| String[] | getTailLines()Get Last few rows of file. | 
| String | getType()Get File type. | 
| String | getUin()Get Uin. | 
| String | getUpdatedAt()Get Update time. | 
| void | setAppId(Long AppId)Set App ID of user account. | 
| void | setAppID(Long AppID)Set Deprecated. | 
| void | setCreatedAt(String CreatedAt)Set Create time. | 
| void | setFileId(String FileId)Set File ID. | 
| void | setFileInfos(FileInfo[] FileInfos)Set Files in the folder. | 
| void | setHeaderColumns(String[] HeaderColumns)Set Parameter name. | 
| void | setHeaderInFile(Boolean HeaderInFile)Set Whether the header is in the file. | 
| void | setHeadLines(String[] HeadLines)Set First few rows of file. | 
| void | setKind(Long Kind)Set File type. | 
| void | setLineCount(Long LineCount)Set Number of file lines. | 
| void | setName(String Name)Set Filename. | 
| void | setProjectId(String ProjectId)Set Project ID. | 
| void | setScenarioSet(Scenario[] ScenarioSet)Set Associated scenario. | 
| void | setSize(Long Size)Set File size. | 
| void | setStatus(Long Status)Set File status. | 
| void | setSubAccountUin(String SubAccountUin)Set Sub account uin. | 
| void | setTailLines(String[] TailLines)Set Last few rows of file. | 
| void | setType(String Type)Set File type. | 
| void | setUin(String Uin)Set Uin. | 
| void | setUpdatedAt(String UpdatedAt)Set Update time. | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic File()
public File(File source)
public String getFileId()
public void setFileId(String FileId)
FileId - File ID.public Long getKind()
public void setKind(Long Kind)
Kind - File type. 1 represents parameter file, 2 represents protocol file, 3 represents request file.public String getName()
public void setName(String Name)
Name - Filename.public Long getSize()
public void setSize(Long Size)
Size - File size.public String getType()
public void setType(String Type)
Type - File type. The 'folder' represents a folder; if not specified, it represents a normal file.public String getUpdatedAt()
public void setUpdatedAt(String UpdatedAt)
UpdatedAt - Update time.public Long getLineCount()
public void setLineCount(Long LineCount)
LineCount - Number of file lines.
Note: This field may return null, indicating that no valid value is found.public String[] getHeadLines()
public void setHeadLines(String[] HeadLines)
HeadLines - First few rows of file.
Note: This field may return null, indicating that no valid value is found.public String[] getTailLines()
public void setTailLines(String[] TailLines)
TailLines - Last few rows of file.
Note: This field may return null, indicating that no valid value is found.public Boolean getHeaderInFile()
public void setHeaderInFile(Boolean HeaderInFile)
HeaderInFile - Whether the header is in the file.
Note: This field may return null, indicating that no valid value is found.public String[] getHeaderColumns()
public void setHeaderColumns(String[] HeaderColumns)
HeaderColumns - Parameter name.
Note: This field may return null, indicating that no valid value is found.public FileInfo[] getFileInfos()
public void setFileInfos(FileInfo[] FileInfos)
FileInfos - Files in the folder.
Note: This field may return null, indicating that no valid value is found.public Scenario[] getScenarioSet()
public void setScenarioSet(Scenario[] ScenarioSet)
ScenarioSet - Associated scenario.
Note: This field may return null, indicating that no valid value is found.public Long getStatus()
public void setStatus(Long Status)
Status - File status.
Note: This field may return null, indicating that no valid value is found.public String getCreatedAt()
public void setCreatedAt(String CreatedAt)
CreatedAt - Create time.
Note: This field may return null, indicating that no valid value is found.public String getProjectId()
public void setProjectId(String ProjectId)
ProjectId - Project ID.
Note: This field may return null, indicating that no valid value is found.public Long getAppID()
public void setAppID(Long AppID)
AppID - Deprecated.
Note: This field may return null, indicating that no valid value is found.public String getUin()
public void setUin(String Uin)
Uin - Uin.
Note: This field may return null, indicating that no valid value is found.public String getSubAccountUin()
public void setSubAccountUin(String SubAccountUin)
SubAccountUin - Sub account uin.
Note: This field may return null, indicating that no valid value is found.public Long getAppId()
public void setAppId(Long AppId)
AppId - App ID of user account.
Note: This field may return null, indicating that no valid value is found.Copyright © 2025. All rights reserved.