public class CreateLinkRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| CreateLinkRequest() | 
| CreateLinkRequest(CreateLinkRequest 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 | 
|---|---|
| String | getClassPath()Get 链接的分类路径,如填"/a/b"则代表链接属于该分类路径,不填则默认为根路径。 | 
| String | getDestinationId()Get 目标资源Id。可取值有:
当 Type 为 MATERIAL 时填媒体 ID;
当 Type 为 CLASS 时填写分类路径。 | 
| Entity | getDestinationOwner()Get 目标资源归属者。 | 
| String | getName()Get 链接名称,不能超过30个字符。 | 
| String | getOperator()Get 操作者。如不填,默认为 `cmeid_system`,表示平台管理员操作,可以创建任意源及目标资源的链接。如果指定操作者,则操作者必须对源资源有读权限,对目标媒体有写权限。 | 
| Entity | getOwner()Get 链接归属者。 | 
| String | getPlatform()Get 平台 Id,指定访问的平台。关于平台概念,请参见文档 [平台](https://cloud.tencent.com/document/product/1156/43767)。 | 
| String | getType()Get 链接类型,可取值有:
CLASS: 分类链接;
 MATERIAL:媒体文件链接。 | 
| void | setClassPath(String ClassPath)Set 链接的分类路径,如填"/a/b"则代表链接属于该分类路径,不填则默认为根路径。 | 
| void | setDestinationId(String DestinationId)Set 目标资源Id。可取值有:
当 Type 为 MATERIAL 时填媒体 ID;
当 Type 为 CLASS 时填写分类路径。 | 
| void | setDestinationOwner(Entity DestinationOwner)Set 目标资源归属者。 | 
| void | setName(String Name)Set 链接名称,不能超过30个字符。 | 
| void | setOperator(String Operator)Set 操作者。如不填,默认为 `cmeid_system`,表示平台管理员操作,可以创建任意源及目标资源的链接。如果指定操作者,则操作者必须对源资源有读权限,对目标媒体有写权限。 | 
| void | setOwner(Entity Owner)Set 链接归属者。 | 
| void | setPlatform(String Platform)Set 平台 Id,指定访问的平台。关于平台概念,请参见文档 [平台](https://cloud.tencent.com/document/product/1156/43767)。 | 
| void | setType(String Type)Set 链接类型,可取值有:
CLASS: 分类链接;
 MATERIAL:媒体文件链接。 | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic CreateLinkRequest()
public CreateLinkRequest(CreateLinkRequest source)
public String getPlatform()
public void setPlatform(String Platform)
Platform - 平台 Id,指定访问的平台。关于平台概念,请参见文档 [平台](https://cloud.tencent.com/document/product/1156/43767)。public String getType()
public void setType(String Type)
Type - 链接类型,可取值有:
public String getName()
public void setName(String Name)
Name - 链接名称,不能超过30个字符。public Entity getOwner()
public void setOwner(Entity Owner)
Owner - 链接归属者。public String getDestinationId()
public void setDestinationId(String DestinationId)
DestinationId - 目标资源Id。可取值有:
public Entity getDestinationOwner()
public void setDestinationOwner(Entity DestinationOwner)
DestinationOwner - 目标资源归属者。public String getClassPath()
public void setClassPath(String ClassPath)
ClassPath - 链接的分类路径,如填"/a/b"则代表链接属于该分类路径,不填则默认为根路径。public String getOperator()
public void setOperator(String Operator)
Operator - 操作者。如不填,默认为 `cmeid_system`,表示平台管理员操作,可以创建任意源及目标资源的链接。如果指定操作者,则操作者必须对源资源有读权限,对目标媒体有写权限。Copyright © 2025. All rights reserved.