public class ModifyAttributeLabelRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
ModifyAttributeLabelRequest() |
ModifyAttributeLabelRequest(ModifyAttributeLabelRequest 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 |
getAttributeId()
Get 说明:属性ID
备注:通过CreateAttributeLabel接口创建属性时会生成AttributeId,通过ListAttributeLabels接口可查询得到AttributeId、AttributeKey、AttributeName以及LabelId、LabelName的对应关系
|
String |
getAttributeKey()
Get 说明:属性标识,
备注:仅支持英文字符,不支持数字,支持下划线。最大支持40个英文字符,如style
|
String |
getAttributeName()
Get 说明:属性名称
备注:支持中英文字符。最大支持80个中英文字符,如风格
|
String[] |
getDeleteLabelIds()
Get 说明:删除的标签id
|
String |
getKnowledgeBaseId()
Get 说明:知识库ID
备注:通过创建知识库接口(DeleteKnowledgeBase)得到知识库ID(KnowledgeBaseId)
|
AttributeLabelItem[] |
getLabels()
Get 说明:标签ID(LabelId)以及标签名(LabelName)
备注:
- 不填写LabelId,默认在当前AttributeId下新增标签值(LabelName);
- 若填写该AttributeId下的LabelId以及LabelName,则为修改该LabelId对应的标签值
|
void |
setAttributeId(String AttributeId)
Set 说明:属性ID
备注:通过CreateAttributeLabel接口创建属性时会生成AttributeId,通过ListAttributeLabels接口可查询得到AttributeId、AttributeKey、AttributeName以及LabelId、LabelName的对应关系
|
void |
setAttributeKey(String AttributeKey)
Set 说明:属性标识,
备注:仅支持英文字符,不支持数字,支持下划线。最大支持40个英文字符,如style
|
void |
setAttributeName(String AttributeName)
Set 说明:属性名称
备注:支持中英文字符。最大支持80个中英文字符,如风格
|
void |
setDeleteLabelIds(String[] DeleteLabelIds)
Set 说明:删除的标签id
|
void |
setKnowledgeBaseId(String KnowledgeBaseId)
Set 说明:知识库ID
备注:通过创建知识库接口(DeleteKnowledgeBase)得到知识库ID(KnowledgeBaseId)
|
void |
setLabels(AttributeLabelItem[] Labels)
Set 说明:标签ID(LabelId)以及标签名(LabelName)
备注:
- 不填写LabelId,默认在当前AttributeId下新增标签值(LabelName);
- 若填写该AttributeId下的LabelId以及LabelName,则为修改该LabelId对应的标签值
|
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, toJsonString
public ModifyAttributeLabelRequest()
public ModifyAttributeLabelRequest(ModifyAttributeLabelRequest source)
public String getKnowledgeBaseId()
public void setKnowledgeBaseId(String KnowledgeBaseId)
KnowledgeBaseId
- 说明:知识库ID
备注:通过创建知识库接口(DeleteKnowledgeBase)得到知识库ID(KnowledgeBaseId)public String getAttributeId()
public void setAttributeId(String AttributeId)
AttributeId
- 说明:属性ID
备注:通过CreateAttributeLabel接口创建属性时会生成AttributeId,通过ListAttributeLabels接口可查询得到AttributeId、AttributeKey、AttributeName以及LabelId、LabelName的对应关系public String getAttributeKey()
public void setAttributeKey(String AttributeKey)
AttributeKey
- 说明:属性标识,
备注:仅支持英文字符,不支持数字,支持下划线。最大支持40个英文字符,如stylepublic String getAttributeName()
public void setAttributeName(String AttributeName)
AttributeName
- 说明:属性名称
备注:支持中英文字符。最大支持80个中英文字符,如风格public AttributeLabelItem[] getLabels()
public void setLabels(AttributeLabelItem[] Labels)
Labels
- 说明:标签ID(LabelId)以及标签名(LabelName)
备注:
- 不填写LabelId,默认在当前AttributeId下新增标签值(LabelName);
- 若填写该AttributeId下的LabelId以及LabelName,则为修改该LabelId对应的标签值public String[] getDeleteLabelIds()
public void setDeleteLabelIds(String[] DeleteLabelIds)
DeleteLabelIds
- 说明:删除的标签idCopyright © 2025. All rights reserved.