public class CreateEmbedTokenRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
CreateEmbedTokenRequest()  | 
CreateEmbedTokenRequest(CreateEmbedTokenRequest 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 | 
getConfigParam()
Get Embedded display configurations: Currently for ChatBI embedding scenarios; TableFilter represents data table list filtering, SqlView represents SQL view feature. 
 | 
String | 
getExpireTime()
Get Expiration time. 
 | 
String | 
getExtraParam()
Get Alternate field. 
 | 
String | 
getGlobalParam()
Get Global filter parameters: Applies to all report filter criteria. 
 | 
String | 
getIntention()
Get "embed" indicates page dashboard embedding, and "chatBIEmbed" indicates ChatBI embedding. 
 | 
Long | 
getPageId()
Get Shares the page ID. 
 | 
Long | 
getProjectId()
Get Shares the project ID. 
 | 
String | 
getScope()
Get "page" indicates embedding a page, "panel" indicates embedding the entire dashboard, and "project" is used for ChatBI embedding. 
 | 
Long | 
getTicketNum()
Get Access count limit (range: 1-99999). 
 | 
Long | 
getTokenNum()
Get The number of tokens created at one time. 
 | 
Long | 
getTokenType()
Get 100: no user bound. 
 | 
String | 
getUserCorpId()
Get User enterprise ID (only used for multi-user). 
 | 
String | 
getUserId()
Get User ID (only used for multi-user). 
 | 
void | 
setConfigParam(String ConfigParam)
Set Embedded display configurations: Currently for ChatBI embedding scenarios; TableFilter represents data table list filtering, SqlView represents SQL view feature. 
 | 
void | 
setExpireTime(String ExpireTime)
Set Expiration time. 
 | 
void | 
setExtraParam(String ExtraParam)
Set Alternate field. 
 | 
void | 
setGlobalParam(String GlobalParam)
Set Global filter parameters: Applies to all report filter criteria. 
 | 
void | 
setIntention(String Intention)
Set "embed" indicates page dashboard embedding, and "chatBIEmbed" indicates ChatBI embedding. 
 | 
void | 
setPageId(Long PageId)
Set Shares the page ID. 
 | 
void | 
setProjectId(Long ProjectId)
Set Shares the project ID. 
 | 
void | 
setScope(String Scope)
Set "page" indicates embedding a page, "panel" indicates embedding the entire dashboard, and "project" is used for ChatBI embedding. 
 | 
void | 
setTicketNum(Long TicketNum)
Set Access count limit (range: 1-99999). 
 | 
void | 
setTokenNum(Long TokenNum)
Set The number of tokens created at one time. 
 | 
void | 
setTokenType(Long TokenType)
Set 100: no user bound. 
 | 
void | 
setUserCorpId(String UserCorpId)
Set User enterprise ID (only used for multi-user). 
 | 
void | 
setUserId(String UserId)
Set User ID (only used for multi-user). 
 | 
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 CreateEmbedTokenRequest()
public CreateEmbedTokenRequest(CreateEmbedTokenRequest source)
public Long getProjectId()
public void setProjectId(Long ProjectId)
ProjectId - Shares the project ID.public Long getPageId()
public void setPageId(Long PageId)
PageId - Shares the page ID. This field is empty (0) for embedding a dashboard and is not passed for embedding ChatBI.public String getIntention()
public void setIntention(String Intention)
Intention - "embed" indicates page dashboard embedding, and "chatBIEmbed" indicates ChatBI embedding.public String getScope()
public void setScope(String Scope)
Scope - "page" indicates embedding a page, "panel" indicates embedding the entire dashboard, and "project" is used for ChatBI embedding.public String getExpireTime()
public void setExpireTime(String ExpireTime)
ExpireTime - Expiration time. Unit: minutes. Maximum value: 240 (namely, 4 hours). Default value: 240.public String getExtraParam()
public void setExtraParam(String ExtraParam)
ExtraParam - Alternate field.public String getUserCorpId()
public void setUserCorpId(String UserCorpId)
UserCorpId - User enterprise ID (only used for multi-user).public String getUserId()
public void setUserId(String UserId)
UserId - User ID (only used for multi-user).public Long getTicketNum()
public void setTicketNum(Long TicketNum)
TicketNum - Access count limit (range: 1-99999). Leave empty to disable access restrictions.public String getGlobalParam()
public void setGlobalParam(String GlobalParam)
GlobalParam - Global filter parameters: Applies to all report filter criteria. Should be formatted as a JSON string.
 Currently, only character-type page parameters can be bound to global parameters.
[
    {
"ParamKey": "name", page parameter name.
"JoinType": "AND", // connection method. Currently, only AND is supported.
        "WhereList": [
            {
"Operator": "-neq", // operator. Refer to the following instructions.
"Value": [ action value. For a single-value array, only one value is passed.
                    "zZWJMD",
                    "ZzVGHX",
"Hunan province".
"Hebei province".
                ]
            }
        ]
    },
    {
        "ParamKey": "genderParam",
        "JoinType": "AND",
        "WhereList": [
            {
                "Operator": "-neq",
                "Value": [
"Male".
                ]
            }
        ]
    }
]
Currently supported operators.
 -neq not equal to != operator.
 -eq equal to = operator.
 -is in operator.public Long getTokenType()
public void setTokenType(Long TokenType)
TokenType - 100: no user bound. Create 1 token at a time. UserCorpId and UserId are optional. ChatBI embedding is not supported.
200: single token per user. Create 1 token at a time. UserCorpId and UserId required.
300: multiple tokens per user. Create multiple tokens at a time. UserCorpId and UserId required.public Long getTokenNum()
public void setTokenNum(Long TokenNum)
TokenNum - The number of tokens created at one time.public String getConfigParam()
public void setConfigParam(String ConfigParam)
ConfigParam - Embedded display configurations: Currently for ChatBI embedding scenarios; TableFilter represents data table list filtering, SqlView represents SQL view feature.Copyright © 2025. All rights reserved.