public class UploadRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
edition
The version of the SourceMap file.
|
String |
file
The content of the SourceMap file.
|
String |
fileName
The name of the SourceMap file.
|
String |
pid
The application ID.
|
String |
regionId
The ID of the region to which the SourceMap file is uploaded.
|
String |
version
We recommend that you do not specify this parameter.
|
| 构造器和说明 |
|---|
UploadRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static UploadRequest |
build(Map<String,?> map) |
String |
getEdition() |
String |
getFile() |
String |
getFileName() |
String |
getPid() |
String |
getRegionId() |
String |
getVersion() |
UploadRequest |
setEdition(String edition) |
UploadRequest |
setFile(String file) |
UploadRequest |
setFileName(String fileName) |
UploadRequest |
setPid(String pid) |
UploadRequest |
setRegionId(String regionId) |
UploadRequest |
setVersion(String version) |
@NameInMap(value="Edition") public String edition
The version of the SourceMap file.
example:0.0.0
@NameInMap(value="File") public String file
The content of the SourceMap file.
This parameter is required.
example:test file content
@NameInMap(value="FileName") public String fileName
The name of the SourceMap file.
This parameter is required.
example:test.js.map
@NameInMap(value="Pid") public String pid
The application ID.
Log on to the ARMS console. In the left-side navigation pane, choose Browser Monitoring > Browser Monitoring. On the Browser Monitoring page, click the name of an application. The URL in the address bar contains the process ID (PID) of the application. The PID is indicated in the pid=xxx format. The PID is usually percent encoded as xxx%40xxx. You must modify this value to remove the percent encoding. For example, if the PID in the URL is eb4zdose6v%409781be0f44d\\\\, you must replace %40 with @ to obtain eb4zdose6v@9781be0f44d\\\\.
This parameter is required.
example:b590lhguqs@8cc3f6354******
@NameInMap(value="RegionId") public String regionId
The ID of the region to which the SourceMap file is uploaded.
This parameter is required.
example:cn-hangzhou
@NameInMap(value="Version") public String version
We recommend that you do not specify this parameter.
example:null
public static UploadRequest build(Map<String,?> map) throws Exception
Exceptionpublic UploadRequest setEdition(String edition)
public String getEdition()
public UploadRequest setFile(String file)
public String getFile()
public UploadRequest setFileName(String fileName)
public String getFileName()
public UploadRequest setPid(String pid)
public String getPid()
public UploadRequest setRegionId(String regionId)
public String getRegionId()
public UploadRequest setVersion(String version)
public String getVersion()
Copyright © 2024. All rights reserved.