Documentation
¶
Index ¶
- Constants
- type ApplyEmbedIntervalRequest
- type ApplyEmbedIntervalRequestParams
- type ApplyEmbedIntervalResponse
- type ApplyEmbedIntervalResponseParams
- type ApplyEmbedTokenInfo
- type BaseStateAction
- type Client
- func (c *Client) ApplyEmbedInterval(request *ApplyEmbedIntervalRequest) (response *ApplyEmbedIntervalResponse, err error)
- func (c *Client) ApplyEmbedIntervalWithContext(ctx context.Context, request *ApplyEmbedIntervalRequest) (response *ApplyEmbedIntervalResponse, err error)
- func (c *Client) CreateDatasource(request *CreateDatasourceRequest) (response *CreateDatasourceResponse, err error)
- func (c *Client) CreateDatasourceCloud(request *CreateDatasourceCloudRequest) (response *CreateDatasourceCloudResponse, err error)
- func (c *Client) CreateDatasourceCloudWithContext(ctx context.Context, request *CreateDatasourceCloudRequest) (response *CreateDatasourceCloudResponse, err error)
- func (c *Client) CreateDatasourceWithContext(ctx context.Context, request *CreateDatasourceRequest) (response *CreateDatasourceResponse, err error)
- func (c *Client) CreateEmbedToken(request *CreateEmbedTokenRequest) (response *CreateEmbedTokenResponse, err error)
- func (c *Client) CreateEmbedTokenWithContext(ctx context.Context, request *CreateEmbedTokenRequest) (response *CreateEmbedTokenResponse, err error)
- func (c *Client) CreateProject(request *CreateProjectRequest) (response *CreateProjectResponse, err error)
- func (c *Client) CreateProjectWithContext(ctx context.Context, request *CreateProjectRequest) (response *CreateProjectResponse, err error)
- func (c *Client) CreateUserRole(request *CreateUserRoleRequest) (response *CreateUserRoleResponse, err error)
- func (c *Client) CreateUserRoleProject(request *CreateUserRoleProjectRequest) (response *CreateUserRoleProjectResponse, err error)
- func (c *Client) CreateUserRoleProjectWithContext(ctx context.Context, request *CreateUserRoleProjectRequest) (response *CreateUserRoleProjectResponse, err error)
- func (c *Client) CreateUserRoleWithContext(ctx context.Context, request *CreateUserRoleRequest) (response *CreateUserRoleResponse, err error)
- func (c *Client) DeleteDatasource(request *DeleteDatasourceRequest) (response *DeleteDatasourceResponse, err error)
- func (c *Client) DeleteDatasourceWithContext(ctx context.Context, request *DeleteDatasourceRequest) (response *DeleteDatasourceResponse, err error)
- func (c *Client) DeleteProject(request *DeleteProjectRequest) (response *DeleteProjectResponse, err error)
- func (c *Client) DeleteProjectWithContext(ctx context.Context, request *DeleteProjectRequest) (response *DeleteProjectResponse, err error)
- func (c *Client) DeleteUserRole(request *DeleteUserRoleRequest) (response *DeleteUserRoleResponse, err error)
- func (c *Client) DeleteUserRoleProject(request *DeleteUserRoleProjectRequest) (response *DeleteUserRoleProjectResponse, err error)
- func (c *Client) DeleteUserRoleProjectWithContext(ctx context.Context, request *DeleteUserRoleProjectRequest) (response *DeleteUserRoleProjectResponse, err error)
- func (c *Client) DeleteUserRoleWithContext(ctx context.Context, request *DeleteUserRoleRequest) (response *DeleteUserRoleResponse, err error)
- func (c *Client) DescribeDatasourceList(request *DescribeDatasourceListRequest) (response *DescribeDatasourceListResponse, err error)
- func (c *Client) DescribeDatasourceListWithContext(ctx context.Context, request *DescribeDatasourceListRequest) (response *DescribeDatasourceListResponse, err error)
- func (c *Client) DescribePageWidgetList(request *DescribePageWidgetListRequest) (response *DescribePageWidgetListResponse, err error)
- func (c *Client) DescribePageWidgetListWithContext(ctx context.Context, request *DescribePageWidgetListRequest) (response *DescribePageWidgetListResponse, err error)
- func (c *Client) DescribeProjectInfo(request *DescribeProjectInfoRequest) (response *DescribeProjectInfoResponse, err error)
- func (c *Client) DescribeProjectInfoWithContext(ctx context.Context, request *DescribeProjectInfoRequest) (response *DescribeProjectInfoResponse, err error)
- func (c *Client) DescribeProjectList(request *DescribeProjectListRequest) (response *DescribeProjectListResponse, err error)
- func (c *Client) DescribeProjectListWithContext(ctx context.Context, request *DescribeProjectListRequest) (response *DescribeProjectListResponse, err error)
- func (c *Client) DescribeUserProjectList(request *DescribeUserProjectListRequest) (response *DescribeUserProjectListResponse, err error)
- func (c *Client) DescribeUserProjectListWithContext(ctx context.Context, request *DescribeUserProjectListRequest) (response *DescribeUserProjectListResponse, err error)
- func (c *Client) DescribeUserRoleList(request *DescribeUserRoleListRequest) (response *DescribeUserRoleListResponse, err error)
- func (c *Client) DescribeUserRoleListWithContext(ctx context.Context, request *DescribeUserRoleListRequest) (response *DescribeUserRoleListResponse, err error)
- func (c *Client) DescribeUserRoleProjectList(request *DescribeUserRoleProjectListRequest) (response *DescribeUserRoleProjectListResponse, err error)
- func (c *Client) DescribeUserRoleProjectListWithContext(ctx context.Context, request *DescribeUserRoleProjectListRequest) (response *DescribeUserRoleProjectListResponse, err error)
- func (c *Client) ExportScreenPage(request *ExportScreenPageRequest) (response *ExportScreenPageResponse, err error)
- func (c *Client) ExportScreenPageWithContext(ctx context.Context, request *ExportScreenPageRequest) (response *ExportScreenPageResponse, err error)
- func (c *Client) ModifyDatasource(request *ModifyDatasourceRequest) (response *ModifyDatasourceResponse, err error)
- func (c *Client) ModifyDatasourceCloud(request *ModifyDatasourceCloudRequest) (response *ModifyDatasourceCloudResponse, err error)
- func (c *Client) ModifyDatasourceCloudWithContext(ctx context.Context, request *ModifyDatasourceCloudRequest) (response *ModifyDatasourceCloudResponse, err error)
- func (c *Client) ModifyDatasourceWithContext(ctx context.Context, request *ModifyDatasourceRequest) (response *ModifyDatasourceResponse, err error)
- func (c *Client) ModifyProject(request *ModifyProjectRequest) (response *ModifyProjectResponse, err error)
- func (c *Client) ModifyProjectWithContext(ctx context.Context, request *ModifyProjectRequest) (response *ModifyProjectResponse, err error)
- func (c *Client) ModifyUserRole(request *ModifyUserRoleRequest) (response *ModifyUserRoleResponse, err error)
- func (c *Client) ModifyUserRoleProject(request *ModifyUserRoleProjectRequest) (response *ModifyUserRoleProjectResponse, err error)
- func (c *Client) ModifyUserRoleProjectWithContext(ctx context.Context, request *ModifyUserRoleProjectRequest) (response *ModifyUserRoleProjectResponse, err error)
- func (c *Client) ModifyUserRoleWithContext(ctx context.Context, request *ModifyUserRoleRequest) (response *ModifyUserRoleResponse, err error)
- type CorpUserListData
- type CreateDatasourceCloudRequest
- type CreateDatasourceCloudRequestParams
- type CreateDatasourceCloudResponse
- type CreateDatasourceCloudResponseParams
- type CreateDatasourceRequest
- type CreateDatasourceRequestParams
- type CreateDatasourceResponse
- type CreateDatasourceResponseParams
- type CreateEmbedTokenRequest
- type CreateEmbedTokenRequestParams
- type CreateEmbedTokenResponse
- type CreateEmbedTokenResponseParams
- type CreateProjectRequest
- type CreateProjectRequestParams
- type CreateProjectResponse
- type CreateProjectResponseParams
- type CreateUserRoleProjectRequest
- type CreateUserRoleProjectRequestParams
- type CreateUserRoleProjectResponse
- type CreateUserRoleProjectResponseParams
- type CreateUserRoleRequest
- type CreateUserRoleRequestParams
- type CreateUserRoleResponse
- type CreateUserRoleResponseParams
- type Data
- type DataId
- type DatasourceInfo
- type DatasourceInfoData
- type DeleteDatasourceRequest
- type DeleteDatasourceRequestParams
- type DeleteDatasourceResponse
- type DeleteDatasourceResponseParams
- type DeleteProjectRequest
- type DeleteProjectRequestParams
- type DeleteProjectResponse
- type DeleteProjectResponseParams
- type DeleteUserRoleProjectRequest
- type DeleteUserRoleProjectRequestParams
- type DeleteUserRoleProjectResponse
- type DeleteUserRoleProjectResponseParams
- type DeleteUserRoleRequest
- type DeleteUserRoleRequestParams
- type DeleteUserRoleResponse
- type DeleteUserRoleResponseParams
- type DescribeDatasourceListRequest
- type DescribeDatasourceListRequestParams
- type DescribeDatasourceListResponse
- type DescribeDatasourceListResponseParams
- type DescribePageWidgetListRequest
- type DescribePageWidgetListRequestParams
- type DescribePageWidgetListResponse
- type DescribePageWidgetListResponseParams
- type DescribeProjectInfoRequest
- type DescribeProjectInfoRequestParams
- type DescribeProjectInfoResponse
- type DescribeProjectInfoResponseParams
- type DescribeProjectListRequest
- type DescribeProjectListRequestParams
- type DescribeProjectListResponse
- type DescribeProjectListResponseParams
- type DescribeUserProjectListRequest
- type DescribeUserProjectListRequestParams
- type DescribeUserProjectListResponse
- type DescribeUserProjectListResponseParams
- type DescribeUserRoleListRequest
- type DescribeUserRoleListRequestParams
- type DescribeUserRoleListResponse
- type DescribeUserRoleListResponseParams
- type DescribeUserRoleProjectListRequest
- type DescribeUserRoleProjectListRequestParams
- type DescribeUserRoleProjectListResponse
- type DescribeUserRoleProjectListResponseParams
- type EmbedTokenInfo
- type ErrorInfo
- type ExportScreenPageRequest
- type ExportScreenPageRequestParams
- type ExportScreenPageResponse
- type ExportScreenPageResponseParams
- type IdDTO
- type ModifyDatasourceCloudRequest
- type ModifyDatasourceCloudRequestParams
- type ModifyDatasourceCloudResponse
- type ModifyDatasourceCloudResponseParams
- type ModifyDatasourceRequest
- type ModifyDatasourceRequestParams
- type ModifyDatasourceResponse
- type ModifyDatasourceResponseParams
- type ModifyProjectRequest
- type ModifyProjectRequestParams
- type ModifyProjectResponse
- type ModifyProjectResponseParams
- type ModifyUserRoleProjectRequest
- type ModifyUserRoleProjectRequestParams
- type ModifyUserRoleProjectResponse
- type ModifyUserRoleProjectResponseParams
- type ModifyUserRoleRequest
- type ModifyUserRoleRequestParams
- type ModifyUserRoleResponse
- type ModifyUserRoleResponseParams
- type PageScreenListVO
- type PageScreenVO
- type PermissionComponent
- type PermissionGroup
- type Project
- type ProjectConfigList
- type ProjectConfigResult
- type ProjectListData
- type UserGroupDTO
- type UserIdAndUserName
- type UserInfo
- type UserRoleListData
- type UserRoleListDataRoleInfo
- type UserRoleListDataUserRoleInfo
- type WidgetListVO
- type WidgetVO
Constants ¶
const ( // CAM signature/authentication error. AUTHFAILURE = "AuthFailure" // DryRun operation means the request will be successful, but the DryRun parameter is passed. DRYRUNOPERATION = "DryRunOperation" // Operation failed. FAILEDOPERATION = "FailedOperation" // Internal error. INTERNALERROR = "InternalError" // Internal error. INTERNALERROR_INTERNAL = "InternalError.Internal" // Parameter error. INVALIDPARAMETER = "InvalidParameter" // Report embedding error. INVALIDPARAMETER_EMBED = "InvalidParameter.Embed" // Parameter value error. INVALIDPARAMETERVALUE = "InvalidParameterValue" // The quota limit is exceeded. LIMITEXCEEDED = "LimitExceeded" // Parameters are missing. MISSINGPARAMETER = "MissingParameter" // The required parameter is missing. MISSINGPARAMETER_MISSINGPARAM = "MissingParameter.MissingParam" // Operation denied. OPERATIONDENIED = "OperationDenied" // Too many and frequent requests. REQUESTLIMITEXCEEDED = "RequestLimitExceeded" // Unauthorized operation. UNAUTHORIZEDOPERATION = "UnauthorizedOperation" // Permission error. UNAUTHORIZEDOPERATION_AUTHORIZE = "UnauthorizedOperation.Authorize" // User is not enabled. UNAUTHORIZEDOPERATION_INACTIVE = "UnauthorizedOperation.Inactive" // The user does not exist. UNAUTHORIZEDOPERATION_USERNOTEXIST = "UnauthorizedOperation.UserNotExist" // Unknown parameter error. UNKNOWNPARAMETER = "UnknownParameter" // The operation is not supported. UNSUPPORTEDOPERATION = "UnsupportedOperation" // Default business exception. UNSUPPORTEDOPERATION_BIERROR = "UnsupportedOperation.BIError" )
const APIVersion = "2022-01-05"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplyEmbedIntervalRequest ¶
type ApplyEmbedIntervalRequest struct { *tchttp.BaseRequest // Shares the project ID. Required. ProjectId *uint64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Shares the page ID. This field is empty (0) for embedding a dashboard and is not passed for embedding ChatBI. PageId *uint64 `json:"PageId,omitnil,omitempty" name:"PageId"` // Token requiring extension. BIToken *string `json:"BIToken,omitnil,omitempty" name:"BIToken"` // Alternate field. ExtraParam *string `json:"ExtraParam,omitnil,omitempty" name:"ExtraParam"` // embed: page/dashboard embedding. // chatBIEmbed: ChatBI embedding. Intention *string `json:"Intention,omitnil,omitempty" name:"Intention"` // panel: dashboard; page: page. // project, during ChatBI embedding. Scope *string `json:"Scope,omitnil,omitempty" name:"Scope"` }
func NewApplyEmbedIntervalRequest ¶
func NewApplyEmbedIntervalRequest() (request *ApplyEmbedIntervalRequest)
func (*ApplyEmbedIntervalRequest) FromJsonString ¶
func (r *ApplyEmbedIntervalRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ApplyEmbedIntervalRequest) ToJsonString ¶
func (r *ApplyEmbedIntervalRequest) ToJsonString() string
type ApplyEmbedIntervalRequestParams ¶
type ApplyEmbedIntervalRequestParams struct { // Shares the project ID. Required. ProjectId *uint64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Shares the page ID. This field is empty (0) for embedding a dashboard and is not passed for embedding ChatBI. PageId *uint64 `json:"PageId,omitnil,omitempty" name:"PageId"` // Token requiring extension. BIToken *string `json:"BIToken,omitnil,omitempty" name:"BIToken"` // Alternate field. ExtraParam *string `json:"ExtraParam,omitnil,omitempty" name:"ExtraParam"` // embed: page/dashboard embedding. // chatBIEmbed: ChatBI embedding. Intention *string `json:"Intention,omitnil,omitempty" name:"Intention"` // panel: dashboard; page: page. // project, during ChatBI embedding. Scope *string `json:"Scope,omitnil,omitempty" name:"Scope"` }
Predefined struct for user
type ApplyEmbedIntervalResponse ¶
type ApplyEmbedIntervalResponse struct { *tchttp.BaseResponse Response *ApplyEmbedIntervalResponseParams `json:"Response"` }
func NewApplyEmbedIntervalResponse ¶
func NewApplyEmbedIntervalResponse() (response *ApplyEmbedIntervalResponse)
func (*ApplyEmbedIntervalResponse) FromJsonString ¶
func (r *ApplyEmbedIntervalResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ApplyEmbedIntervalResponse) ToJsonString ¶
func (r *ApplyEmbedIntervalResponse) ToJsonString() string
type ApplyEmbedIntervalResponseParams ¶
type ApplyEmbedIntervalResponseParams struct { // Custom error information object. // Note: This field may return null, indicating that no valid values can be obtained. ErrorInfo *ErrorInfo `json:"ErrorInfo,omitnil,omitempty" name:"ErrorInfo"` // Additional parameters. // Note: This field may return null, indicating that no valid values can be obtained. Extra *string `json:"Extra,omitnil,omitempty" name:"Extra"` // Result data. // Note: This field may return null, indicating that no valid values can be obtained. Data *ApplyEmbedTokenInfo `json:"Data,omitnil,omitempty" name:"Data"` // Result description. // Note: This field may return null, indicating that no valid values can be obtained. Msg *string `json:"Msg,omitnil,omitempty" name:"Msg"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ApplyEmbedTokenInfo ¶
type ApplyEmbedTokenInfo struct { // Request result. // Note: This field may return null, indicating that no valid values can be obtained. Result *bool `json:"Result,omitnil,omitempty" name:"Result"` }
type BaseStateAction ¶
type BaseStateAction struct { // Whether the edit button is visible. // Note: This field may return null, indicating that no valid values can be obtained. ShowEdit *bool `json:"ShowEdit,omitnil,omitempty" name:"ShowEdit"` // Whether the edit button is clickable. // Note: This field may return null, indicating that no valid values can be obtained. IsEdit *bool `json:"IsEdit,omitnil,omitempty" name:"IsEdit"` // Edit button text. // Note: This field may return null, indicating that no valid values can be obtained. EditText *string `json:"EditText,omitnil,omitempty" name:"EditText"` // Edit-disabled hint. // Note: This field may return null, indicating that no valid values can be obtained. EditTips *string `json:"EditTips,omitnil,omitempty" name:"EditTips"` // Whether the deletion button is visible. // Note: This field may return null, indicating that no valid values can be obtained. ShowDel *bool `json:"ShowDel,omitnil,omitempty" name:"ShowDel"` // Whether the deletion button is clickable. // Note: This field may return null, indicating that no valid values can be obtained. IsDel *bool `json:"IsDel,omitnil,omitempty" name:"IsDel"` // Delete button text. // Note: This field may return null, indicating that no valid values can be obtained. DelText *string `json:"DelText,omitnil,omitempty" name:"DelText"` // Delete-disabled hint. // Note: This field may return null, indicating that no valid values can be obtained. DelTips *string `json:"DelTips,omitnil,omitempty" name:"DelTips"` // Whether the copy button is visible. // Note: This field may return null, indicating that no valid values can be obtained. ShowCopy *bool `json:"ShowCopy,omitnil,omitempty" name:"ShowCopy"` // Whether it is visible. // Note: This field may return null, indicating that no valid values can be obtained. ShowView *bool `json:"ShowView,omitnil,omitempty" name:"ShowView"` // Whether renaming is allowed. // Note: This field may return null, indicating that no valid values can be obtained. ShowRename *bool `json:"ShowRename,omitnil,omitempty" name:"ShowRename"` }
type Client ¶
func NewClient ¶
func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) ApplyEmbedInterval ¶
func (c *Client) ApplyEmbedInterval(request *ApplyEmbedIntervalRequest) (response *ApplyEmbedIntervalResponse, err error)
ApplyEmbedInterval This API is used to extend the available time of a token with strong authentication.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_INTERNAL = "InternalError.Internal" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_EMBED = "InvalidParameter.Embed" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" MISSINGPARAMETER_MISSINGPARAM = "MissingParameter.MissingParam" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_AUTHORIZE = "UnauthorizedOperation.Authorize" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_BIERROR = "UnsupportedOperation.BIError"
func (*Client) ApplyEmbedIntervalWithContext ¶
func (c *Client) ApplyEmbedIntervalWithContext(ctx context.Context, request *ApplyEmbedIntervalRequest) (response *ApplyEmbedIntervalResponse, err error)
ApplyEmbedInterval This API is used to extend the available time of a token with strong authentication.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_INTERNAL = "InternalError.Internal" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_EMBED = "InvalidParameter.Embed" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" MISSINGPARAMETER_MISSINGPARAM = "MissingParameter.MissingParam" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_AUTHORIZE = "UnauthorizedOperation.Authorize" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_BIERROR = "UnsupportedOperation.BIError"
func (*Client) CreateDatasource ¶
func (c *Client) CreateDatasource(request *CreateDatasourceRequest) (response *CreateDatasourceResponse, err error)
CreateDatasource This API is used to create a data source.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_INTERNAL = "InternalError.Internal" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" MISSINGPARAMETER_MISSINGPARAM = "MissingParameter.MissingParam" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_AUTHORIZE = "UnauthorizedOperation.Authorize" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_BIERROR = "UnsupportedOperation.BIError"
func (*Client) CreateDatasourceCloud ¶
func (c *Client) CreateDatasourceCloud(request *CreateDatasourceCloudRequest) (response *CreateDatasourceCloudResponse, err error)
CreateDatasourceCloud This API is used to create a cloud database.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_INTERNAL = "InternalError.Internal" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" MISSINGPARAMETER_MISSINGPARAM = "MissingParameter.MissingParam" OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_AUTHORIZE = "UnauthorizedOperation.Authorize" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_BIERROR = "UnsupportedOperation.BIError"
func (*Client) CreateDatasourceCloudWithContext ¶
func (c *Client) CreateDatasourceCloudWithContext(ctx context.Context, request *CreateDatasourceCloudRequest) (response *CreateDatasourceCloudResponse, err error)
CreateDatasourceCloud This API is used to create a cloud database.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_INTERNAL = "InternalError.Internal" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" MISSINGPARAMETER_MISSINGPARAM = "MissingParameter.MissingParam" OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_AUTHORIZE = "UnauthorizedOperation.Authorize" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_BIERROR = "UnsupportedOperation.BIError"
func (*Client) CreateDatasourceWithContext ¶
func (c *Client) CreateDatasourceWithContext(ctx context.Context, request *CreateDatasourceRequest) (response *CreateDatasourceResponse, err error)
CreateDatasource This API is used to create a data source.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_INTERNAL = "InternalError.Internal" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" MISSINGPARAMETER_MISSINGPARAM = "MissingParameter.MissingParam" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_AUTHORIZE = "UnauthorizedOperation.Authorize" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_BIERROR = "UnsupportedOperation.BIError"
func (*Client) CreateEmbedToken ¶
func (c *Client) CreateEmbedToken(request *CreateEmbedTokenRequest) (response *CreateEmbedTokenResponse, err error)
CreateEmbedToken This API is used to create an embedded report with strong authentication.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_INTERNAL = "InternalError.Internal" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_EMBED = "InvalidParameter.Embed" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" MISSINGPARAMETER_MISSINGPARAM = "MissingParameter.MissingParam" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_AUTHORIZE = "UnauthorizedOperation.Authorize" UNAUTHORIZEDOPERATION_USERNOTEXIST = "UnauthorizedOperation.UserNotExist" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_BIERROR = "UnsupportedOperation.BIError"
func (*Client) CreateEmbedTokenWithContext ¶
func (c *Client) CreateEmbedTokenWithContext(ctx context.Context, request *CreateEmbedTokenRequest) (response *CreateEmbedTokenResponse, err error)
CreateEmbedToken This API is used to create an embedded report with strong authentication.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_INTERNAL = "InternalError.Internal" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_EMBED = "InvalidParameter.Embed" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" MISSINGPARAMETER_MISSINGPARAM = "MissingParameter.MissingParam" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_AUTHORIZE = "UnauthorizedOperation.Authorize" UNAUTHORIZEDOPERATION_USERNOTEXIST = "UnauthorizedOperation.UserNotExist" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_BIERROR = "UnsupportedOperation.BIError"
func (*Client) CreateProject ¶
func (c *Client) CreateProject(request *CreateProjectRequest) (response *CreateProjectResponse, err error)
CreateProject This API is used to create a project.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_INTERNAL = "InternalError.Internal" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" MISSINGPARAMETER_MISSINGPARAM = "MissingParameter.MissingParam" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_AUTHORIZE = "UnauthorizedOperation.Authorize" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateProjectWithContext ¶
func (c *Client) CreateProjectWithContext(ctx context.Context, request *CreateProjectRequest) (response *CreateProjectResponse, err error)
CreateProject This API is used to create a project.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_INTERNAL = "InternalError.Internal" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" MISSINGPARAMETER_MISSINGPARAM = "MissingParameter.MissingParam" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_AUTHORIZE = "UnauthorizedOperation.Authorize" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateUserRole ¶
func (c *Client) CreateUserRole(request *CreateUserRoleRequest) (response *CreateUserRoleResponse, err error)
CreateUserRole This API is used to create a user role.
error code that may be returned:
INTERNALERROR_INTERNAL = "InternalError.Internal" MISSINGPARAMETER_MISSINGPARAM = "MissingParameter.MissingParam" UNAUTHORIZEDOPERATION_AUTHORIZE = "UnauthorizedOperation.Authorize" UNAUTHORIZEDOPERATION_USERNOTEXIST = "UnauthorizedOperation.UserNotExist"
func (*Client) CreateUserRoleProject ¶
func (c *Client) CreateUserRoleProject(request *CreateUserRoleProjectRequest) (response *CreateUserRoleProjectResponse, err error)
CreateUserRoleProject This API is used to create a user role in the project.
error code that may be returned:
INTERNALERROR_INTERNAL = "InternalError.Internal" MISSINGPARAMETER_MISSINGPARAM = "MissingParameter.MissingParam" UNAUTHORIZEDOPERATION_AUTHORIZE = "UnauthorizedOperation.Authorize" UNAUTHORIZEDOPERATION_INACTIVE = "UnauthorizedOperation.Inactive"
func (*Client) CreateUserRoleProjectWithContext ¶
func (c *Client) CreateUserRoleProjectWithContext(ctx context.Context, request *CreateUserRoleProjectRequest) (response *CreateUserRoleProjectResponse, err error)
CreateUserRoleProject This API is used to create a user role in the project.
error code that may be returned:
INTERNALERROR_INTERNAL = "InternalError.Internal" MISSINGPARAMETER_MISSINGPARAM = "MissingParameter.MissingParam" UNAUTHORIZEDOPERATION_AUTHORIZE = "UnauthorizedOperation.Authorize" UNAUTHORIZEDOPERATION_INACTIVE = "UnauthorizedOperation.Inactive"
func (*Client) CreateUserRoleWithContext ¶
func (c *Client) CreateUserRoleWithContext(ctx context.Context, request *CreateUserRoleRequest) (response *CreateUserRoleResponse, err error)
CreateUserRole This API is used to create a user role.
error code that may be returned:
INTERNALERROR_INTERNAL = "InternalError.Internal" MISSINGPARAMETER_MISSINGPARAM = "MissingParameter.MissingParam" UNAUTHORIZEDOPERATION_AUTHORIZE = "UnauthorizedOperation.Authorize" UNAUTHORIZEDOPERATION_USERNOTEXIST = "UnauthorizedOperation.UserNotExist"
func (*Client) DeleteDatasource ¶
func (c *Client) DeleteDatasource(request *DeleteDatasourceRequest) (response *DeleteDatasourceResponse, err error)
DeleteDatasource This API is used to delete a data source.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_INTERNAL = "InternalError.Internal" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" MISSINGPARAMETER_MISSINGPARAM = "MissingParameter.MissingParam" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_AUTHORIZE = "UnauthorizedOperation.Authorize" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_BIERROR = "UnsupportedOperation.BIError"
func (*Client) DeleteDatasourceWithContext ¶
func (c *Client) DeleteDatasourceWithContext(ctx context.Context, request *DeleteDatasourceRequest) (response *DeleteDatasourceResponse, err error)
DeleteDatasource This API is used to delete a data source.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_INTERNAL = "InternalError.Internal" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" MISSINGPARAMETER_MISSINGPARAM = "MissingParameter.MissingParam" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_AUTHORIZE = "UnauthorizedOperation.Authorize" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_BIERROR = "UnsupportedOperation.BIError"
func (*Client) DeleteProject ¶
func (c *Client) DeleteProject(request *DeleteProjectRequest) (response *DeleteProjectResponse, err error)
DeleteProject This API is used to delete a project.
error code that may be returned:
UNAUTHORIZEDOPERATION_AUTHORIZE = "UnauthorizedOperation.Authorize"
func (*Client) DeleteProjectWithContext ¶
func (c *Client) DeleteProjectWithContext(ctx context.Context, request *DeleteProjectRequest) (response *DeleteProjectResponse, err error)
DeleteProject This API is used to delete a project.
error code that may be returned:
UNAUTHORIZEDOPERATION_AUTHORIZE = "UnauthorizedOperation.Authorize"
func (*Client) DeleteUserRole ¶
func (c *Client) DeleteUserRole(request *DeleteUserRoleRequest) (response *DeleteUserRoleResponse, err error)
DeleteUserRole This API is used to remove a user role, which will result in user deletion.
error code that may be returned:
INTERNALERROR_INTERNAL = "InternalError.Internal" UNAUTHORIZEDOPERATION_AUTHORIZE = "UnauthorizedOperation.Authorize" UNAUTHORIZEDOPERATION_INACTIVE = "UnauthorizedOperation.Inactive" UNAUTHORIZEDOPERATION_USERNOTEXIST = "UnauthorizedOperation.UserNotExist"
func (*Client) DeleteUserRoleProject ¶
func (c *Client) DeleteUserRoleProject(request *DeleteUserRoleProjectRequest) (response *DeleteUserRoleProjectResponse, err error)
DeleteUserRoleProject This API is used to delete a user role in the project.
error code that may be returned:
MISSINGPARAMETER_MISSINGPARAM = "MissingParameter.MissingParam" UNAUTHORIZEDOPERATION_AUTHORIZE = "UnauthorizedOperation.Authorize"
func (*Client) DeleteUserRoleProjectWithContext ¶
func (c *Client) DeleteUserRoleProjectWithContext(ctx context.Context, request *DeleteUserRoleProjectRequest) (response *DeleteUserRoleProjectResponse, err error)
DeleteUserRoleProject This API is used to delete a user role in the project.
error code that may be returned:
MISSINGPARAMETER_MISSINGPARAM = "MissingParameter.MissingParam" UNAUTHORIZEDOPERATION_AUTHORIZE = "UnauthorizedOperation.Authorize"
func (*Client) DeleteUserRoleWithContext ¶
func (c *Client) DeleteUserRoleWithContext(ctx context.Context, request *DeleteUserRoleRequest) (response *DeleteUserRoleResponse, err error)
DeleteUserRole This API is used to remove a user role, which will result in user deletion.
error code that may be returned:
INTERNALERROR_INTERNAL = "InternalError.Internal" UNAUTHORIZEDOPERATION_AUTHORIZE = "UnauthorizedOperation.Authorize" UNAUTHORIZEDOPERATION_INACTIVE = "UnauthorizedOperation.Inactive" UNAUTHORIZEDOPERATION_USERNOTEXIST = "UnauthorizedOperation.UserNotExist"
func (*Client) DescribeDatasourceList ¶
func (c *Client) DescribeDatasourceList(request *DescribeDatasourceListRequest) (response *DescribeDatasourceListResponse, err error)
DescribeDatasourceList This API is used to query a data source list.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_INTERNAL = "InternalError.Internal" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" MISSINGPARAMETER_MISSINGPARAM = "MissingParameter.MissingParam" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_AUTHORIZE = "UnauthorizedOperation.Authorize" UNAUTHORIZEDOPERATION_INACTIVE = "UnauthorizedOperation.Inactive" UNAUTHORIZEDOPERATION_USERNOTEXIST = "UnauthorizedOperation.UserNotExist" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_BIERROR = "UnsupportedOperation.BIError"
func (*Client) DescribeDatasourceListWithContext ¶
func (c *Client) DescribeDatasourceListWithContext(ctx context.Context, request *DescribeDatasourceListRequest) (response *DescribeDatasourceListResponse, err error)
DescribeDatasourceList This API is used to query a data source list.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_INTERNAL = "InternalError.Internal" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" MISSINGPARAMETER_MISSINGPARAM = "MissingParameter.MissingParam" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_AUTHORIZE = "UnauthorizedOperation.Authorize" UNAUTHORIZEDOPERATION_INACTIVE = "UnauthorizedOperation.Inactive" UNAUTHORIZEDOPERATION_USERNOTEXIST = "UnauthorizedOperation.UserNotExist" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_BIERROR = "UnsupportedOperation.BIError"
func (*Client) DescribePageWidgetList ¶
func (c *Client) DescribePageWidgetList(request *DescribePageWidgetListRequest) (response *DescribePageWidgetListResponse, err error)
DescribePageWidgetList This API is used to query component information on the page.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_INTERNAL = "InternalError.Internal" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" MISSINGPARAMETER_MISSINGPARAM = "MissingParameter.MissingParam" UNSUPPORTEDOPERATION_BIERROR = "UnsupportedOperation.BIError"
func (*Client) DescribePageWidgetListWithContext ¶
func (c *Client) DescribePageWidgetListWithContext(ctx context.Context, request *DescribePageWidgetListRequest) (response *DescribePageWidgetListResponse, err error)
DescribePageWidgetList This API is used to query component information on the page.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_INTERNAL = "InternalError.Internal" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" MISSINGPARAMETER_MISSINGPARAM = "MissingParameter.MissingParam" UNSUPPORTEDOPERATION_BIERROR = "UnsupportedOperation.BIError"
func (*Client) DescribeProjectInfo ¶
func (c *Client) DescribeProjectInfo(request *DescribeProjectInfoRequest) (response *DescribeProjectInfoResponse, err error)
DescribeProjectInfo This API is used to obtain project details.
error code that may be returned:
MISSINGPARAMETER_MISSINGPARAM = "MissingParameter.MissingParam" UNAUTHORIZEDOPERATION_AUTHORIZE = "UnauthorizedOperation.Authorize" UNAUTHORIZEDOPERATION_USERNOTEXIST = "UnauthorizedOperation.UserNotExist" UNSUPPORTEDOPERATION_BIERROR = "UnsupportedOperation.BIError"
func (*Client) DescribeProjectInfoWithContext ¶
func (c *Client) DescribeProjectInfoWithContext(ctx context.Context, request *DescribeProjectInfoRequest) (response *DescribeProjectInfoResponse, err error)
DescribeProjectInfo This API is used to obtain project details.
error code that may be returned:
MISSINGPARAMETER_MISSINGPARAM = "MissingParameter.MissingParam" UNAUTHORIZEDOPERATION_AUTHORIZE = "UnauthorizedOperation.Authorize" UNAUTHORIZEDOPERATION_USERNOTEXIST = "UnauthorizedOperation.UserNotExist" UNSUPPORTEDOPERATION_BIERROR = "UnsupportedOperation.BIError"
func (*Client) DescribeProjectList ¶
func (c *Client) DescribeProjectList(request *DescribeProjectListRequest) (response *DescribeProjectListResponse, err error)
DescribeProjectList This API is used to obtain project information.
error code that may be returned:
INTERNALERROR_INTERNAL = "InternalError.Internal" MISSINGPARAMETER_MISSINGPARAM = "MissingParameter.MissingParam" UNAUTHORIZEDOPERATION_AUTHORIZE = "UnauthorizedOperation.Authorize" UNAUTHORIZEDOPERATION_INACTIVE = "UnauthorizedOperation.Inactive" UNAUTHORIZEDOPERATION_USERNOTEXIST = "UnauthorizedOperation.UserNotExist"
func (*Client) DescribeProjectListWithContext ¶
func (c *Client) DescribeProjectListWithContext(ctx context.Context, request *DescribeProjectListRequest) (response *DescribeProjectListResponse, err error)
DescribeProjectList This API is used to obtain project information.
error code that may be returned:
INTERNALERROR_INTERNAL = "InternalError.Internal" MISSINGPARAMETER_MISSINGPARAM = "MissingParameter.MissingParam" UNAUTHORIZEDOPERATION_AUTHORIZE = "UnauthorizedOperation.Authorize" UNAUTHORIZEDOPERATION_INACTIVE = "UnauthorizedOperation.Inactive" UNAUTHORIZEDOPERATION_USERNOTEXIST = "UnauthorizedOperation.UserNotExist"
func (*Client) DescribeUserProjectList ¶
func (c *Client) DescribeUserProjectList(request *DescribeUserProjectListRequest) (response *DescribeUserProjectListResponse, err error)
DescribeUserProjectList This API is used to obtain the user interface in the project.
error code that may be returned:
MISSINGPARAMETER_MISSINGPARAM = "MissingParameter.MissingParam" UNSUPPORTEDOPERATION_BIERROR = "UnsupportedOperation.BIError"
func (*Client) DescribeUserProjectListWithContext ¶
func (c *Client) DescribeUserProjectListWithContext(ctx context.Context, request *DescribeUserProjectListRequest) (response *DescribeUserProjectListResponse, err error)
DescribeUserProjectList This API is used to obtain the user interface in the project.
error code that may be returned:
MISSINGPARAMETER_MISSINGPARAM = "MissingParameter.MissingParam" UNSUPPORTEDOPERATION_BIERROR = "UnsupportedOperation.BIError"
func (*Client) DescribeUserRoleList ¶
func (c *Client) DescribeUserRoleList(request *DescribeUserRoleListRequest) (response *DescribeUserRoleListResponse, err error)
DescribeUserRoleList This API is used to obtain the user role list.
error code that may be returned:
INTERNALERROR_INTERNAL = "InternalError.Internal" MISSINGPARAMETER_MISSINGPARAM = "MissingParameter.MissingParam" UNAUTHORIZEDOPERATION_AUTHORIZE = "UnauthorizedOperation.Authorize" UNAUTHORIZEDOPERATION_INACTIVE = "UnauthorizedOperation.Inactive" UNAUTHORIZEDOPERATION_USERNOTEXIST = "UnauthorizedOperation.UserNotExist" UNSUPPORTEDOPERATION_BIERROR = "UnsupportedOperation.BIError"
func (*Client) DescribeUserRoleListWithContext ¶
func (c *Client) DescribeUserRoleListWithContext(ctx context.Context, request *DescribeUserRoleListRequest) (response *DescribeUserRoleListResponse, err error)
DescribeUserRoleList This API is used to obtain the user role list.
error code that may be returned:
INTERNALERROR_INTERNAL = "InternalError.Internal" MISSINGPARAMETER_MISSINGPARAM = "MissingParameter.MissingParam" UNAUTHORIZEDOPERATION_AUTHORIZE = "UnauthorizedOperation.Authorize" UNAUTHORIZEDOPERATION_INACTIVE = "UnauthorizedOperation.Inactive" UNAUTHORIZEDOPERATION_USERNOTEXIST = "UnauthorizedOperation.UserNotExist" UNSUPPORTEDOPERATION_BIERROR = "UnsupportedOperation.BIError"
func (*Client) DescribeUserRoleProjectList ¶
func (c *Client) DescribeUserRoleProjectList(request *DescribeUserRoleProjectListRequest) (response *DescribeUserRoleProjectListResponse, err error)
DescribeUserRoleProjectList This API is used to obtain the user role list in the project.
error code that may be returned:
INTERNALERROR_INTERNAL = "InternalError.Internal" MISSINGPARAMETER_MISSINGPARAM = "MissingParameter.MissingParam" UNAUTHORIZEDOPERATION_AUTHORIZE = "UnauthorizedOperation.Authorize" UNAUTHORIZEDOPERATION_INACTIVE = "UnauthorizedOperation.Inactive" UNAUTHORIZEDOPERATION_USERNOTEXIST = "UnauthorizedOperation.UserNotExist" UNSUPPORTEDOPERATION_BIERROR = "UnsupportedOperation.BIError"
func (*Client) DescribeUserRoleProjectListWithContext ¶
func (c *Client) DescribeUserRoleProjectListWithContext(ctx context.Context, request *DescribeUserRoleProjectListRequest) (response *DescribeUserRoleProjectListResponse, err error)
DescribeUserRoleProjectList This API is used to obtain the user role list in the project.
error code that may be returned:
INTERNALERROR_INTERNAL = "InternalError.Internal" MISSINGPARAMETER_MISSINGPARAM = "MissingParameter.MissingParam" UNAUTHORIZEDOPERATION_AUTHORIZE = "UnauthorizedOperation.Authorize" UNAUTHORIZEDOPERATION_INACTIVE = "UnauthorizedOperation.Inactive" UNAUTHORIZEDOPERATION_USERNOTEXIST = "UnauthorizedOperation.UserNotExist" UNSUPPORTEDOPERATION_BIERROR = "UnsupportedOperation.BIError"
func (*Client) ExportScreenPage ¶
func (c *Client) ExportScreenPage(request *ExportScreenPageRequest) (response *ExportScreenPageResponse, err error)
ExportScreenPage This API is used to export a screenshot.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_INTERNAL = "InternalError.Internal" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" MISSINGPARAMETER_MISSINGPARAM = "MissingParameter.MissingParam" UNSUPPORTEDOPERATION_BIERROR = "UnsupportedOperation.BIError"
func (*Client) ExportScreenPageWithContext ¶
func (c *Client) ExportScreenPageWithContext(ctx context.Context, request *ExportScreenPageRequest) (response *ExportScreenPageResponse, err error)
ExportScreenPage This API is used to export a screenshot.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_INTERNAL = "InternalError.Internal" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" MISSINGPARAMETER_MISSINGPARAM = "MissingParameter.MissingParam" UNSUPPORTEDOPERATION_BIERROR = "UnsupportedOperation.BIError"
func (*Client) ModifyDatasource ¶
func (c *Client) ModifyDatasource(request *ModifyDatasourceRequest) (response *ModifyDatasourceResponse, err error)
ModifyDatasource This API is used to update a data source.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_INTERNAL = "InternalError.Internal" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" MISSINGPARAMETER_MISSINGPARAM = "MissingParameter.MissingParam" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_AUTHORIZE = "UnauthorizedOperation.Authorize" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_BIERROR = "UnsupportedOperation.BIError"
func (*Client) ModifyDatasourceCloud ¶
func (c *Client) ModifyDatasourceCloud(request *ModifyDatasourceCloudRequest) (response *ModifyDatasourceCloudResponse, err error)
ModifyDatasourceCloud This API is used to update a cloud database.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_INTERNAL = "InternalError.Internal" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" MISSINGPARAMETER_MISSINGPARAM = "MissingParameter.MissingParam" OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_AUTHORIZE = "UnauthorizedOperation.Authorize" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_BIERROR = "UnsupportedOperation.BIError"
func (*Client) ModifyDatasourceCloudWithContext ¶
func (c *Client) ModifyDatasourceCloudWithContext(ctx context.Context, request *ModifyDatasourceCloudRequest) (response *ModifyDatasourceCloudResponse, err error)
ModifyDatasourceCloud This API is used to update a cloud database.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_INTERNAL = "InternalError.Internal" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" MISSINGPARAMETER_MISSINGPARAM = "MissingParameter.MissingParam" OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_AUTHORIZE = "UnauthorizedOperation.Authorize" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_BIERROR = "UnsupportedOperation.BIError"
func (*Client) ModifyDatasourceWithContext ¶
func (c *Client) ModifyDatasourceWithContext(ctx context.Context, request *ModifyDatasourceRequest) (response *ModifyDatasourceResponse, err error)
ModifyDatasource This API is used to update a data source.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_INTERNAL = "InternalError.Internal" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" MISSINGPARAMETER_MISSINGPARAM = "MissingParameter.MissingParam" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_AUTHORIZE = "UnauthorizedOperation.Authorize" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_BIERROR = "UnsupportedOperation.BIError"
func (*Client) ModifyProject ¶
func (c *Client) ModifyProject(request *ModifyProjectRequest) (response *ModifyProjectResponse, err error)
ModifyProject This API is used to modify project information.
error code that may be returned:
MISSINGPARAMETER_MISSINGPARAM = "MissingParameter.MissingParam" UNAUTHORIZEDOPERATION_AUTHORIZE = "UnauthorizedOperation.Authorize"
func (*Client) ModifyProjectWithContext ¶
func (c *Client) ModifyProjectWithContext(ctx context.Context, request *ModifyProjectRequest) (response *ModifyProjectResponse, err error)
ModifyProject This API is used to modify project information.
error code that may be returned:
MISSINGPARAMETER_MISSINGPARAM = "MissingParameter.MissingParam" UNAUTHORIZEDOPERATION_AUTHORIZE = "UnauthorizedOperation.Authorize"
func (*Client) ModifyUserRole ¶
func (c *Client) ModifyUserRole(request *ModifyUserRoleRequest) (response *ModifyUserRoleResponse, err error)
ModifyUserRole This API is used to modify user role info.
error code that may be returned:
INTERNALERROR_INTERNAL = "InternalError.Internal" MISSINGPARAMETER_MISSINGPARAM = "MissingParameter.MissingParam" UNAUTHORIZEDOPERATION_AUTHORIZE = "UnauthorizedOperation.Authorize"
func (*Client) ModifyUserRoleProject ¶
func (c *Client) ModifyUserRoleProject(request *ModifyUserRoleProjectRequest) (response *ModifyUserRoleProjectResponse, err error)
ModifyUserRoleProject This API is used to modify the user role info in the project.
error code that may be returned:
INTERNALERROR_INTERNAL = "InternalError.Internal" MISSINGPARAMETER_MISSINGPARAM = "MissingParameter.MissingParam" UNAUTHORIZEDOPERATION_AUTHORIZE = "UnauthorizedOperation.Authorize"
func (*Client) ModifyUserRoleProjectWithContext ¶
func (c *Client) ModifyUserRoleProjectWithContext(ctx context.Context, request *ModifyUserRoleProjectRequest) (response *ModifyUserRoleProjectResponse, err error)
ModifyUserRoleProject This API is used to modify the user role info in the project.
error code that may be returned:
INTERNALERROR_INTERNAL = "InternalError.Internal" MISSINGPARAMETER_MISSINGPARAM = "MissingParameter.MissingParam" UNAUTHORIZEDOPERATION_AUTHORIZE = "UnauthorizedOperation.Authorize"
func (*Client) ModifyUserRoleWithContext ¶
func (c *Client) ModifyUserRoleWithContext(ctx context.Context, request *ModifyUserRoleRequest) (response *ModifyUserRoleResponse, err error)
ModifyUserRole This API is used to modify user role info.
error code that may be returned:
INTERNALERROR_INTERNAL = "InternalError.Internal" MISSINGPARAMETER_MISSINGPARAM = "MissingParameter.MissingParam" UNAUTHORIZEDOPERATION_AUTHORIZE = "UnauthorizedOperation.Authorize"
type CorpUserListData ¶
type CorpUserListData struct { // List. // Note: This field may return null, indicating that no valid values can be obtained. List []*UserIdAndUserName `json:"List,omitnil,omitempty" name:"List"` // Total number. Total *int64 `json:"Total,omitnil,omitempty" name:"Total"` // Number of pages. TotalPages *int64 `json:"TotalPages,omitnil,omitempty" name:"TotalPages"` }
type CreateDatasourceCloudRequest ¶
type CreateDatasourceCloudRequest struct { *tchttp.BaseRequest // The backend provides dictionaries: domain type. 1. Tencent Cloud, 2. local. ServiceType *string `json:"ServiceType,omitnil,omitempty" name:"ServiceType"` // Drive. DbType *string `json:"DbType,omitnil,omitempty" name:"DbType"` // Database encoding. Charset *string `json:"Charset,omitnil,omitempty" name:"Charset"` // Username. DbUser *string `json:"DbUser,omitnil,omitempty" name:"DbUser"` // Password. DbPwd *string `json:"DbPwd,omitnil,omitempty" name:"DbPwd"` // Database name. DbName *string `json:"DbName,omitnil,omitempty" name:"DbName"` // Database alias. SourceName *string `json:"SourceName,omitnil,omitempty" name:"SourceName"` // Project ID. ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Private network IP address of the public cloud. Vip *string `json:"Vip,omitnil,omitempty" name:"Vip"` // Private network port of the public cloud. Vport *string `json:"Vport,omitnil,omitempty" name:"Vport"` // VPC identifier. VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // Unified VPC identifier. UniqVpcId *string `json:"UniqVpcId,omitnil,omitempty" name:"UniqVpcId"` // Region identifier (gz, bj). RegionId *string `json:"RegionId,omitnil,omitempty" name:"RegionId"` // Extension parameter. ExtraParam *string `json:"ExtraParam,omitnil,omitempty" name:"ExtraParam"` // Instance ID. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Product name of the data source. ProdDbName *string `json:"ProdDbName,omitnil,omitempty" name:"ProdDbName"` // Third-party data source identifier. DataOrigin *string `json:"DataOrigin,omitnil,omitempty" name:"DataOrigin"` // Third-party project ID. DataOriginProjectId *string `json:"DataOriginProjectId,omitnil,omitempty" name:"DataOriginProjectId"` // Third-party data source ID. DataOriginDatasourceId *string `json:"DataOriginDatasourceId,omitnil,omitempty" name:"DataOriginDatasourceId"` // Cluster ID. ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` Schema *string `json:"Schema,omitnil,omitempty" name:"Schema"` DbVersion *string `json:"DbVersion,omitnil,omitempty" name:"DbVersion"` }
func NewCreateDatasourceCloudRequest ¶
func NewCreateDatasourceCloudRequest() (request *CreateDatasourceCloudRequest)
func (*CreateDatasourceCloudRequest) FromJsonString ¶
func (r *CreateDatasourceCloudRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateDatasourceCloudRequest) ToJsonString ¶
func (r *CreateDatasourceCloudRequest) ToJsonString() string
type CreateDatasourceCloudRequestParams ¶
type CreateDatasourceCloudRequestParams struct { // The backend provides dictionaries: domain type. 1. Tencent Cloud, 2. local. ServiceType *string `json:"ServiceType,omitnil,omitempty" name:"ServiceType"` // Drive. DbType *string `json:"DbType,omitnil,omitempty" name:"DbType"` // Database encoding. Charset *string `json:"Charset,omitnil,omitempty" name:"Charset"` // Username. DbUser *string `json:"DbUser,omitnil,omitempty" name:"DbUser"` // Password. DbPwd *string `json:"DbPwd,omitnil,omitempty" name:"DbPwd"` // Database name. DbName *string `json:"DbName,omitnil,omitempty" name:"DbName"` // Database alias. SourceName *string `json:"SourceName,omitnil,omitempty" name:"SourceName"` // Project ID. ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Private network IP address of the public cloud. Vip *string `json:"Vip,omitnil,omitempty" name:"Vip"` // Private network port of the public cloud. Vport *string `json:"Vport,omitnil,omitempty" name:"Vport"` // VPC identifier. VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // Unified VPC identifier. UniqVpcId *string `json:"UniqVpcId,omitnil,omitempty" name:"UniqVpcId"` // Region identifier (gz, bj). RegionId *string `json:"RegionId,omitnil,omitempty" name:"RegionId"` // Extension parameter. ExtraParam *string `json:"ExtraParam,omitnil,omitempty" name:"ExtraParam"` // Instance ID. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Product name of the data source. ProdDbName *string `json:"ProdDbName,omitnil,omitempty" name:"ProdDbName"` // Third-party data source identifier. DataOrigin *string `json:"DataOrigin,omitnil,omitempty" name:"DataOrigin"` // Third-party project ID. DataOriginProjectId *string `json:"DataOriginProjectId,omitnil,omitempty" name:"DataOriginProjectId"` // Third-party data source ID. DataOriginDatasourceId *string `json:"DataOriginDatasourceId,omitnil,omitempty" name:"DataOriginDatasourceId"` // Cluster ID. ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` Schema *string `json:"Schema,omitnil,omitempty" name:"Schema"` DbVersion *string `json:"DbVersion,omitnil,omitempty" name:"DbVersion"` }
Predefined struct for user
type CreateDatasourceCloudResponse ¶
type CreateDatasourceCloudResponse struct { *tchttp.BaseResponse Response *CreateDatasourceCloudResponseParams `json:"Response"` }
func NewCreateDatasourceCloudResponse ¶
func NewCreateDatasourceCloudResponse() (response *CreateDatasourceCloudResponse)
func (*CreateDatasourceCloudResponse) FromJsonString ¶
func (r *CreateDatasourceCloudResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateDatasourceCloudResponse) ToJsonString ¶
func (r *CreateDatasourceCloudResponse) ToJsonString() string
type CreateDatasourceCloudResponseParams ¶
type CreateDatasourceCloudResponseParams struct { // Custom error information object. // Note: This field may return null, indicating that no valid values can be obtained. ErrorInfo *ErrorInfo `json:"ErrorInfo,omitnil,omitempty" name:"ErrorInfo"` // Success No. // Note: This field may return null, indicating that no valid values can be obtained. Data *IdDTO `json:"Data,omitnil,omitempty" name:"Data"` // Additional information. // Note: This field may return null, indicating that no valid values can be obtained. Extra *string `json:"Extra,omitnil,omitempty" name:"Extra"` // Prompt. // Note: This field may return null, indicating that no valid values can be obtained. Msg *string `json:"Msg,omitnil,omitempty" name:"Msg"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateDatasourceRequest ¶
type CreateDatasourceRequest struct { *tchttp.BaseRequest // HOST DbHost *string `json:"DbHost,omitnil,omitempty" name:"DbHost"` // Port. DbPort *uint64 `json:"DbPort,omitnil,omitempty" name:"DbPort"` // The backend provides dictionaries: domain type. 1. Tencent Cloud, 2. local. ServiceType *string `json:"ServiceType,omitnil,omitempty" name:"ServiceType"` // Drive. DbType *string `json:"DbType,omitnil,omitempty" name:"DbType"` // Database encoding. Charset *string `json:"Charset,omitnil,omitempty" name:"Charset"` // Username. DbUser *string `json:"DbUser,omitnil,omitempty" name:"DbUser"` // Password. DbPwd *string `json:"DbPwd,omitnil,omitempty" name:"DbPwd"` // Database name. DbName *string `json:"DbName,omitnil,omitempty" name:"DbName"` // Database alias. SourceName *string `json:"SourceName,omitnil,omitempty" name:"SourceName"` // Project ID. ProjectId *uint64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Catalog value. Catalog *string `json:"Catalog,omitnil,omitempty" name:"Catalog"` // Third-party data source identifier. DataOrigin *string `json:"DataOrigin,omitnil,omitempty" name:"DataOrigin"` // Third-party project ID. DataOriginProjectId *string `json:"DataOriginProjectId,omitnil,omitempty" name:"DataOriginProjectId"` // Third-party data source ID. DataOriginDatasourceId *string `json:"DataOriginDatasourceId,omitnil,omitempty" name:"DataOriginDatasourceId"` // Extension parameter. ExtraParam *string `json:"ExtraParam,omitnil,omitempty" name:"ExtraParam"` // Unified identifier of the Tencent Cloud VPC. UniqVpcId *string `json:"UniqVpcId,omitnil,omitempty" name:"UniqVpcId"` // VPC IP address. Vip *string `json:"Vip,omitnil,omitempty" name:"Vip"` // VPC port. Vport *string `json:"Vport,omitnil,omitempty" name:"Vport"` // Tencent Cloud VPC identifier. VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // Operation permission limitation. OperationAuthLimit []*string `json:"OperationAuthLimit,omitnil,omitempty" name:"OperationAuthLimit"` // Enables VPC. UseVPC *bool `json:"UseVPC,omitnil,omitempty" name:"UseVPC"` // Region. RegionId *string `json:"RegionId,omitnil,omitempty" name:"RegionId"` }
func NewCreateDatasourceRequest ¶
func NewCreateDatasourceRequest() (request *CreateDatasourceRequest)
func (*CreateDatasourceRequest) FromJsonString ¶
func (r *CreateDatasourceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateDatasourceRequest) ToJsonString ¶
func (r *CreateDatasourceRequest) ToJsonString() string
type CreateDatasourceRequestParams ¶
type CreateDatasourceRequestParams struct { // HOST DbHost *string `json:"DbHost,omitnil,omitempty" name:"DbHost"` // Port. DbPort *uint64 `json:"DbPort,omitnil,omitempty" name:"DbPort"` // The backend provides dictionaries: domain type. 1. Tencent Cloud, 2. local. ServiceType *string `json:"ServiceType,omitnil,omitempty" name:"ServiceType"` // Drive. DbType *string `json:"DbType,omitnil,omitempty" name:"DbType"` // Database encoding. Charset *string `json:"Charset,omitnil,omitempty" name:"Charset"` // Username. DbUser *string `json:"DbUser,omitnil,omitempty" name:"DbUser"` // Password. DbPwd *string `json:"DbPwd,omitnil,omitempty" name:"DbPwd"` // Database name. DbName *string `json:"DbName,omitnil,omitempty" name:"DbName"` // Database alias. SourceName *string `json:"SourceName,omitnil,omitempty" name:"SourceName"` // Project ID. ProjectId *uint64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Catalog value. Catalog *string `json:"Catalog,omitnil,omitempty" name:"Catalog"` // Third-party data source identifier. DataOrigin *string `json:"DataOrigin,omitnil,omitempty" name:"DataOrigin"` // Third-party project ID. DataOriginProjectId *string `json:"DataOriginProjectId,omitnil,omitempty" name:"DataOriginProjectId"` // Third-party data source ID. DataOriginDatasourceId *string `json:"DataOriginDatasourceId,omitnil,omitempty" name:"DataOriginDatasourceId"` // Extension parameter. ExtraParam *string `json:"ExtraParam,omitnil,omitempty" name:"ExtraParam"` // Unified identifier of the Tencent Cloud VPC. UniqVpcId *string `json:"UniqVpcId,omitnil,omitempty" name:"UniqVpcId"` // VPC IP address. Vip *string `json:"Vip,omitnil,omitempty" name:"Vip"` // VPC port. Vport *string `json:"Vport,omitnil,omitempty" name:"Vport"` // Tencent Cloud VPC identifier. VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // Operation permission limitation. OperationAuthLimit []*string `json:"OperationAuthLimit,omitnil,omitempty" name:"OperationAuthLimit"` // Enables VPC. UseVPC *bool `json:"UseVPC,omitnil,omitempty" name:"UseVPC"` // Region. RegionId *string `json:"RegionId,omitnil,omitempty" name:"RegionId"` }
Predefined struct for user
type CreateDatasourceResponse ¶
type CreateDatasourceResponse struct { *tchttp.BaseResponse Response *CreateDatasourceResponseParams `json:"Response"` }
func NewCreateDatasourceResponse ¶
func NewCreateDatasourceResponse() (response *CreateDatasourceResponse)
func (*CreateDatasourceResponse) FromJsonString ¶
func (r *CreateDatasourceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateDatasourceResponse) ToJsonString ¶
func (r *CreateDatasourceResponse) ToJsonString() string
type CreateDatasourceResponseParams ¶
type CreateDatasourceResponseParams struct { // Custom error information object. // Note: This field may return null, indicating that no valid values can be obtained. ErrorInfo *ErrorInfo `json:"ErrorInfo,omitnil,omitempty" name:"ErrorInfo"` // Data source ID. // Note: This field may return null, indicating that no valid values can be obtained. Data *IdDTO `json:"Data,omitnil,omitempty" name:"Data"` // Additional information. // Note: This field may return null, indicating that no valid values can be obtained. Extra *string `json:"Extra,omitnil,omitempty" name:"Extra"` // Prompt. // Note: This field may return null, indicating that no valid values can be obtained. Msg *string `json:"Msg,omitnil,omitempty" name:"Msg"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateEmbedTokenRequest ¶
type CreateEmbedTokenRequest struct { *tchttp.BaseRequest // Shares the project ID. ProjectId *uint64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Shares the page ID. This field is empty (0) for embedding a dashboard and is not passed for embedding ChatBI. PageId *uint64 `json:"PageId,omitnil,omitempty" name:"PageId"` // "embed" indicates page dashboard embedding, and "chatBIEmbed" indicates ChatBI embedding. Intention *string `json:"Intention,omitnil,omitempty" name:"Intention"` // "page" indicates embedding a page, "panel" indicates embedding the entire dashboard, and "project" is used for ChatBI embedding. Scope *string `json:"Scope,omitnil,omitempty" name:"Scope"` // Expiration time. Unit: minutes. Maximum value: 240 (namely, 4 hours). Default value: 240. ExpireTime *string `json:"ExpireTime,omitnil,omitempty" name:"ExpireTime"` // Alternate field. ExtraParam *string `json:"ExtraParam,omitnil,omitempty" name:"ExtraParam"` // User enterprise ID (only used for multi-user). UserCorpId *string `json:"UserCorpId,omitnil,omitempty" name:"UserCorpId"` // User ID (only used for multi-user). UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"` // Access count limit (range: 1-99999). Leave empty to disable access restrictions. TicketNum *int64 `json:"TicketNum,omitnil,omitempty" name:"TicketNum"` // 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. GlobalParam *string `json:"GlobalParam,omitnil,omitempty" name:"GlobalParam"` // 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. TokenType *int64 `json:"TokenType,omitnil,omitempty" name:"TokenType"` // The number of tokens created at one time. TokenNum *int64 `json:"TokenNum,omitnil,omitempty" name:"TokenNum"` // Embedded display configurations: Currently for ChatBI embedding scenarios; TableFilter represents data table list filtering, SqlView represents SQL view feature. ConfigParam *string `json:"ConfigParam,omitnil,omitempty" name:"ConfigParam"` }
func NewCreateEmbedTokenRequest ¶
func NewCreateEmbedTokenRequest() (request *CreateEmbedTokenRequest)
func (*CreateEmbedTokenRequest) FromJsonString ¶
func (r *CreateEmbedTokenRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateEmbedTokenRequest) ToJsonString ¶
func (r *CreateEmbedTokenRequest) ToJsonString() string
type CreateEmbedTokenRequestParams ¶
type CreateEmbedTokenRequestParams struct { // Shares the project ID. ProjectId *uint64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Shares the page ID. This field is empty (0) for embedding a dashboard and is not passed for embedding ChatBI. PageId *uint64 `json:"PageId,omitnil,omitempty" name:"PageId"` // "embed" indicates page dashboard embedding, and "chatBIEmbed" indicates ChatBI embedding. Intention *string `json:"Intention,omitnil,omitempty" name:"Intention"` // "page" indicates embedding a page, "panel" indicates embedding the entire dashboard, and "project" is used for ChatBI embedding. Scope *string `json:"Scope,omitnil,omitempty" name:"Scope"` // Expiration time. Unit: minutes. Maximum value: 240 (namely, 4 hours). Default value: 240. ExpireTime *string `json:"ExpireTime,omitnil,omitempty" name:"ExpireTime"` // Alternate field. ExtraParam *string `json:"ExtraParam,omitnil,omitempty" name:"ExtraParam"` // User enterprise ID (only used for multi-user). UserCorpId *string `json:"UserCorpId,omitnil,omitempty" name:"UserCorpId"` // User ID (only used for multi-user). UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"` // Access count limit (range: 1-99999). Leave empty to disable access restrictions. TicketNum *int64 `json:"TicketNum,omitnil,omitempty" name:"TicketNum"` // 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. GlobalParam *string `json:"GlobalParam,omitnil,omitempty" name:"GlobalParam"` // 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. TokenType *int64 `json:"TokenType,omitnil,omitempty" name:"TokenType"` // The number of tokens created at one time. TokenNum *int64 `json:"TokenNum,omitnil,omitempty" name:"TokenNum"` // Embedded display configurations: Currently for ChatBI embedding scenarios; TableFilter represents data table list filtering, SqlView represents SQL view feature. ConfigParam *string `json:"ConfigParam,omitnil,omitempty" name:"ConfigParam"` }
Predefined struct for user
type CreateEmbedTokenResponse ¶
type CreateEmbedTokenResponse struct { *tchttp.BaseResponse Response *CreateEmbedTokenResponseParams `json:"Response"` }
func NewCreateEmbedTokenResponse ¶
func NewCreateEmbedTokenResponse() (response *CreateEmbedTokenResponse)
func (*CreateEmbedTokenResponse) FromJsonString ¶
func (r *CreateEmbedTokenResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateEmbedTokenResponse) ToJsonString ¶
func (r *CreateEmbedTokenResponse) ToJsonString() string
type CreateEmbedTokenResponseParams ¶
type CreateEmbedTokenResponseParams struct { // Custom error information object. // Note: This field may return null, indicating that no valid values can be obtained. ErrorInfo *ErrorInfo `json:"ErrorInfo,omitnil,omitempty" name:"ErrorInfo"` // Additional information. // Note: This field may return null, indicating that no valid values can be obtained. Extra *string `json:"Extra,omitnil,omitempty" name:"Extra"` // Data. // Note: This field may return null, indicating that no valid values can be obtained. Data *EmbedTokenInfo `json:"Data,omitnil,omitempty" name:"Data"` // Result description. // Note: This field may return null, indicating that no valid values can be obtained. Msg *string `json:"Msg,omitnil,omitempty" name:"Msg"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateProjectRequest ¶
type CreateProjectRequest struct { *tchttp.BaseRequest // Project name. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Background color of the logo. ColorCode *string `json:"ColorCode,omitnil,omitempty" name:"ColorCode"` // Project logo. Logo *string `json:"Logo,omitnil,omitempty" name:"Logo"` // Remarks. Mark *string `json:"Mark,omitnil,omitempty" name:"Mark"` // Whether to allow user requests. IsApply *bool `json:"IsApply,omitnil,omitempty" name:"IsApply"` // Default dashboard. DefaultPanelType *int64 `json:"DefaultPanelType,omitnil,omitempty" name:"DefaultPanelType"` // Management platform. ManagePlatform *string `json:"ManagePlatform,omitnil,omitempty" name:"ManagePlatform"` }
func NewCreateProjectRequest ¶
func NewCreateProjectRequest() (request *CreateProjectRequest)
func (*CreateProjectRequest) FromJsonString ¶
func (r *CreateProjectRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateProjectRequest) ToJsonString ¶
func (r *CreateProjectRequest) ToJsonString() string
type CreateProjectRequestParams ¶
type CreateProjectRequestParams struct { // Project name. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Background color of the logo. ColorCode *string `json:"ColorCode,omitnil,omitempty" name:"ColorCode"` // Project logo. Logo *string `json:"Logo,omitnil,omitempty" name:"Logo"` // Remarks. Mark *string `json:"Mark,omitnil,omitempty" name:"Mark"` // Whether to allow user requests. IsApply *bool `json:"IsApply,omitnil,omitempty" name:"IsApply"` // Default dashboard. DefaultPanelType *int64 `json:"DefaultPanelType,omitnil,omitempty" name:"DefaultPanelType"` // Management platform. ManagePlatform *string `json:"ManagePlatform,omitnil,omitempty" name:"ManagePlatform"` }
Predefined struct for user
type CreateProjectResponse ¶
type CreateProjectResponse struct { *tchttp.BaseResponse Response *CreateProjectResponseParams `json:"Response"` }
func NewCreateProjectResponse ¶
func NewCreateProjectResponse() (response *CreateProjectResponse)
func (*CreateProjectResponse) FromJsonString ¶
func (r *CreateProjectResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateProjectResponse) ToJsonString ¶
func (r *CreateProjectResponse) ToJsonString() string
type CreateProjectResponseParams ¶
type CreateProjectResponseParams struct { // Custom error information object. // Note: This field may return null, indicating that no valid values can be obtained. ErrorInfo *ErrorInfo `json:"ErrorInfo,omitnil,omitempty" name:"ErrorInfo"` // Extra data. Extra *string `json:"Extra,omitnil,omitempty" name:"Extra"` // Data. Data *Data `json:"Data,omitnil,omitempty" name:"Data"` // Returned information. Msg *string `json:"Msg,omitnil,omitempty" name:"Msg"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateUserRoleProjectRequest ¶
type CreateUserRoleProjectRequest struct { *tchttp.BaseRequest // Project ID. ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Role ID list. RoleIdList []*int64 `json:"RoleIdList,omitnil,omitempty" name:"RoleIdList"` // User list (deprecated). UserList []*UserIdAndUserName `json:"UserList,omitnil,omitempty" name:"UserList"` // User list (new). UserInfoList []*UserInfo `json:"UserInfoList,omitnil,omitempty" name:"UserInfoList"` }
func NewCreateUserRoleProjectRequest ¶
func NewCreateUserRoleProjectRequest() (request *CreateUserRoleProjectRequest)
func (*CreateUserRoleProjectRequest) FromJsonString ¶
func (r *CreateUserRoleProjectRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateUserRoleProjectRequest) ToJsonString ¶
func (r *CreateUserRoleProjectRequest) ToJsonString() string
type CreateUserRoleProjectRequestParams ¶
type CreateUserRoleProjectRequestParams struct { // Project ID. ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Role ID list. RoleIdList []*int64 `json:"RoleIdList,omitnil,omitempty" name:"RoleIdList"` // User list (deprecated). // // Deprecated: UserList is deprecated. UserList []*UserIdAndUserName `json:"UserList,omitnil,omitempty" name:"UserList"` // User list (new). UserInfoList []*UserInfo `json:"UserInfoList,omitnil,omitempty" name:"UserInfoList"` }
Predefined struct for user
type CreateUserRoleProjectResponse ¶
type CreateUserRoleProjectResponse struct { *tchttp.BaseResponse Response *CreateUserRoleProjectResponseParams `json:"Response"` }
func NewCreateUserRoleProjectResponse ¶
func NewCreateUserRoleProjectResponse() (response *CreateUserRoleProjectResponse)
func (*CreateUserRoleProjectResponse) FromJsonString ¶
func (r *CreateUserRoleProjectResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateUserRoleProjectResponse) ToJsonString ¶
func (r *CreateUserRoleProjectResponse) ToJsonString() string
type CreateUserRoleProjectResponseParams ¶
type CreateUserRoleProjectResponseParams struct { // Custom error information object. // Note: This field may return null, indicating that no valid values can be obtained. ErrorInfo *ErrorInfo `json:"ErrorInfo,omitnil,omitempty" name:"ErrorInfo"` // Expansion. // Note: This field may return null, indicating that no valid values can be obtained. Extra *string `json:"Extra,omitnil,omitempty" name:"Extra"` // Data. // Note: This field may return null, indicating that no valid values can be obtained. Data *DataId `json:"Data,omitnil,omitempty" name:"Data"` // Message. // Note: This field may return null, indicating that no valid values can be obtained. Msg *string `json:"Msg,omitnil,omitempty" name:"Msg"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateUserRoleRequest ¶
type CreateUserRoleRequest struct { *tchttp.BaseRequest // Role ID list. RoleIdList []*int64 `json:"RoleIdList,omitnil,omitempty" name:"RoleIdList"` // User list (deprecated). UserList []*UserIdAndUserName `json:"UserList,omitnil,omitempty" name:"UserList"` // User list (new). UserInfoList []*UserInfo `json:"UserInfoList,omitnil,omitempty" name:"UserInfoList"` // User group ID list. UserGroups []*uint64 `json:"UserGroups,omitnil,omitempty" name:"UserGroups"` }
func NewCreateUserRoleRequest ¶
func NewCreateUserRoleRequest() (request *CreateUserRoleRequest)
func (*CreateUserRoleRequest) FromJsonString ¶
func (r *CreateUserRoleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateUserRoleRequest) ToJsonString ¶
func (r *CreateUserRoleRequest) ToJsonString() string
type CreateUserRoleRequestParams ¶
type CreateUserRoleRequestParams struct { // Role ID list. RoleIdList []*int64 `json:"RoleIdList,omitnil,omitempty" name:"RoleIdList"` // User list (deprecated). // // Deprecated: UserList is deprecated. UserList []*UserIdAndUserName `json:"UserList,omitnil,omitempty" name:"UserList"` // User list (new). UserInfoList []*UserInfo `json:"UserInfoList,omitnil,omitempty" name:"UserInfoList"` // User group ID list. UserGroups []*uint64 `json:"UserGroups,omitnil,omitempty" name:"UserGroups"` }
Predefined struct for user
type CreateUserRoleResponse ¶
type CreateUserRoleResponse struct { *tchttp.BaseResponse Response *CreateUserRoleResponseParams `json:"Response"` }
func NewCreateUserRoleResponse ¶
func NewCreateUserRoleResponse() (response *CreateUserRoleResponse)
func (*CreateUserRoleResponse) FromJsonString ¶
func (r *CreateUserRoleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateUserRoleResponse) ToJsonString ¶
func (r *CreateUserRoleResponse) ToJsonString() string
type CreateUserRoleResponseParams ¶
type CreateUserRoleResponseParams struct { // Custom error information object. // Note: This field may return null, indicating that no valid values can be obtained. ErrorInfo *ErrorInfo `json:"ErrorInfo,omitnil,omitempty" name:"ErrorInfo"` // Expansion. // Note: This field may return null, indicating that no valid values can be obtained. Extra *string `json:"Extra,omitnil,omitempty" name:"Extra"` // Data. // Note: This field may return null, indicating that no valid values can be obtained. Data *DataId `json:"Data,omitnil,omitempty" name:"Data"` // Message. // Note: This field may return null, indicating that no valid values can be obtained. Msg *string `json:"Msg,omitnil,omitempty" name:"Msg"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DataId ¶
type DataId struct { // Data ID. // Note: This field may return null, indicating that no valid values can be obtained. Id *int64 `json:"Id,omitnil,omitempty" name:"Id"` }
type DatasourceInfo ¶
type DatasourceInfo struct { // Database ID. Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"` // Database name. DbName *string `json:"DbName,omitnil,omitempty" name:"DbName"` // Domain type. Valid values: 1: Tencent Cloud; 2: local. // Note: This field may return null, indicating that no valid values can be obtained. ServiceType *string `json:"ServiceType,omitnil,omitempty" name:"ServiceType"` // Database alias. SourceName *string `json:"SourceName,omitnil,omitempty" name:"SourceName"` // Database driver. DbType *string `json:"DbType,omitnil,omitempty" name:"DbType"` // HOST DbHost *string `json:"DbHost,omitnil,omitempty" name:"DbHost"` // Port. DbPort *uint64 `json:"DbPort,omitnil,omitempty" name:"DbPort"` // Username. DbUser *string `json:"DbUser,omitnil,omitempty" name:"DbUser"` // Database encoding. Charset *string `json:"Charset,omitnil,omitempty" name:"Charset"` // Creation time. CreatedAt *string `json:"CreatedAt,omitnil,omitempty" name:"CreatedAt"` // Modification time. UpdatedAt *string `json:"UpdatedAt,omitnil,omitempty" name:"UpdatedAt"` // Creator. // Note: This field may return null, indicating that no valid values can be obtained. CreatedUser *string `json:"CreatedUser,omitnil,omitempty" name:"CreatedUser"` // Catalog value. // Note: This field may return null, indicating that no valid values can be obtained. Catalog *string `json:"Catalog,omitnil,omitempty" name:"Catalog"` // Connection type. // Note: This field may return null, indicating that no valid values can be obtained. ConnectType *string `json:"ConnectType,omitnil,omitempty" name:"ConnectType"` // Project ID. // Note: This field may return null, indicating that no valid values can be obtained. ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Data source description. // Note: This field may return null, indicating that no valid values can be obtained. Desc *string `json:"Desc,omitnil,omitempty" name:"Desc"` // Data source status. // Note: This field may return null, indicating that no valid values can be obtained. Status *string `json:"Status,omitnil,omitempty" name:"Status"` // Source platform. // Note: This field may return null, indicating that no valid values can be obtained. SourcePlat *string `json:"SourcePlat,omitnil,omitempty" name:"SourcePlat"` // Extension parameter. // Note: This field may return null, indicating that no valid values can be obtained. ExtraParam *string `json:"ExtraParam,omitnil,omitempty" name:"ExtraParam"` // Additional information. // Note: This field may return null, indicating that no valid values can be obtained. AddInfo *string `json:"AddInfo,omitnil,omitempty" name:"AddInfo"` // Project name. // Note: This field may return null, indicating that no valid values can be obtained. ProjectName *string `json:"ProjectName,omitnil,omitempty" name:"ProjectName"` // Engine type. // Note: This field may return null, indicating that no valid values can be obtained. EngineType *string `json:"EngineType,omitnil,omitempty" name:"EngineType"` // Data source owner. // Note: This field may return null, indicating that no valid values can be obtained. Manager *string `json:"Manager,omitnil,omitempty" name:"Manager"` // Operation personnel allowlist. // Note: This field may return null, indicating that no valid values can be obtained. OperatorWhitelist *string `json:"OperatorWhitelist,omitnil,omitempty" name:"OperatorWhitelist"` // VPC information of the data source. // Note: This field may return null, indicating that no valid values can be obtained. VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // uniqVpc information of the data source. // Note: This field may return null, indicating that no valid values can be obtained. UniqVpcId *string `json:"UniqVpcId,omitnil,omitempty" name:"UniqVpcId"` // Data source region information. // Note: This field may return null, indicating that no valid values can be obtained. RegionId *string `json:"RegionId,omitnil,omitempty" name:"RegionId"` // Operation attributes. // Note: This field may return null, indicating that no valid values can be obtained. StateAction *BaseStateAction `json:"StateAction,omitnil,omitempty" name:"StateAction"` // Updater. // Note: This field may return null, indicating that no valid values can be obtained. UpdatedUser *string `json:"UpdatedUser,omitnil,omitempty" name:"UpdatedUser"` // Permission list. // Note: This field may return null, indicating that no valid values can be obtained. PermissionList []*PermissionGroup `json:"PermissionList,omitnil,omitempty" name:"PermissionList"` // Permission value list. // Note: This field may return null, indicating that no valid values can be obtained. AuthList []*string `json:"AuthList,omitnil,omitempty" name:"AuthList"` // Third-party data source identifier. // Note: This field may return null, indicating that no valid values can be obtained. DataOrigin *string `json:"DataOrigin,omitnil,omitempty" name:"DataOrigin"` // Third-party project ID. // Note: This field may return null, indicating that no valid values can be obtained. DataOriginProjectId *string `json:"DataOriginProjectId,omitnil,omitempty" name:"DataOriginProjectId"` // Third-party data source ID. // Note: This field may return null, indicating that no valid values can be obtained. DataOriginDatasourceId *string `json:"DataOriginDatasourceId,omitnil,omitempty" name:"DataOriginDatasourceId"` // Cluster ID. // Note: This field may return null, indicating that no valid values can be obtained. ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Data source name. // Note: This field may return null, indicating that no valid values can be obtained. DbTypeName *string `json:"DbTypeName,omitnil,omitempty" name:"DbTypeName"` // Enable VPC. // Note: This field may return null, indicating that no valid values can be obtained. UseVPC *bool `json:"UseVPC,omitnil,omitempty" name:"UseVPC"` // Associated person ID. // Note: This field may return null, indicating that no valid values can be obtained. Owner *string `json:"Owner,omitnil,omitempty" name:"Owner"` // Associated person name. // Note: This field may return null, indicating that no valid values can be obtained. OwnerName *string `json:"OwnerName,omitnil,omitempty" name:"OwnerName"` }
type DatasourceInfoData ¶
type DatasourceInfoData struct { // Data source details list. // Note: This field may return null, indicating that no valid values can be obtained. List []*DatasourceInfo `json:"List,omitnil,omitempty" name:"List"` // Total number. // Note: This field may return null, indicating that no valid values can be obtained. Total *int64 `json:"Total,omitnil,omitempty" name:"Total"` // Total number of pages. // Note: This field may return null, indicating that no valid values can be obtained. TotalPages *int64 `json:"TotalPages,omitnil,omitempty" name:"TotalPages"` }
type DeleteDatasourceRequest ¶
type DeleteDatasourceRequest struct { *tchttp.BaseRequest // Data source ID. Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"` // Project ID. ProjectId *uint64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` }
func NewDeleteDatasourceRequest ¶
func NewDeleteDatasourceRequest() (request *DeleteDatasourceRequest)
func (*DeleteDatasourceRequest) FromJsonString ¶
func (r *DeleteDatasourceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteDatasourceRequest) ToJsonString ¶
func (r *DeleteDatasourceRequest) ToJsonString() string
type DeleteDatasourceRequestParams ¶
type DeleteDatasourceRequestParams struct { // Data source ID. Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"` // Project ID. ProjectId *uint64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` }
Predefined struct for user
type DeleteDatasourceResponse ¶
type DeleteDatasourceResponse struct { *tchttp.BaseResponse Response *DeleteDatasourceResponseParams `json:"Response"` }
func NewDeleteDatasourceResponse ¶
func NewDeleteDatasourceResponse() (response *DeleteDatasourceResponse)
func (*DeleteDatasourceResponse) FromJsonString ¶
func (r *DeleteDatasourceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteDatasourceResponse) ToJsonString ¶
func (r *DeleteDatasourceResponse) ToJsonString() string
type DeleteDatasourceResponseParams ¶
type DeleteDatasourceResponseParams struct { // Custom error information object. // Note: This field may return null, indicating that no valid values can be obtained. ErrorInfo *ErrorInfo `json:"ErrorInfo,omitnil,omitempty" name:"ErrorInfo"` // Data. // Note: This field may return null, indicating that no valid values can be obtained. Data *string `json:"Data,omitnil,omitempty" name:"Data"` // Expansion. Extra *string `json:"Extra,omitnil,omitempty" name:"Extra"` // Information. Msg *string `json:"Msg,omitnil,omitempty" name:"Msg"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteProjectRequest ¶
type DeleteProjectRequest struct { *tchttp.BaseRequest // Project ID. Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"` // Random number. Seed *string `json:"Seed,omitnil,omitempty" name:"Seed"` // Default dashboard. DefaultPanelType *int64 `json:"DefaultPanelType,omitnil,omitempty" name:"DefaultPanelType"` }
func NewDeleteProjectRequest ¶
func NewDeleteProjectRequest() (request *DeleteProjectRequest)
func (*DeleteProjectRequest) FromJsonString ¶
func (r *DeleteProjectRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteProjectRequest) ToJsonString ¶
func (r *DeleteProjectRequest) ToJsonString() string
type DeleteProjectRequestParams ¶
type DeleteProjectRequestParams struct { // Project ID. Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"` // Random number. Seed *string `json:"Seed,omitnil,omitempty" name:"Seed"` // Default dashboard. DefaultPanelType *int64 `json:"DefaultPanelType,omitnil,omitempty" name:"DefaultPanelType"` }
Predefined struct for user
type DeleteProjectResponse ¶
type DeleteProjectResponse struct { *tchttp.BaseResponse Response *DeleteProjectResponseParams `json:"Response"` }
func NewDeleteProjectResponse ¶
func NewDeleteProjectResponse() (response *DeleteProjectResponse)
func (*DeleteProjectResponse) FromJsonString ¶
func (r *DeleteProjectResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteProjectResponse) ToJsonString ¶
func (r *DeleteProjectResponse) ToJsonString() string
type DeleteProjectResponseParams ¶
type DeleteProjectResponseParams struct { // Custom error information object. // Note: This field may return null, indicating that no valid values can be obtained. ErrorInfo *ErrorInfo `json:"ErrorInfo,omitnil,omitempty" name:"ErrorInfo"` // "". // Note: This field may return null, indicating that no valid values can be obtained. Extra *string `json:"Extra,omitnil,omitempty" name:"Extra"` // "" // Note: This field may return null, indicating that no valid values can be obtained. Data *string `json:"Data,omitnil,omitempty" name:"Data"` // "" // Note: This field may return null, indicating that no valid values can be obtained. Msg *string `json:"Msg,omitnil,omitempty" name:"Msg"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteUserRoleProjectRequest ¶
type DeleteUserRoleProjectRequest struct { *tchttp.BaseRequest // Project ID. ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // User ID. UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"` }
func NewDeleteUserRoleProjectRequest ¶
func NewDeleteUserRoleProjectRequest() (request *DeleteUserRoleProjectRequest)
func (*DeleteUserRoleProjectRequest) FromJsonString ¶
func (r *DeleteUserRoleProjectRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteUserRoleProjectRequest) ToJsonString ¶
func (r *DeleteUserRoleProjectRequest) ToJsonString() string
type DeleteUserRoleProjectRequestParams ¶
type DeleteUserRoleProjectRequestParams struct { // Project ID. ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // User ID. UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"` }
Predefined struct for user
type DeleteUserRoleProjectResponse ¶
type DeleteUserRoleProjectResponse struct { *tchttp.BaseResponse Response *DeleteUserRoleProjectResponseParams `json:"Response"` }
func NewDeleteUserRoleProjectResponse ¶
func NewDeleteUserRoleProjectResponse() (response *DeleteUserRoleProjectResponse)
func (*DeleteUserRoleProjectResponse) FromJsonString ¶
func (r *DeleteUserRoleProjectResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteUserRoleProjectResponse) ToJsonString ¶
func (r *DeleteUserRoleProjectResponse) ToJsonString() string
type DeleteUserRoleProjectResponseParams ¶
type DeleteUserRoleProjectResponseParams struct { // Custom error information object. // Note: This field may return null, indicating that no valid values can be obtained. ErrorInfo *ErrorInfo `json:"ErrorInfo,omitnil,omitempty" name:"ErrorInfo"` // Expansion. // Note: This field may return null, indicating that no valid values can be obtained. Extra *string `json:"Extra,omitnil,omitempty" name:"Extra"` // Data. // Note: This field may return null, indicating that no valid values can be obtained. Data *string `json:"Data,omitnil,omitempty" name:"Data"` // Message. // Note: This field may return null, indicating that no valid values can be obtained. Msg *string `json:"Msg,omitnil,omitempty" name:"Msg"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteUserRoleRequest ¶
type DeleteUserRoleRequest struct { *tchttp.BaseRequest // User ID. UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"` }
func NewDeleteUserRoleRequest ¶
func NewDeleteUserRoleRequest() (request *DeleteUserRoleRequest)
func (*DeleteUserRoleRequest) FromJsonString ¶
func (r *DeleteUserRoleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteUserRoleRequest) ToJsonString ¶
func (r *DeleteUserRoleRequest) ToJsonString() string
type DeleteUserRoleRequestParams ¶
type DeleteUserRoleRequestParams struct { // User ID. UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"` }
Predefined struct for user
type DeleteUserRoleResponse ¶
type DeleteUserRoleResponse struct { *tchttp.BaseResponse Response *DeleteUserRoleResponseParams `json:"Response"` }
func NewDeleteUserRoleResponse ¶
func NewDeleteUserRoleResponse() (response *DeleteUserRoleResponse)
func (*DeleteUserRoleResponse) FromJsonString ¶
func (r *DeleteUserRoleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteUserRoleResponse) ToJsonString ¶
func (r *DeleteUserRoleResponse) ToJsonString() string
type DeleteUserRoleResponseParams ¶
type DeleteUserRoleResponseParams struct { // Custom error information object. // Note: This field may return null, indicating that no valid values can be obtained. ErrorInfo *ErrorInfo `json:"ErrorInfo,omitnil,omitempty" name:"ErrorInfo"` // Expansion. // Note: This field may return null, indicating that no valid values can be obtained. Extra *string `json:"Extra,omitnil,omitempty" name:"Extra"` // Data. // Note: This field may return null, indicating that no valid values can be obtained. Data *string `json:"Data,omitnil,omitempty" name:"Data"` // Message. // Note: This field may return null, indicating that no valid values can be obtained. Msg *string `json:"Msg,omitnil,omitempty" name:"Msg"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDatasourceListRequest ¶
type DescribeDatasourceListRequest struct { *tchttp.BaseRequest // None. ProjectId *uint64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Returns all pages and defaults to false. AllPage *bool `json:"AllPage,omitnil,omitempty" name:"AllPage"` // Database name search. DbName *string `json:"DbName,omitnil,omitempty" name:"DbName"` // None. PageNo *int64 `json:"PageNo,omitnil,omitempty" name:"PageNo"` // None. PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` // Search keywords. Keyword *string `json:"Keyword,omitnil,omitempty" name:"Keyword"` // Permission filter (0: all permissions, 1: access permission, 2: edit permission). PermissionType *int64 `json:"PermissionType,omitnil,omitempty" name:"PermissionType"` }
func NewDescribeDatasourceListRequest ¶
func NewDescribeDatasourceListRequest() (request *DescribeDatasourceListRequest)
func (*DescribeDatasourceListRequest) FromJsonString ¶
func (r *DescribeDatasourceListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDatasourceListRequest) ToJsonString ¶
func (r *DescribeDatasourceListRequest) ToJsonString() string
type DescribeDatasourceListRequestParams ¶
type DescribeDatasourceListRequestParams struct { // None. ProjectId *uint64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Returns all pages and defaults to false. AllPage *bool `json:"AllPage,omitnil,omitempty" name:"AllPage"` // Database name search. DbName *string `json:"DbName,omitnil,omitempty" name:"DbName"` // None. PageNo *int64 `json:"PageNo,omitnil,omitempty" name:"PageNo"` // None. PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` // Search keywords. Keyword *string `json:"Keyword,omitnil,omitempty" name:"Keyword"` // Permission filter (0: all permissions, 1: access permission, 2: edit permission). PermissionType *int64 `json:"PermissionType,omitnil,omitempty" name:"PermissionType"` }
Predefined struct for user
type DescribeDatasourceListResponse ¶
type DescribeDatasourceListResponse struct { *tchttp.BaseResponse Response *DescribeDatasourceListResponseParams `json:"Response"` }
func NewDescribeDatasourceListResponse ¶
func NewDescribeDatasourceListResponse() (response *DescribeDatasourceListResponse)
func (*DescribeDatasourceListResponse) FromJsonString ¶
func (r *DescribeDatasourceListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDatasourceListResponse) ToJsonString ¶
func (r *DescribeDatasourceListResponse) ToJsonString() string
type DescribeDatasourceListResponseParams ¶
type DescribeDatasourceListResponseParams struct { // Custom error information object. // Note: This field may return null, indicating that no valid values can be obtained. ErrorInfo *ErrorInfo `json:"ErrorInfo,omitnil,omitempty" name:"ErrorInfo"` // List details. // Note: This field may return null, indicating that no valid values can be obtained. Data *DatasourceInfoData `json:"Data,omitnil,omitempty" name:"Data"` // Information. Extra *string `json:"Extra,omitnil,omitempty" name:"Extra"` // Information. Msg *string `json:"Msg,omitnil,omitempty" name:"Msg"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribePageWidgetListRequest ¶
type DescribePageWidgetListRequest struct { *tchttp.BaseRequest // Project ID. ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Page ID. PageId *string `json:"PageId,omitnil,omitempty" name:"PageId"` }
func NewDescribePageWidgetListRequest ¶
func NewDescribePageWidgetListRequest() (request *DescribePageWidgetListRequest)
func (*DescribePageWidgetListRequest) FromJsonString ¶
func (r *DescribePageWidgetListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePageWidgetListRequest) ToJsonString ¶
func (r *DescribePageWidgetListRequest) ToJsonString() string
type DescribePageWidgetListRequestParams ¶
type DescribePageWidgetListRequestParams struct { // Project ID. ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Page ID. PageId *string `json:"PageId,omitnil,omitempty" name:"PageId"` }
Predefined struct for user
type DescribePageWidgetListResponse ¶
type DescribePageWidgetListResponse struct { *tchttp.BaseResponse Response *DescribePageWidgetListResponseParams `json:"Response"` }
func NewDescribePageWidgetListResponse ¶
func NewDescribePageWidgetListResponse() (response *DescribePageWidgetListResponse)
func (*DescribePageWidgetListResponse) FromJsonString ¶
func (r *DescribePageWidgetListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePageWidgetListResponse) ToJsonString ¶
func (r *DescribePageWidgetListResponse) ToJsonString() string
type DescribePageWidgetListResponseParams ¶
type DescribePageWidgetListResponseParams struct { // Custom error information object. // Note: This field may return null, indicating that no valid values can be obtained. ErrorInfo *ErrorInfo `json:"ErrorInfo,omitnil,omitempty" name:"ErrorInfo"` // Extension parameter. // Note: This field may return null, indicating that no valid values can be obtained. Extra *string `json:"Extra,omitnil,omitempty" name:"Extra"` // Returned data results. // Note: This field may return null, indicating that no valid values can be obtained. Data *WidgetListVO `json:"Data,omitnil,omitempty" name:"Data"` // Response message. // Note: This field may return null, indicating that no valid values can be obtained. Msg *string `json:"Msg,omitnil,omitempty" name:"Msg"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeProjectInfoRequest ¶
type DescribeProjectInfoRequest struct { *tchttp.BaseRequest // Project ID. Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"` // Default dashboard. DefaultPanelType *int64 `json:"DefaultPanelType,omitnil,omitempty" name:"DefaultPanelType"` }
func NewDescribeProjectInfoRequest ¶
func NewDescribeProjectInfoRequest() (request *DescribeProjectInfoRequest)
func (*DescribeProjectInfoRequest) FromJsonString ¶
func (r *DescribeProjectInfoRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeProjectInfoRequest) ToJsonString ¶
func (r *DescribeProjectInfoRequest) ToJsonString() string
type DescribeProjectInfoRequestParams ¶
type DescribeProjectInfoRequestParams struct { // Project ID. Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"` // Default dashboard. DefaultPanelType *int64 `json:"DefaultPanelType,omitnil,omitempty" name:"DefaultPanelType"` }
Predefined struct for user
type DescribeProjectInfoResponse ¶
type DescribeProjectInfoResponse struct { *tchttp.BaseResponse Response *DescribeProjectInfoResponseParams `json:"Response"` }
func NewDescribeProjectInfoResponse ¶
func NewDescribeProjectInfoResponse() (response *DescribeProjectInfoResponse)
func (*DescribeProjectInfoResponse) FromJsonString ¶
func (r *DescribeProjectInfoResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeProjectInfoResponse) ToJsonString ¶
func (r *DescribeProjectInfoResponse) ToJsonString() string
type DescribeProjectInfoResponseParams ¶
type DescribeProjectInfoResponseParams struct { // Custom error information object. // Note: This field may return null, indicating that no valid values can be obtained. ErrorInfo *ErrorInfo `json:"ErrorInfo,omitnil,omitempty" name:"ErrorInfo"` // "" // Note: This field may return null, indicating that no valid values can be obtained. Extra *string `json:"Extra,omitnil,omitempty" name:"Extra"` // "" // Note: This field may return null, indicating that no valid values can be obtained. Msg *string `json:"Msg,omitnil,omitempty" name:"Msg"` // Project details. // Note: This field may return null, indicating that no valid values can be obtained. Data *Project `json:"Data,omitnil,omitempty" name:"Data"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeProjectListRequest ¶
type DescribeProjectListRequest struct { *tchttp.BaseRequest // Page capacity. The initial version defaults to 20 and may change dynamically based on screen width in the future. PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` // Page marker. PageNo *uint64 `json:"PageNo,omitnil,omitempty" name:"PageNo"` // Fuzzy search field. Keyword *string `json:"Keyword,omitnil,omitempty" name:"Keyword"` // Whether to display all. If true, ignore pagination. AllPage *bool `json:"AllPage,omitnil,omitempty" name:"AllPage"` // Role information. ModuleCollection *string `json:"ModuleCollection,omitnil,omitempty" name:"ModuleCollection"` // moduleId set. ModuleIdList []*string `json:"ModuleIdList,omitnil,omitempty" name:"ModuleIdList"` }
func NewDescribeProjectListRequest ¶
func NewDescribeProjectListRequest() (request *DescribeProjectListRequest)
func (*DescribeProjectListRequest) FromJsonString ¶
func (r *DescribeProjectListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeProjectListRequest) ToJsonString ¶
func (r *DescribeProjectListRequest) ToJsonString() string
type DescribeProjectListRequestParams ¶
type DescribeProjectListRequestParams struct { // Page capacity. The initial version defaults to 20 and may change dynamically based on screen width in the future. PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` // Page marker. PageNo *uint64 `json:"PageNo,omitnil,omitempty" name:"PageNo"` // Fuzzy search field. Keyword *string `json:"Keyword,omitnil,omitempty" name:"Keyword"` // Whether to display all. If true, ignore pagination. AllPage *bool `json:"AllPage,omitnil,omitempty" name:"AllPage"` // Role information. ModuleCollection *string `json:"ModuleCollection,omitnil,omitempty" name:"ModuleCollection"` // moduleId set. ModuleIdList []*string `json:"ModuleIdList,omitnil,omitempty" name:"ModuleIdList"` }
Predefined struct for user
type DescribeProjectListResponse ¶
type DescribeProjectListResponse struct { *tchttp.BaseResponse Response *DescribeProjectListResponseParams `json:"Response"` }
func NewDescribeProjectListResponse ¶
func NewDescribeProjectListResponse() (response *DescribeProjectListResponse)
func (*DescribeProjectListResponse) FromJsonString ¶
func (r *DescribeProjectListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeProjectListResponse) ToJsonString ¶
func (r *DescribeProjectListResponse) ToJsonString() string
type DescribeProjectListResponseParams ¶
type DescribeProjectListResponseParams struct { // Custom error information object. // Note: This field may return null, indicating that no valid values can be obtained. ErrorInfo *ErrorInfo `json:"ErrorInfo,omitnil,omitempty" name:"ErrorInfo"` // Additional information. // Note: This field may return null, indicating that no valid values can be obtained. Extra *string `json:"Extra,omitnil,omitempty" name:"Extra"` // API information. // Note: This field may return null, indicating that no valid values can be obtained. Msg *string `json:"Msg,omitnil,omitempty" name:"Msg"` // Data. // Note: This field may return null, indicating that no valid values can be obtained. Data *ProjectListData `json:"Data,omitnil,omitempty" name:"Data"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeUserProjectListRequest ¶
type DescribeUserProjectListRequest struct { *tchttp.BaseRequest // Project ID. ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // None. AllPage *bool `json:"AllPage,omitnil,omitempty" name:"AllPage"` // None. PageNo *int64 `json:"PageNo,omitnil,omitempty" name:"PageNo"` // None. PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` // Whether to filter out enterprise administrators. IsFilterPerAuthUser *bool `json:"IsFilterPerAuthUser,omitnil,omitempty" name:"IsFilterPerAuthUser"` // Whether to filter out the current user. IsFilterCurrentUser *bool `json:"IsFilterCurrentUser,omitnil,omitempty" name:"IsFilterCurrentUser"` // Keyword. Keyword *string `json:"Keyword,omitnil,omitempty" name:"Keyword"` }
func NewDescribeUserProjectListRequest ¶
func NewDescribeUserProjectListRequest() (request *DescribeUserProjectListRequest)
func (*DescribeUserProjectListRequest) FromJsonString ¶
func (r *DescribeUserProjectListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeUserProjectListRequest) ToJsonString ¶
func (r *DescribeUserProjectListRequest) ToJsonString() string
type DescribeUserProjectListRequestParams ¶
type DescribeUserProjectListRequestParams struct { // Project ID. ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // None. AllPage *bool `json:"AllPage,omitnil,omitempty" name:"AllPage"` // None. PageNo *int64 `json:"PageNo,omitnil,omitempty" name:"PageNo"` // None. PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` // Whether to filter out enterprise administrators. IsFilterPerAuthUser *bool `json:"IsFilterPerAuthUser,omitnil,omitempty" name:"IsFilterPerAuthUser"` // Whether to filter out the current user. IsFilterCurrentUser *bool `json:"IsFilterCurrentUser,omitnil,omitempty" name:"IsFilterCurrentUser"` // Keyword. Keyword *string `json:"Keyword,omitnil,omitempty" name:"Keyword"` }
Predefined struct for user
type DescribeUserProjectListResponse ¶
type DescribeUserProjectListResponse struct { *tchttp.BaseResponse Response *DescribeUserProjectListResponseParams `json:"Response"` }
func NewDescribeUserProjectListResponse ¶
func NewDescribeUserProjectListResponse() (response *DescribeUserProjectListResponse)
func (*DescribeUserProjectListResponse) FromJsonString ¶
func (r *DescribeUserProjectListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeUserProjectListResponse) ToJsonString ¶
func (r *DescribeUserProjectListResponse) ToJsonString() string
type DescribeUserProjectListResponseParams ¶
type DescribeUserProjectListResponseParams struct { // Custom error information object. // Note: This field may return null, indicating that no valid values can be obtained. ErrorInfo *ErrorInfo `json:"ErrorInfo,omitnil,omitempty" name:"ErrorInfo"` // Data. // Note: This field may return null, indicating that no valid values can be obtained. Data *CorpUserListData `json:"Data,omitnil,omitempty" name:"Data"` // Expansion. // Note: This field may return null, indicating that no valid values can be obtained. Extra *string `json:"Extra,omitnil,omitempty" name:"Extra"` // Message. // Note: This field may return null, indicating that no valid values can be obtained. Msg *string `json:"Msg,omitnil,omitempty" name:"Msg"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeUserRoleListRequest ¶
type DescribeUserRoleListRequest struct { *tchttp.BaseRequest // Page number. PageNo *int64 `json:"PageNo,omitnil,omitempty" name:"PageNo"` // Number of pages. PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` // All page numbers. AllPage *bool `json:"AllPage,omitnil,omitempty" name:"AllPage"` // 0: enterprise user. 1: visitor. If left blank, it indicates all users. UserType *string `json:"UserType,omitnil,omitempty" name:"UserType"` // Keyword for fuzzy search. Keyword *string `json:"Keyword,omitnil,omitempty" name:"Keyword"` // Project ID. ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Whether to only obtain users bound to the WeCom app. IsOnlyBindAppUser *bool `json:"IsOnlyBindAppUser,omitnil,omitempty" name:"IsOnlyBindAppUser"` }
func NewDescribeUserRoleListRequest ¶
func NewDescribeUserRoleListRequest() (request *DescribeUserRoleListRequest)
func (*DescribeUserRoleListRequest) FromJsonString ¶
func (r *DescribeUserRoleListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeUserRoleListRequest) ToJsonString ¶
func (r *DescribeUserRoleListRequest) ToJsonString() string
type DescribeUserRoleListRequestParams ¶
type DescribeUserRoleListRequestParams struct { // Page number. PageNo *int64 `json:"PageNo,omitnil,omitempty" name:"PageNo"` // Number of pages. PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` // All page numbers. AllPage *bool `json:"AllPage,omitnil,omitempty" name:"AllPage"` // 0: enterprise user. 1: visitor. If left blank, it indicates all users. UserType *string `json:"UserType,omitnil,omitempty" name:"UserType"` // Keyword for fuzzy search. Keyword *string `json:"Keyword,omitnil,omitempty" name:"Keyword"` // Project ID. ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Whether to only obtain users bound to the WeCom app. IsOnlyBindAppUser *bool `json:"IsOnlyBindAppUser,omitnil,omitempty" name:"IsOnlyBindAppUser"` }
Predefined struct for user
type DescribeUserRoleListResponse ¶
type DescribeUserRoleListResponse struct { *tchttp.BaseResponse Response *DescribeUserRoleListResponseParams `json:"Response"` }
func NewDescribeUserRoleListResponse ¶
func NewDescribeUserRoleListResponse() (response *DescribeUserRoleListResponse)
func (*DescribeUserRoleListResponse) FromJsonString ¶
func (r *DescribeUserRoleListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeUserRoleListResponse) ToJsonString ¶
func (r *DescribeUserRoleListResponse) ToJsonString() string
type DescribeUserRoleListResponseParams ¶
type DescribeUserRoleListResponseParams struct { // Custom error information object. // Note: This field may return null, indicating that no valid values can be obtained. ErrorInfo *ErrorInfo `json:"ErrorInfo,omitnil,omitempty" name:"ErrorInfo"` // Extension description information (providing more exception messages for auxiliary judgment). // Note: This field may return null, indicating that no valid values can be obtained. Extra *string `json:"Extra,omitnil,omitempty" name:"Extra"` // Data. // Note: This field may return null, indicating that no valid values can be obtained. Data *UserRoleListData `json:"Data,omitnil,omitempty" name:"Data"` // Message. // Note: This field may return null, indicating that no valid values can be obtained. Msg *string `json:"Msg,omitnil,omitempty" name:"Msg"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeUserRoleProjectListRequest ¶
type DescribeUserRoleProjectListRequest struct { *tchttp.BaseRequest // Page number. PageNo *int64 `json:"PageNo,omitnil,omitempty" name:"PageNo"` // Number of pages. PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` // Project ID. ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Whether to only obtain users bound to the WeCom app. IsOnlyBindAppUser *bool `json:"IsOnlyBindAppUser,omitnil,omitempty" name:"IsOnlyBindAppUser"` // Whether to obtain all the data. AllPage *bool `json:"AllPage,omitnil,omitempty" name:"AllPage"` // Role code. RoleCode *string `json:"RoleCode,omitnil,omitempty" name:"RoleCode"` // User ID list. UserIdList []*string `json:"UserIdList,omitnil,omitempty" name:"UserIdList"` // Search keywords. Keyword *string `json:"Keyword,omitnil,omitempty" name:"Keyword"` }
func NewDescribeUserRoleProjectListRequest ¶
func NewDescribeUserRoleProjectListRequest() (request *DescribeUserRoleProjectListRequest)
func (*DescribeUserRoleProjectListRequest) FromJsonString ¶
func (r *DescribeUserRoleProjectListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeUserRoleProjectListRequest) ToJsonString ¶
func (r *DescribeUserRoleProjectListRequest) ToJsonString() string
type DescribeUserRoleProjectListRequestParams ¶
type DescribeUserRoleProjectListRequestParams struct { // Page number. PageNo *int64 `json:"PageNo,omitnil,omitempty" name:"PageNo"` // Number of pages. PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` // Project ID. ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Whether to only obtain users bound to the WeCom app. IsOnlyBindAppUser *bool `json:"IsOnlyBindAppUser,omitnil,omitempty" name:"IsOnlyBindAppUser"` // Whether to obtain all the data. AllPage *bool `json:"AllPage,omitnil,omitempty" name:"AllPage"` // Role code. RoleCode *string `json:"RoleCode,omitnil,omitempty" name:"RoleCode"` // User ID list. UserIdList []*string `json:"UserIdList,omitnil,omitempty" name:"UserIdList"` // Search keywords. Keyword *string `json:"Keyword,omitnil,omitempty" name:"Keyword"` }
Predefined struct for user
type DescribeUserRoleProjectListResponse ¶
type DescribeUserRoleProjectListResponse struct { *tchttp.BaseResponse Response *DescribeUserRoleProjectListResponseParams `json:"Response"` }
func NewDescribeUserRoleProjectListResponse ¶
func NewDescribeUserRoleProjectListResponse() (response *DescribeUserRoleProjectListResponse)
func (*DescribeUserRoleProjectListResponse) FromJsonString ¶
func (r *DescribeUserRoleProjectListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeUserRoleProjectListResponse) ToJsonString ¶
func (r *DescribeUserRoleProjectListResponse) ToJsonString() string
type DescribeUserRoleProjectListResponseParams ¶
type DescribeUserRoleProjectListResponseParams struct { // Custom error information object. // Note: This field may return null, indicating that no valid values can be obtained. ErrorInfo *ErrorInfo `json:"ErrorInfo,omitnil,omitempty" name:"ErrorInfo"` // Expansion. // Note: This field may return null, indicating that no valid values can be obtained. Extra *string `json:"Extra,omitnil,omitempty" name:"Extra"` // Data. // Note: This field may return null, indicating that no valid values can be obtained. Data *UserRoleListData `json:"Data,omitnil,omitempty" name:"Data"` // Message. // Note: This field may return null, indicating that no valid values can be obtained. Msg *string `json:"Msg,omitnil,omitempty" name:"Msg"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type EmbedTokenInfo ¶
type EmbedTokenInfo struct { // Information identifier. // Note: This field may return null, indicating that no valid values can be obtained. Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"` // Token. // Note: This field may return null, indicating that no valid values can be obtained. BIToken *string `json:"BIToken,omitnil,omitempty" name:"BIToken"` // Project ID. // Note: This field may return null, indicating that no valid values can be obtained. ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Creator. // Note: This field may return null, indicating that no valid values can be obtained. CreatedUser *string `json:"CreatedUser,omitnil,omitempty" name:"CreatedUser"` // Creation time. // Note: This field may return null, indicating that no valid values can be obtained. CreatedAt *string `json:"CreatedAt,omitnil,omitempty" name:"CreatedAt"` // Updater. // Note: This field may return null, indicating that no valid values can be obtained. UpdatedUser *string `json:"UpdatedUser,omitnil,omitempty" name:"UpdatedUser"` // Update time. // Note: This field may return null, indicating that no valid values can be obtained. UpdatedAt *string `json:"UpdatedAt,omitnil,omitempty" name:"UpdatedAt"` // Page ID. // Note: This field may return null, indicating that no valid values can be obtained. PageId *string `json:"PageId,omitnil,omitempty" name:"PageId"` // Backup. // Note: This field may return null, indicating that no valid values can be obtained. ExtraParam *string `json:"ExtraParam,omitnil,omitempty" name:"ExtraParam"` // Embedding type. // Note: This field may return null, indicating that no valid values can be obtained. Scope *string `json:"Scope,omitnil,omitempty" name:"Scope"` // Expiration time (in minutes), with a maximum value of 240. // Note: This field may return null, indicating that no valid values can be obtained. ExpireTime *uint64 `json:"ExpireTime,omitnil,omitempty" name:"ExpireTime"` // User enterprise ID (only used for multi-user). // Note: This field may return null, indicating that no valid values can be obtained. UserCorpId *string `json:"UserCorpId,omitnil,omitempty" name:"UserCorpId"` // User ID (only used for multi-user). // Note: This field may return null, indicating that no valid values can be obtained. UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"` // Access count limit (range: 1–99999). Leave empty to disable access restrictions. // Note: This field may return null, indicating that no valid values can be obtained. TicketNum *int64 `json:"TicketNum,omitnil,omitempty" name:"TicketNum"` // Global parameter. // Note: This field may return null, indicating that no valid values can be obtained. GlobalParam *string `json:"GlobalParam,omitnil,omitempty" name:"GlobalParam"` // "embed" indicates page dashboard embedding, and "chatBIEmbed" indicates ChatBI embedding. // Note: This field may return null, indicating that no valid values can be obtained. Intention *string `json:"Intention,omitnil,omitempty" name:"Intention"` // 100: no bound user. // 200: single token per user. // 300: multiple tokens per user. // Note: This field may return null, indicating that no valid values can be obtained. TokenType *int64 `json:"TokenType,omitnil,omitempty" name:"TokenType"` // Number of tokens. // Note: This field may return null, indicating that no valid values can be obtained. TokenNum *int64 `json:"TokenNum,omitnil,omitempty" name:"TokenNum"` // Whether it is multiple tokens per user. // Note: This field may return null, indicating that no valid values can be obtained. SingleUserMultiToken *bool `json:"SingleUserMultiToken,omitnil,omitempty" name:"SingleUserMultiToken"` // Embedded display configurations: Currently for ChatBI embedding scenarios; TableFilter represents data table list filtering, SqlView represents SQL view feature. // Note: This field may return null, indicating that no valid values can be obtained. ConfigParam *string `json:"ConfigParam,omitnil,omitempty" name:"ConfigParam"` }
type ErrorInfo ¶
type ErrorInfo struct { // Error description field. // Note: This field may return null, indicating that no valid values can be obtained. ErrorTip *string `json:"ErrorTip,omitnil,omitempty" name:"ErrorTip"` // Original exception message. // Note: This field may return null, indicating that no valid values can be obtained. ErrorMessage *string `json:"ErrorMessage,omitnil,omitempty" name:"ErrorMessage"` // Error level field. // ERROR // WARN // INFO // Note: This field may return null, indicating that no valid values can be obtained. ErrorLevel *string `json:"ErrorLevel,omitnil,omitempty" name:"ErrorLevel"` // Documentation link. // Note: This field may return null, indicating that no valid values can be obtained. DocLink *string `json:"DocLink,omitnil,omitempty" name:"DocLink"` // Quick start guide. // Note: This field may return null, indicating that no valid values can be obtained. FAQ *string `json:"FAQ,omitnil,omitempty" name:"FAQ"` // Reserved field 1. // Note: This field may return null, indicating that no valid values can be obtained. ReservedField *string `json:"ReservedField,omitnil,omitempty" name:"ReservedField"` }
type ExportScreenPageRequest ¶
type ExportScreenPageRequest struct { *tchttp.BaseRequest // Project ID. ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Page ID. PageId *string `json:"PageId,omitnil,omitempty" name:"PageId"` // Canvas type. Grid canvas: GRID; Free canvas: FREE. CanvasType *string `json:"CanvasType,omitnil,omitempty" name:"CanvasType"` // Image export type. Valid values: Base64, and URL (valid period: 1 day). PicType *string `json:"PicType,omitnil,omitempty" name:"PicType"` // Component IDs. When empty, export the entire page. WidgetIds []*string `json:"WidgetIds,omitnil,omitempty" name:"WidgetIds"` // Whether it is an async request. AsyncRequest *bool `json:"AsyncRequest,omitnil,omitempty" name:"AsyncRequest"` // Transaction ID. TranId *string `json:"TranId,omitnil,omitempty" name:"TranId"` }
func NewExportScreenPageRequest ¶
func NewExportScreenPageRequest() (request *ExportScreenPageRequest)
func (*ExportScreenPageRequest) FromJsonString ¶
func (r *ExportScreenPageRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ExportScreenPageRequest) ToJsonString ¶
func (r *ExportScreenPageRequest) ToJsonString() string
type ExportScreenPageRequestParams ¶
type ExportScreenPageRequestParams struct { // Project ID. ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Page ID. PageId *string `json:"PageId,omitnil,omitempty" name:"PageId"` // Canvas type. Grid canvas: GRID; Free canvas: FREE. CanvasType *string `json:"CanvasType,omitnil,omitempty" name:"CanvasType"` // Image export type. Valid values: Base64, and URL (valid period: 1 day). PicType *string `json:"PicType,omitnil,omitempty" name:"PicType"` // Component IDs. When empty, export the entire page. WidgetIds []*string `json:"WidgetIds,omitnil,omitempty" name:"WidgetIds"` // Whether it is an async request. AsyncRequest *bool `json:"AsyncRequest,omitnil,omitempty" name:"AsyncRequest"` // Transaction ID. TranId *string `json:"TranId,omitnil,omitempty" name:"TranId"` }
Predefined struct for user
type ExportScreenPageResponse ¶
type ExportScreenPageResponse struct { *tchttp.BaseResponse Response *ExportScreenPageResponseParams `json:"Response"` }
func NewExportScreenPageResponse ¶
func NewExportScreenPageResponse() (response *ExportScreenPageResponse)
func (*ExportScreenPageResponse) FromJsonString ¶
func (r *ExportScreenPageResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ExportScreenPageResponse) ToJsonString ¶
func (r *ExportScreenPageResponse) ToJsonString() string
type ExportScreenPageResponseParams ¶
type ExportScreenPageResponseParams struct { // Custom error information object. // Note: This field may return null, indicating that no valid values can be obtained. ErrorInfo *ErrorInfo `json:"ErrorInfo,omitnil,omitempty" name:"ErrorInfo"` // Extension parameter. // Note: This field may return null, indicating that no valid values can be obtained. Extra *string `json:"Extra,omitnil,omitempty" name:"Extra"` // Returned data results. // Note: This field may return null, indicating that no valid values can be obtained. Data *PageScreenListVO `json:"Data,omitnil,omitempty" name:"Data"` // Response message. // Note: This field may return null, indicating that no valid values can be obtained. Msg *string `json:"Msg,omitnil,omitempty" name:"Msg"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type IdDTO ¶
type IdDTO struct { // Request ID. // Note: This field may return null, indicating that no valid values can be obtained. Id *int64 `json:"Id,omitnil,omitempty" name:"Id"` // key // Note: This field may return null, indicating that no valid values can be obtained. AccessKey *string `json:"AccessKey,omitnil,omitempty" name:"AccessKey"` // id // Note: This field may return null, indicating that no valid values can be obtained. ProjectId *uint64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Transaction ID. // Note: This field may return null, indicating that no valid values can be obtained. TranId *string `json:"TranId,omitnil,omitempty" name:"TranId"` // Transaction status. // Note: This field may return null, indicating that no valid values can be obtained. TranStatus *int64 `json:"TranStatus,omitnil,omitempty" name:"TranStatus"` }
type ModifyDatasourceCloudRequest ¶
type ModifyDatasourceCloudRequest struct { *tchttp.BaseRequest // The backend provides dictionaries: domain type. 1: Tencent Cloud; 2: local. ServiceType *string `json:"ServiceType,omitnil,omitempty" name:"ServiceType"` // Drive. DbType *string `json:"DbType,omitnil,omitempty" name:"DbType"` // Database encoding. Charset *string `json:"Charset,omitnil,omitempty" name:"Charset"` // Username. DbUser *string `json:"DbUser,omitnil,omitempty" name:"DbUser"` // Password. DbPwd *string `json:"DbPwd,omitnil,omitempty" name:"DbPwd"` // Database name. DbName *string `json:"DbName,omitnil,omitempty" name:"DbName"` // Database alias. SourceName *string `json:"SourceName,omitnil,omitempty" name:"SourceName"` // Project ID. ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Primary key. Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"` // Private network IP address of the public cloud. Vip *string `json:"Vip,omitnil,omitempty" name:"Vip"` // Private network port of the public cloud. Vport *string `json:"Vport,omitnil,omitempty" name:"Vport"` // VPC identifier. VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // Unified VPC identifier. UniqVpcId *string `json:"UniqVpcId,omitnil,omitempty" name:"UniqVpcId"` // Region identifier (gz, bj). RegionId *string `json:"RegionId,omitnil,omitempty" name:"RegionId"` // Extension parameter. ExtraParam *string `json:"ExtraParam,omitnil,omitempty" name:"ExtraParam"` // Instance ID. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Product name of the data source. ProdDbName *string `json:"ProdDbName,omitnil,omitempty" name:"ProdDbName"` // Third-party data source identifier. DataOrigin *string `json:"DataOrigin,omitnil,omitempty" name:"DataOrigin"` // Third-party project ID. DataOriginProjectId *string `json:"DataOriginProjectId,omitnil,omitempty" name:"DataOriginProjectId"` // Third-party data source ID. DataOriginDatasourceId *string `json:"DataOriginDatasourceId,omitnil,omitempty" name:"DataOriginDatasourceId"` // Cluster ID. ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` }
func NewModifyDatasourceCloudRequest ¶
func NewModifyDatasourceCloudRequest() (request *ModifyDatasourceCloudRequest)
func (*ModifyDatasourceCloudRequest) FromJsonString ¶
func (r *ModifyDatasourceCloudRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDatasourceCloudRequest) ToJsonString ¶
func (r *ModifyDatasourceCloudRequest) ToJsonString() string
type ModifyDatasourceCloudRequestParams ¶
type ModifyDatasourceCloudRequestParams struct { // The backend provides dictionaries: domain type. 1: Tencent Cloud; 2: local. ServiceType *string `json:"ServiceType,omitnil,omitempty" name:"ServiceType"` // Drive. DbType *string `json:"DbType,omitnil,omitempty" name:"DbType"` // Database encoding. Charset *string `json:"Charset,omitnil,omitempty" name:"Charset"` // Username. DbUser *string `json:"DbUser,omitnil,omitempty" name:"DbUser"` // Password. DbPwd *string `json:"DbPwd,omitnil,omitempty" name:"DbPwd"` // Database name. DbName *string `json:"DbName,omitnil,omitempty" name:"DbName"` // Database alias. SourceName *string `json:"SourceName,omitnil,omitempty" name:"SourceName"` // Project ID. ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Primary key. Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"` // Private network IP address of the public cloud. Vip *string `json:"Vip,omitnil,omitempty" name:"Vip"` // Private network port of the public cloud. Vport *string `json:"Vport,omitnil,omitempty" name:"Vport"` // VPC identifier. VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // Unified VPC identifier. UniqVpcId *string `json:"UniqVpcId,omitnil,omitempty" name:"UniqVpcId"` // Region identifier (gz, bj). RegionId *string `json:"RegionId,omitnil,omitempty" name:"RegionId"` // Extension parameter. ExtraParam *string `json:"ExtraParam,omitnil,omitempty" name:"ExtraParam"` // Instance ID. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Product name of the data source. ProdDbName *string `json:"ProdDbName,omitnil,omitempty" name:"ProdDbName"` // Third-party data source identifier. DataOrigin *string `json:"DataOrigin,omitnil,omitempty" name:"DataOrigin"` // Third-party project ID. DataOriginProjectId *string `json:"DataOriginProjectId,omitnil,omitempty" name:"DataOriginProjectId"` // Third-party data source ID. DataOriginDatasourceId *string `json:"DataOriginDatasourceId,omitnil,omitempty" name:"DataOriginDatasourceId"` // Cluster ID. ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` }
Predefined struct for user
type ModifyDatasourceCloudResponse ¶
type ModifyDatasourceCloudResponse struct { *tchttp.BaseResponse Response *ModifyDatasourceCloudResponseParams `json:"Response"` }
func NewModifyDatasourceCloudResponse ¶
func NewModifyDatasourceCloudResponse() (response *ModifyDatasourceCloudResponse)
func (*ModifyDatasourceCloudResponse) FromJsonString ¶
func (r *ModifyDatasourceCloudResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDatasourceCloudResponse) ToJsonString ¶
func (r *ModifyDatasourceCloudResponse) ToJsonString() string
type ModifyDatasourceCloudResponseParams ¶
type ModifyDatasourceCloudResponseParams struct { // Custom error information object. // Note: This field may return null, indicating that no valid values can be obtained. ErrorInfo *ErrorInfo `json:"ErrorInfo,omitnil,omitempty" name:"ErrorInfo"` // Success No. // Note: This field may return null, indicating that no valid values can be obtained. Data *string `json:"Data,omitnil,omitempty" name:"Data"` // Additional information. // Note: This field may return null, indicating that no valid values can be obtained. Extra *string `json:"Extra,omitnil,omitempty" name:"Extra"` // Prompt. // Note: This field may return null, indicating that no valid values can be obtained. Msg *string `json:"Msg,omitnil,omitempty" name:"Msg"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyDatasourceRequest ¶
type ModifyDatasourceRequest struct { *tchttp.BaseRequest // HOST DbHost *string `json:"DbHost,omitnil,omitempty" name:"DbHost"` // Port. DbPort *uint64 `json:"DbPort,omitnil,omitempty" name:"DbPort"` // The backend provides dictionaries: domain type. 1: Tencent Cloud; 2: local. ServiceType *string `json:"ServiceType,omitnil,omitempty" name:"ServiceType"` // Drive. DbType *string `json:"DbType,omitnil,omitempty" name:"DbType"` // Database encoding. Charset *string `json:"Charset,omitnil,omitempty" name:"Charset"` // Username. DbUser *string `json:"DbUser,omitnil,omitempty" name:"DbUser"` // Password. DbPwd *string `json:"DbPwd,omitnil,omitempty" name:"DbPwd"` // Database name. DbName *string `json:"DbName,omitnil,omitempty" name:"DbName"` // Database alias. SourceName *string `json:"SourceName,omitnil,omitempty" name:"SourceName"` // Data source ID. Id *int64 `json:"Id,omitnil,omitempty" name:"Id"` // Project ID. ProjectId *uint64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Catalog value. Catalog *string `json:"Catalog,omitnil,omitempty" name:"Catalog"` // Third-party data source identifier. DataOrigin *string `json:"DataOrigin,omitnil,omitempty" name:"DataOrigin"` // Third-party project ID. DataOriginProjectId *string `json:"DataOriginProjectId,omitnil,omitempty" name:"DataOriginProjectId"` // Third-party data source ID. DataOriginDatasourceId *string `json:"DataOriginDatasourceId,omitnil,omitempty" name:"DataOriginDatasourceId"` // Extension parameter. ExtraParam *string `json:"ExtraParam,omitnil,omitempty" name:"ExtraParam"` // Unified identifier of the Tencent Cloud VPC. UniqVpcId *string `json:"UniqVpcId,omitnil,omitempty" name:"UniqVpcId"` // VPC IP address. Vip *string `json:"Vip,omitnil,omitempty" name:"Vip"` // VPC port. Vport *string `json:"Vport,omitnil,omitempty" name:"Vport"` // Tencent Cloud VPC identifier. VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // Enable VPC. UseVPC *bool `json:"UseVPC,omitnil,omitempty" name:"UseVPC"` // Region. RegionId *string `json:"RegionId,omitnil,omitempty" name:"RegionId"` }
func NewModifyDatasourceRequest ¶
func NewModifyDatasourceRequest() (request *ModifyDatasourceRequest)
func (*ModifyDatasourceRequest) FromJsonString ¶
func (r *ModifyDatasourceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDatasourceRequest) ToJsonString ¶
func (r *ModifyDatasourceRequest) ToJsonString() string
type ModifyDatasourceRequestParams ¶
type ModifyDatasourceRequestParams struct { // HOST DbHost *string `json:"DbHost,omitnil,omitempty" name:"DbHost"` // Port. DbPort *uint64 `json:"DbPort,omitnil,omitempty" name:"DbPort"` // The backend provides dictionaries: domain type. 1: Tencent Cloud; 2: local. ServiceType *string `json:"ServiceType,omitnil,omitempty" name:"ServiceType"` // Drive. DbType *string `json:"DbType,omitnil,omitempty" name:"DbType"` // Database encoding. Charset *string `json:"Charset,omitnil,omitempty" name:"Charset"` // Username. DbUser *string `json:"DbUser,omitnil,omitempty" name:"DbUser"` // Password. DbPwd *string `json:"DbPwd,omitnil,omitempty" name:"DbPwd"` // Database name. DbName *string `json:"DbName,omitnil,omitempty" name:"DbName"` // Database alias. SourceName *string `json:"SourceName,omitnil,omitempty" name:"SourceName"` // Data source ID. Id *int64 `json:"Id,omitnil,omitempty" name:"Id"` // Project ID. ProjectId *uint64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Catalog value. Catalog *string `json:"Catalog,omitnil,omitempty" name:"Catalog"` // Third-party data source identifier. DataOrigin *string `json:"DataOrigin,omitnil,omitempty" name:"DataOrigin"` // Third-party project ID. DataOriginProjectId *string `json:"DataOriginProjectId,omitnil,omitempty" name:"DataOriginProjectId"` // Third-party data source ID. DataOriginDatasourceId *string `json:"DataOriginDatasourceId,omitnil,omitempty" name:"DataOriginDatasourceId"` // Extension parameter. ExtraParam *string `json:"ExtraParam,omitnil,omitempty" name:"ExtraParam"` // Unified identifier of the Tencent Cloud VPC. UniqVpcId *string `json:"UniqVpcId,omitnil,omitempty" name:"UniqVpcId"` // VPC IP address. Vip *string `json:"Vip,omitnil,omitempty" name:"Vip"` // VPC port. Vport *string `json:"Vport,omitnil,omitempty" name:"Vport"` // Tencent Cloud VPC identifier. VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // Enable VPC. UseVPC *bool `json:"UseVPC,omitnil,omitempty" name:"UseVPC"` // Region. RegionId *string `json:"RegionId,omitnil,omitempty" name:"RegionId"` }
Predefined struct for user
type ModifyDatasourceResponse ¶
type ModifyDatasourceResponse struct { *tchttp.BaseResponse Response *ModifyDatasourceResponseParams `json:"Response"` }
func NewModifyDatasourceResponse ¶
func NewModifyDatasourceResponse() (response *ModifyDatasourceResponse)
func (*ModifyDatasourceResponse) FromJsonString ¶
func (r *ModifyDatasourceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDatasourceResponse) ToJsonString ¶
func (r *ModifyDatasourceResponse) ToJsonString() string
type ModifyDatasourceResponseParams ¶
type ModifyDatasourceResponseParams struct { // Custom error information object. // Note: This field may return null, indicating that no valid values can be obtained. ErrorInfo *ErrorInfo `json:"ErrorInfo,omitnil,omitempty" name:"ErrorInfo"` // None. // Note: This field may return null, indicating that no valid values can be obtained. Data *string `json:"Data,omitnil,omitempty" name:"Data"` // Additional information. // Note: This field may return null, indicating that no valid values can be obtained. Extra *string `json:"Extra,omitnil,omitempty" name:"Extra"` // Prompt. // Note: This field may return null, indicating that no valid values can be obtained. Msg *string `json:"Msg,omitnil,omitempty" name:"Msg"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyProjectRequest ¶
type ModifyProjectRequest struct { *tchttp.BaseRequest // Project ID. Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"` // Name. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Color value. ColorCode *string `json:"ColorCode,omitnil,omitempty" name:"ColorCode"` // Icon. Logo *string `json:"Logo,omitnil,omitempty" name:"Logo"` // Remarks. Mark *string `json:"Mark,omitnil,omitempty" name:"Mark"` // Available upon request. IsApply *bool `json:"IsApply,omitnil,omitempty" name:"IsApply"` // Seed. Seed *string `json:"Seed,omitnil,omitempty" name:"Seed"` // Default dashboard. DefaultPanelType *int64 `json:"DefaultPanelType,omitnil,omitempty" name:"DefaultPanelType"` // 2 PanelScope *string `json:"PanelScope,omitnil,omitempty" name:"PanelScope"` // Project management platform. ManagePlatform *string `json:"ManagePlatform,omitnil,omitempty" name:"ManagePlatform"` }
func NewModifyProjectRequest ¶
func NewModifyProjectRequest() (request *ModifyProjectRequest)
func (*ModifyProjectRequest) FromJsonString ¶
func (r *ModifyProjectRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyProjectRequest) ToJsonString ¶
func (r *ModifyProjectRequest) ToJsonString() string
type ModifyProjectRequestParams ¶
type ModifyProjectRequestParams struct { // Project ID. Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"` // Name. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Color value. ColorCode *string `json:"ColorCode,omitnil,omitempty" name:"ColorCode"` // Icon. Logo *string `json:"Logo,omitnil,omitempty" name:"Logo"` // Remarks. Mark *string `json:"Mark,omitnil,omitempty" name:"Mark"` // Available upon request. IsApply *bool `json:"IsApply,omitnil,omitempty" name:"IsApply"` // Seed. Seed *string `json:"Seed,omitnil,omitempty" name:"Seed"` // Default dashboard. DefaultPanelType *int64 `json:"DefaultPanelType,omitnil,omitempty" name:"DefaultPanelType"` // 2 PanelScope *string `json:"PanelScope,omitnil,omitempty" name:"PanelScope"` // Project management platform. ManagePlatform *string `json:"ManagePlatform,omitnil,omitempty" name:"ManagePlatform"` }
Predefined struct for user
type ModifyProjectResponse ¶
type ModifyProjectResponse struct { *tchttp.BaseResponse Response *ModifyProjectResponseParams `json:"Response"` }
func NewModifyProjectResponse ¶
func NewModifyProjectResponse() (response *ModifyProjectResponse)
func (*ModifyProjectResponse) FromJsonString ¶
func (r *ModifyProjectResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyProjectResponse) ToJsonString ¶
func (r *ModifyProjectResponse) ToJsonString() string
type ModifyProjectResponseParams ¶
type ModifyProjectResponseParams struct { // Custom error information object. // Note: This field may return null, indicating that no valid values can be obtained. ErrorInfo *ErrorInfo `json:"ErrorInfo,omitnil,omitempty" name:"ErrorInfo"` // Additional information. // Note: This field may return null, indicating that no valid values can be obtained. Extra *string `json:"Extra,omitnil,omitempty" name:"Extra"` // Returned data. // Note: This field may return null, indicating that no valid values can be obtained. Data *string `json:"Data,omitnil,omitempty" name:"Data"` // Result. // Note: This field may return null, indicating that no valid values can be obtained. Msg *string `json:"Msg,omitnil,omitempty" name:"Msg"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyUserRoleProjectRequest ¶
type ModifyUserRoleProjectRequest struct { *tchttp.BaseRequest // Project ID. ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // User ID. UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"` // Role ID list. RoleIdList []*int64 `json:"RoleIdList,omitnil,omitempty" name:"RoleIdList"` // Mailbox. Email *string `json:"Email,omitnil,omitempty" name:"Email"` // Username. UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"` // WeCom app user ID. AppUserId *string `json:"AppUserId,omitnil,omitempty" name:"AppUserId"` }
func NewModifyUserRoleProjectRequest ¶
func NewModifyUserRoleProjectRequest() (request *ModifyUserRoleProjectRequest)
func (*ModifyUserRoleProjectRequest) FromJsonString ¶
func (r *ModifyUserRoleProjectRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyUserRoleProjectRequest) ToJsonString ¶
func (r *ModifyUserRoleProjectRequest) ToJsonString() string
type ModifyUserRoleProjectRequestParams ¶
type ModifyUserRoleProjectRequestParams struct { // Project ID. ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // User ID. UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"` // Role ID list. RoleIdList []*int64 `json:"RoleIdList,omitnil,omitempty" name:"RoleIdList"` // Mailbox. Email *string `json:"Email,omitnil,omitempty" name:"Email"` // Username. UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"` // WeCom app user ID. AppUserId *string `json:"AppUserId,omitnil,omitempty" name:"AppUserId"` }
Predefined struct for user
type ModifyUserRoleProjectResponse ¶
type ModifyUserRoleProjectResponse struct { *tchttp.BaseResponse Response *ModifyUserRoleProjectResponseParams `json:"Response"` }
func NewModifyUserRoleProjectResponse ¶
func NewModifyUserRoleProjectResponse() (response *ModifyUserRoleProjectResponse)
func (*ModifyUserRoleProjectResponse) FromJsonString ¶
func (r *ModifyUserRoleProjectResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyUserRoleProjectResponse) ToJsonString ¶
func (r *ModifyUserRoleProjectResponse) ToJsonString() string
type ModifyUserRoleProjectResponseParams ¶
type ModifyUserRoleProjectResponseParams struct { // Custom error information object. // Note: This field may return null, indicating that no valid values can be obtained. ErrorInfo *ErrorInfo `json:"ErrorInfo,omitnil,omitempty" name:"ErrorInfo"` // Expansion. // Note: This field may return null, indicating that no valid values can be obtained. Extra *string `json:"Extra,omitnil,omitempty" name:"Extra"` // Message. // Note: This field may return null, indicating that no valid values can be obtained. Msg *string `json:"Msg,omitnil,omitempty" name:"Msg"` // Data. // Note: This field may return null, indicating that no valid values can be obtained. Data *string `json:"Data,omitnil,omitempty" name:"Data"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyUserRoleRequest ¶
type ModifyUserRoleRequest struct { *tchttp.BaseRequest // User ID. UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"` // Role ID list. RoleIdList []*int64 `json:"RoleIdList,omitnil,omitempty" name:"RoleIdList"` // Mailbox. Email *string `json:"Email,omitnil,omitempty" name:"Email"` // Username. UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"` // Mobile number. PhoneNumber *string `json:"PhoneNumber,omitnil,omitempty" name:"PhoneNumber"` // Telephone country code. AreaCode *string `json:"AreaCode,omitnil,omitempty" name:"AreaCode"` // WeCom user ID. AppUserId *string `json:"AppUserId,omitnil,omitempty" name:"AppUserId"` // Whether to enable mobile phone verification code login (0: disabled, 1: enabled). LoginSecurityStatus *int64 `json:"LoginSecurityStatus,omitnil,omitempty" name:"LoginSecurityStatus"` // Whether to enable password expiration reminder (0: disabled, 1: enabled). ResetPassWordTip *int64 `json:"ResetPassWordTip,omitnil,omitempty" name:"ResetPassWordTip"` // Force password reset (0: disabled, 1: enabled). ForceResetPassWord *int64 `json:"ForceResetPassWord,omitnil,omitempty" name:"ForceResetPassWord"` // Password expiration reminder period: 30, 60, 90 (default), or 180 days. PasswordExpired *int64 `json:"PasswordExpired,omitnil,omitempty" name:"PasswordExpired"` }
func NewModifyUserRoleRequest ¶
func NewModifyUserRoleRequest() (request *ModifyUserRoleRequest)
func (*ModifyUserRoleRequest) FromJsonString ¶
func (r *ModifyUserRoleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyUserRoleRequest) ToJsonString ¶
func (r *ModifyUserRoleRequest) ToJsonString() string
type ModifyUserRoleRequestParams ¶
type ModifyUserRoleRequestParams struct { // User ID. UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"` // Role ID list. RoleIdList []*int64 `json:"RoleIdList,omitnil,omitempty" name:"RoleIdList"` // Mailbox. Email *string `json:"Email,omitnil,omitempty" name:"Email"` // Username. UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"` // Mobile number. PhoneNumber *string `json:"PhoneNumber,omitnil,omitempty" name:"PhoneNumber"` // Telephone country code. AreaCode *string `json:"AreaCode,omitnil,omitempty" name:"AreaCode"` // WeCom user ID. AppUserId *string `json:"AppUserId,omitnil,omitempty" name:"AppUserId"` // Whether to enable mobile phone verification code login (0: disabled, 1: enabled). LoginSecurityStatus *int64 `json:"LoginSecurityStatus,omitnil,omitempty" name:"LoginSecurityStatus"` // Whether to enable password expiration reminder (0: disabled, 1: enabled). ResetPassWordTip *int64 `json:"ResetPassWordTip,omitnil,omitempty" name:"ResetPassWordTip"` // Force password reset (0: disabled, 1: enabled). ForceResetPassWord *int64 `json:"ForceResetPassWord,omitnil,omitempty" name:"ForceResetPassWord"` // Password expiration reminder period: 30, 60, 90 (default), or 180 days. PasswordExpired *int64 `json:"PasswordExpired,omitnil,omitempty" name:"PasswordExpired"` }
Predefined struct for user
type ModifyUserRoleResponse ¶
type ModifyUserRoleResponse struct { *tchttp.BaseResponse Response *ModifyUserRoleResponseParams `json:"Response"` }
func NewModifyUserRoleResponse ¶
func NewModifyUserRoleResponse() (response *ModifyUserRoleResponse)
func (*ModifyUserRoleResponse) FromJsonString ¶
func (r *ModifyUserRoleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyUserRoleResponse) ToJsonString ¶
func (r *ModifyUserRoleResponse) ToJsonString() string
type ModifyUserRoleResponseParams ¶
type ModifyUserRoleResponseParams struct { // Custom error information object. // Note: This field may return null, indicating that no valid values can be obtained. ErrorInfo *ErrorInfo `json:"ErrorInfo,omitnil,omitempty" name:"ErrorInfo"` // Expansion. // Note: This field may return null, indicating that no valid values can be obtained. Extra *string `json:"Extra,omitnil,omitempty" name:"Extra"` // Message. // Note: This field may return null, indicating that no valid values can be obtained. Msg *string `json:"Msg,omitnil,omitempty" name:"Msg"` // Data. // Note: This field may return null, indicating that no valid values can be obtained. Data *string `json:"Data,omitnil,omitempty" name:"Data"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type PageScreenListVO ¶
type PageScreenListVO struct { // Image export type. Valid values: Base64, and URL. // Note: This field may return null, indicating that no valid values can be obtained. PicType *string `json:"PicType,omitnil,omitempty" name:"PicType"` // Image list. // Note: This field may return null, indicating that no valid values can be obtained. List []*PageScreenVO `json:"List,omitnil,omitempty" name:"List"` // Async transaction ID. // Note: This field may return null, indicating that no valid values can be obtained. TranId *string `json:"TranId,omitnil,omitempty" name:"TranId"` // Transaction status. // 1: processing; 2: processing successful; 3: processing failed (error content in outer Msg). // Note: This field may return null, indicating that no valid values can be obtained. TranStatus *int64 `json:"TranStatus,omitnil,omitempty" name:"TranStatus"` }
type PageScreenVO ¶
type PageScreenVO struct { // Screenshot Base64 or URL. // Note: This field may return null, indicating that no valid values can be obtained. Content *string `json:"Content,omitnil,omitempty" name:"Content"` // Component ID. // Note: This field may return null, indicating that no valid values can be obtained. WidgetId *string `json:"WidgetId,omitnil,omitempty" name:"WidgetId"` }
type PermissionComponent ¶
type PermissionComponent struct { // Permission value. // Note: This field may return null, indicating that no valid values can be obtained. ModuleId *string `json:"ModuleId,omitnil,omitempty" name:"ModuleId"` // Visible/Available. // Note: This field may return null, indicating that no valid values can be obtained. IncludeType *string `json:"IncludeType,omitnil,omitempty" name:"IncludeType"` // Target upgrade version. // Note: This field may return null, indicating that no valid values can be obtained. UpgradeVersionType *string `json:"UpgradeVersionType,omitnil,omitempty" name:"UpgradeVersionType"` // Supplemental information. // Note: This field may return null, indicating that no valid values can be obtained. Tips *string `json:"Tips,omitnil,omitempty" name:"Tips"` // Key for supplementary information. // Note: This field may return null, indicating that no valid values can be obtained. TipsKey *string `json:"TipsKey,omitnil,omitempty" name:"TipsKey"` }
type PermissionGroup ¶
type PermissionGroup struct { // Group name. // Note: This field may return null, indicating that no valid values can be obtained. ModuleGroup *string `json:"ModuleGroup,omitnil,omitempty" name:"ModuleGroup"` // Permission list. // Note: This field may return null, indicating that no valid values can be obtained. Components []*PermissionComponent `json:"Components,omitnil,omitempty" name:"Components"` }
type Project ¶
type Project struct { // Project ID. Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"` // Project logo. // Note: This field may return null, indicating that no valid values can be obtained. Logo *string `json:"Logo,omitnil,omitempty" name:"Logo"` // Project name. // Note: This field may return null, indicating that no valid values can be obtained. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Background color of the logo. // Note: This field may return null, indicating that no valid values can be obtained. ColorCode *string `json:"ColorCode,omitnil,omitempty" name:"ColorCode"` // Creator. // Note: This field may return null, indicating that no valid values can be obtained. CreatedUser *string `json:"CreatedUser,omitnil,omitempty" name:"CreatedUser"` // Creation time. // Note: This field may return null, indicating that no valid values can be obtained. CreatedAt *string `json:"CreatedAt,omitnil,omitempty" name:"CreatedAt"` // Number of members. // Note: This field may return null, indicating that no valid values can be obtained. MemberCount *int64 `json:"MemberCount,omitnil,omitempty" name:"MemberCount"` // Number of pages. // Note: This field may return null, indicating that no valid values can be obtained. PageCount *int64 `json:"PageCount,omitnil,omitempty" name:"PageCount"` // Last modified report and dashboard names. // Note: This field may return null, indicating that no valid values can be obtained. LastModifyName *string `json:"LastModifyName,omitnil,omitempty" name:"LastModifyName"` // "" // Note: This field may return null, indicating that no valid values can be obtained. Source *string `json:"Source,omitnil,omitempty" name:"Source"` // "" // Note: This field may return null, indicating that no valid values can be obtained. Apply *bool `json:"Apply,omitnil,omitempty" name:"Apply"` // "" // Note: This field may return null, indicating that no valid values can be obtained. UpdatedUser *string `json:"UpdatedUser,omitnil,omitempty" name:"UpdatedUser"` // "" // Note: This field may return null, indicating that no valid values can be obtained. UpdatedAt *string `json:"UpdatedAt,omitnil,omitempty" name:"UpdatedAt"` // "" // Note: This field may return null, indicating that no valid values can be obtained. CorpId *string `json:"CorpId,omitnil,omitempty" name:"CorpId"` // "" // Note: This field may return null, indicating that no valid values can be obtained. Mark *string `json:"Mark,omitnil,omitempty" name:"Mark"` // "" // Note: This field may return null, indicating that no valid values can be obtained. Seed *string `json:"Seed,omitnil,omitempty" name:"Seed"` // Permission list in the project. // Note: This field may return null, indicating that no valid values can be obtained. AuthList []*string `json:"AuthList,omitnil,omitempty" name:"AuthList"` // Default dashboard. // Note: This field may return null, indicating that no valid values can be obtained. PanelScope *string `json:"PanelScope,omitnil,omitempty" name:"PanelScope"` // Whether it is managed. // Note: This field may return null, indicating that no valid values can be obtained. IsExternalManage *bool `json:"IsExternalManage,omitnil,omitempty" name:"IsExternalManage"` // Management platform name. // Note: This field may return null, indicating that no valid values can be obtained. ManagePlatform *string `json:"ManagePlatform,omitnil,omitempty" name:"ManagePlatform"` // Customization parameter. // Note: This field may return null, indicating that no valid values can be obtained. ConfigList []*ProjectConfigList `json:"ConfigList,omitnil,omitempty" name:"ConfigList"` // Creator. // Note: This field may return null, indicating that no valid values can be obtained. CreatedUserName *string `json:"CreatedUserName,omitnil,omitempty" name:"CreatedUserName"` // Associated person ID. // Note: This field may return null, indicating that no valid values can be obtained. Owner *string `json:"Owner,omitnil,omitempty" name:"Owner"` // Associated person. // Note: This field may return null, indicating that no valid values can be obtained. OwnerName *string `json:"OwnerName,omitnil,omitempty" name:"OwnerName"` // Number of dashboard pages. // Note: This field may return null, indicating that no valid values can be obtained. NormalCount *int64 `json:"NormalCount,omitnil,omitempty" name:"NormalCount"` // Number of free canvas pages. // Note: This field may return null, indicating that no valid values can be obtained. FreeCount *int64 `json:"FreeCount,omitnil,omitempty" name:"FreeCount"` // Number of ad-hoc analysis pages. // Note: This field may return null, indicating that no valid values can be obtained. AdhocCount *int64 `json:"AdhocCount,omitnil,omitempty" name:"AdhocCount"` // Number of pages in the briefing // Note: This field may return null, indicating that no valid values can be obtained. BriefingCount *int64 `json:"BriefingCount,omitnil,omitempty" name:"BriefingCount"` }
type ProjectConfigList ¶
type ProjectConfigList struct { // Module group. // Note: This field may return null, indicating that no valid values can be obtained. ModuleGroup *string `json:"ModuleGroup,omitnil,omitempty" name:"ModuleGroup"` // Content. // Note: This field may return null, indicating that no valid values can be obtained. Components []*ProjectConfigResult `json:"Components,omitnil,omitempty" name:"Components"` }
type ProjectConfigResult ¶
type ProjectConfigResult struct { // Configuration name. // Note: This field may return null, indicating that no valid values can be obtained. ModuleId *string `json:"ModuleId,omitnil,omitempty" name:"ModuleId"` // Configuration mode. // Note: This field may return null, indicating that no valid values can be obtained. IncludeType *string `json:"IncludeType,omitnil,omitempty" name:"IncludeType"` // Additional parameters. // Note: This field may return null, indicating that no valid values can be obtained. Params *string `json:"Params,omitnil,omitempty" name:"Params"` }
type ProjectListData ¶
type ProjectListData struct { // Array. // Note: This field may return null, indicating that no valid values can be obtained. List []*Project `json:"List,omitnil,omitempty" name:"List"` // Total number. // // Note: This field may return null, indicating that no valid values can be obtained. Total *uint64 `json:"Total,omitnil,omitempty" name:"Total"` // 1 // Note: This field may return null, indicating that no valid values can be obtained. TotalPages *uint64 `json:"TotalPages,omitnil,omitempty" name:"TotalPages"` }
type UserGroupDTO ¶
type UserGroupDTO struct { // id // Note: This field may return null, indicating that no valid values can be obtained. Id *int64 `json:"Id,omitnil,omitempty" name:"Id"` // User group name. // Note: This field may return null, indicating that no valid values can be obtained. GroupName *string `json:"GroupName,omitnil,omitempty" name:"GroupName"` // Parent node ID. // Note: This field may return null, indicating that no valid values can be obtained. ParentId *int64 `json:"ParentId,omitnil,omitempty" name:"ParentId"` // Whether it is default. // Note: This field may return null, indicating that no valid values can be obtained. IsDefault *int64 `json:"IsDefault,omitnil,omitempty" name:"IsDefault"` // Administrator user ID. // Note: This field may return null, indicating that no valid values can be obtained. AdminUserId *string `json:"AdminUserId,omitnil,omitempty" name:"AdminUserId"` // Description. // Note: This field may return null, indicating that no valid values can be obtained. Description *string `json:"Description,omitnil,omitempty" name:"Description"` // Location. // Note: This field may return null, indicating that no valid values can be obtained. Location *int64 `json:"Location,omitnil,omitempty" name:"Location"` }
type UserIdAndUserName ¶
type UserIdAndUserName struct { // User ID. UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"` // Username. UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"` // Enterprise ID. // Note: This field may return null, indicating that no valid values can be obtained. CorpId *string `json:"CorpId,omitnil,omitempty" name:"CorpId"` // Email. // Note: This field may return null, indicating that no valid values can be obtained. Email *string `json:"Email,omitnil,omitempty" name:"Email"` // Last login time. // Note: This field may return null, indicating that no valid values can be obtained. LastLogin *string `json:"LastLogin,omitnil,omitempty" name:"LastLogin"` // Enabled/Disabled status. // Note: This field may return null, indicating that no valid values can be obtained. Status *int64 `json:"Status,omitnil,omitempty" name:"Status"` // Whether to change the password during the first-time login. // Note: This field may return null, indicating that no valid values can be obtained. FirstModify *int64 `json:"FirstModify,omitnil,omitempty" name:"FirstModify"` // Mobile number. // Note: This field may return null, indicating that no valid values can be obtained. PhoneNumber *string `json:"PhoneNumber,omitnil,omitempty" name:"PhoneNumber"` // Telephone country code. // Note: This field may return null, indicating that no valid values can be obtained. AreaCode *string `json:"AreaCode,omitnil,omitempty" name:"AreaCode"` // Creator. // Note: This field may return null, indicating that no valid values can be obtained. CreatedUser *string `json:"CreatedUser,omitnil,omitempty" name:"CreatedUser"` // Creation time. // Note: This field may return null, indicating that no valid values can be obtained. CreatedAt *string `json:"CreatedAt,omitnil,omitempty" name:"CreatedAt"` // Modifier. // Note: This field may return null, indicating that no valid values can be obtained. UpdatedUser *string `json:"UpdatedUser,omitnil,omitempty" name:"UpdatedUser"` // Change time. // Note: This field may return null, indicating that no valid values can be obtained. UpdatedAt *string `json:"UpdatedAt,omitnil,omitempty" name:"UpdatedAt"` // Global role. // Note: This field may return null, indicating that no valid values can be obtained. GlobalUserName *string `json:"GlobalUserName,omitnil,omitempty" name:"GlobalUserName"` // Global role code. // Note: This field may return null, indicating that no valid values can be obtained. GlobalUserCode *string `json:"GlobalUserCode,omitnil,omitempty" name:"GlobalUserCode"` // Mobile number. // // Note: This field may return null, indicating that no valid values can be obtained. Mobile *string `json:"Mobile,omitnil,omitempty" name:"Mobile"` // 1 // Note: This field may return null, indicating that no valid values can be obtained. AppId *string `json:"AppId,omitnil,omitempty" name:"AppId"` // 1 // Note: This field may return null, indicating that no valid values can be obtained. AppUserId *string `json:"AppUserId,omitnil,omitempty" name:"AppUserId"` // 1 // Note: This field may return null, indicating that no valid values can be obtained. AppUserAliasName *string `json:"AppUserAliasName,omitnil,omitempty" name:"AppUserAliasName"` // 1 // Note: This field may return null, indicating that no valid values can be obtained. AppUserName *string `json:"AppUserName,omitnil,omitempty" name:"AppUserName"` // 1 // Note: This field may return null, indicating that no valid values can be obtained. InValidateAppRange *bool `json:"InValidateAppRange,omitnil,omitempty" name:"InValidateAppRange"` // -1: No activation required. 0: Inactivated. 1: Activated. Null value represents pending binding. // Note: This field may return null, indicating that no valid values can be obtained. EmailActivationStatus *int64 `json:"EmailActivationStatus,omitnil,omitempty" name:"EmailActivationStatus"` // 1 // Note: This field may return null, indicating that no valid values can be obtained. Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"` }
type UserInfo ¶
type UserInfo struct { // User ID. UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"` // Username. UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"` // Email. // Note: This field may return null, indicating that no valid values can be obtained. Email *string `json:"Email,omitnil,omitempty" name:"Email"` // Mobile number. // // Note: This field may return null, indicating that no valid values can be obtained. PhoneNumber *string `json:"PhoneNumber,omitnil,omitempty" name:"PhoneNumber"` // Telephone country code. // Note: This field may return null, indicating that no valid values can be obtained. AreaCode *string `json:"AreaCode,omitnil,omitempty" name:"AreaCode"` // WeCom account ID. // Note: This field may return null, indicating that no valid values can be obtained. AppUserId *string `json:"AppUserId,omitnil,omitempty" name:"AppUserId"` // WeCom account name. // Note: This field may return null, indicating that no valid values can be obtained. AppUserName *string `json:"AppUserName,omitnil,omitempty" name:"AppUserName"` }
type UserRoleListData ¶
type UserRoleListData struct { // Total number. // Note: This field may return null, indicating that no valid values can be obtained. Total *int64 `json:"Total,omitnil,omitempty" name:"Total"` // Total number of pages. // Note: This field may return null, indicating that no valid values can be obtained. TotalPages *int64 `json:"TotalPages,omitnil,omitempty" name:"TotalPages"` // List. // Note: This field may return null, indicating that no valid values can be obtained. List []*UserRoleListDataUserRoleInfo `json:"List,omitnil,omitempty" name:"List"` }
type UserRoleListDataRoleInfo ¶
type UserRoleListDataRoleInfo struct { // Role Name. // Note: This field may return null, indicating that no valid values can be obtained. RoleName *string `json:"RoleName,omitnil,omitempty" name:"RoleName"` // Role ID. // Note: This field may return null, indicating that no valid values can be obtained. RoleId *int64 `json:"RoleId,omitnil,omitempty" name:"RoleId"` // Project ID. // Note: This field may return null, indicating that no valid values can be obtained. ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Project name. // Note: This field may return null, indicating that no valid values can be obtained. ProjectName *string `json:"ProjectName,omitnil,omitempty" name:"ProjectName"` // Whether it is a global role (0: no; 1: yes). // Note: This field may return null, indicating that no valid values can be obtained. ScopeType *int64 `json:"ScopeType,omitnil,omitempty" name:"ScopeType"` // Role key. // Note: This field may return null, indicating that no valid values can be obtained. ModuleCollection *string `json:"ModuleCollection,omitnil,omitempty" name:"ModuleCollection"` }
type UserRoleListDataUserRoleInfo ¶
type UserRoleListDataUserRoleInfo struct { // Business ID. Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"` // This API is used to obtain the role list. // Note: This field may return null, indicating that no valid values can be obtained. RoleList []*UserRoleListDataRoleInfo `json:"RoleList,omitnil,omitempty" name:"RoleList"` // Role ID list. // Note: This field may return null, indicating that no valid values can be obtained. RoleIdList []*uint64 `json:"RoleIdList,omitnil,omitempty" name:"RoleIdList"` // User ID. UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"` // Username. UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"` // Enterprise ID. CorpId *string `json:"CorpId,omitnil,omitempty" name:"CorpId"` // Email. // Note: This field may return null, indicating that no valid values can be obtained. Email *string `json:"Email,omitnil,omitempty" name:"Email"` // Creator. // Note: This field may return null, indicating that no valid values can be obtained. CreatedUser *string `json:"CreatedUser,omitnil,omitempty" name:"CreatedUser"` // Creation time. // Note: This field may return null, indicating that no valid values can be obtained. CreatedAt *string `json:"CreatedAt,omitnil,omitempty" name:"CreatedAt"` // Updater. // Note: This field may return null, indicating that no valid values can be obtained. UpdatedUser *string `json:"UpdatedUser,omitnil,omitempty" name:"UpdatedUser"` // Update time. // Note: This field may return null, indicating that no valid values can be obtained. UpdatedAt *string `json:"UpdatedAt,omitnil,omitempty" name:"UpdatedAt"` // Last login time. // Note: This field may return null, indicating that no valid values can be obtained. LastLogin *string `json:"LastLogin,omitnil,omitempty" name:"LastLogin"` // Account status. // Note: This field may return null, indicating that no valid values can be obtained. Status *int64 `json:"Status,omitnil,omitempty" name:"Status"` // Mobile number. // Note: This field may return null, indicating that no valid values can be obtained. PhoneNumber *string `json:"PhoneNumber,omitnil,omitempty" name:"PhoneNumber"` // Telephone country code. // Note: This field may return null, indicating that no valid values can be obtained. AreaCode *string `json:"AreaCode,omitnil,omitempty" name:"AreaCode"` // Whether it is the root account. // Note: This field may return null, indicating that no valid values can be obtained. RootAccount *bool `json:"RootAccount,omitnil,omitempty" name:"RootAccount"` // Whether it is an enterprise administrator. // Note: This field may return null, indicating that no valid values can be obtained. CorpAdmin *bool `json:"CorpAdmin,omitnil,omitempty" name:"CorpAdmin"` // WeCom user ID. // Note: This field may return null, indicating that no valid values can be obtained. AppUserId *string `json:"AppUserId,omitnil,omitempty" name:"AppUserId"` // Nickname. // Note: This field may return null, indicating that no valid values can be obtained. AppUserAliasName *string `json:"AppUserAliasName,omitnil,omitempty" name:"AppUserAliasName"` // Application username. // Note: This field may return null, indicating that no valid values can be obtained. AppUserName *string `json:"AppUserName,omitnil,omitempty" name:"AppUserName"` // Whether it is within the visible range. // Note: This field may return null, indicating that no valid values can be obtained. InValidateAppRange *bool `json:"InValidateAppRange,omitnil,omitempty" name:"InValidateAppRange"` // User openID. // Note: This field may return null, indicating that no valid values can be obtained. AppOpenUserId *string `json:"AppOpenUserId,omitnil,omitempty" name:"AppOpenUserId"` // Activation status of email. // Note: This field may return null, indicating that no valid values can be obtained. EmailActivationStatus *int64 `json:"EmailActivationStatus,omitnil,omitempty" name:"EmailActivationStatus"` // User group information. // Note: This field may return null, indicating that no valid values can be obtained. UserGroupList []*UserGroupDTO `json:"UserGroupList,omitnil,omitempty" name:"UserGroupList"` }
type WidgetListVO ¶
type WidgetListVO struct { // uin // Note: This field may return null, indicating that no valid values can be obtained. CorpId *string `json:"CorpId,omitnil,omitempty" name:"CorpId"` // Project ID. // Note: This field may return null, indicating that no valid values can be obtained. ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Page ID. // Note: This field may return null, indicating that no valid values can be obtained. PageId *string `json:"PageId,omitnil,omitempty" name:"PageId"` // Component array. // Note: This field may return null, indicating that no valid values can be obtained. WidgetList []*WidgetVO `json:"WidgetList,omitnil,omitempty" name:"WidgetList"` }
type WidgetVO ¶
type WidgetVO struct { // Component ID. // Note: This field may return null, indicating that no valid values can be obtained. WidgetId *string `json:"WidgetId,omitnil,omitempty" name:"WidgetId"` // Component name. // Note: This field may return null, indicating that no valid values can be obtained. WidgetName *string `json:"WidgetName,omitnil,omitempty" name:"WidgetName"` }