Documentation ¶
Index ¶
- type AdminLog
- type AdminLogBuilder
- func (builder *AdminLogBuilder) Build() *AdminLog
- func (builder *AdminLogBuilder) CategoryName(categoryName string) *AdminLogBuilder
- func (builder *AdminLogBuilder) Content(content string) *AdminLogBuilder
- func (builder *AdminLogBuilder) CreateTime(createTime string) *AdminLogBuilder
- func (builder *AdminLogBuilder) EventName(eventName string) *AdminLogBuilder
- func (builder *AdminLogBuilder) IpAddress(ipAddress string) *AdminLogBuilder
- func (builder *AdminLogBuilder) OperationStatus(operationStatus int) *AdminLogBuilder
- func (builder *AdminLogBuilder) UniqueId(uniqueId string) *AdminLogBuilder
- func (builder *AdminLogBuilder) UserId(userId string) *AdminLogBuilder
- type ApiAuditCommonDrawers
- type ApiAuditCommonDrawersBuilder
- type ApiAuditDrawerInfo
- type ApiAuditDrawerInfoBuilder
- func (builder *ApiAuditDrawerInfoBuilder) Build() *ApiAuditDrawerInfo
- func (builder *ApiAuditDrawerInfoBuilder) InfoKey(infoKey string) *ApiAuditDrawerInfoBuilder
- func (builder *ApiAuditDrawerInfoBuilder) InfoVal(infoVal string) *ApiAuditDrawerInfoBuilder
- func (builder *ApiAuditDrawerInfoBuilder) KeyI18nKey(keyI18nKey string) *ApiAuditDrawerInfoBuilder
- func (builder *ApiAuditDrawerInfoBuilder) ValI18nKey(valI18nKey string) *ApiAuditDrawerInfoBuilder
- func (builder *ApiAuditDrawerInfoBuilder) ValType(valType string) *ApiAuditDrawerInfoBuilder
- type AppDlpExecuteLog
- type AppDlpExecuteLogBuilder
- func (builder *AppDlpExecuteLogBuilder) ActionName(actionName string) *AppDlpExecuteLogBuilder
- func (builder *AppDlpExecuteLogBuilder) Build() *AppDlpExecuteLog
- func (builder *AppDlpExecuteLogBuilder) EntityId(entityId string) *AppDlpExecuteLogBuilder
- func (builder *AppDlpExecuteLogBuilder) EventName(eventName string) *AppDlpExecuteLogBuilder
- func (builder *AppDlpExecuteLogBuilder) Evidences(evidences *DlpExecuteEvidence) *AppDlpExecuteLogBuilder
- func (builder *AppDlpExecuteLogBuilder) ExecuteTime(executeTime string) *AppDlpExecuteLogBuilder
- func (builder *AppDlpExecuteLogBuilder) HitPolicies(hitPolicies []string) *AppDlpExecuteLogBuilder
- func (builder *AppDlpExecuteLogBuilder) UserId(userId string) *AppDlpExecuteLogBuilder
- type AuditAndroidContext
- type AuditAndroidContextBuilder
- func (builder *AuditAndroidContextBuilder) ActiveIp(activeIp string) *AuditAndroidContextBuilder
- func (builder *AuditAndroidContextBuilder) ActiveIpDetail(activeIpDetail string) *AuditAndroidContextBuilder
- func (builder *AuditAndroidContextBuilder) AppVer(appVer string) *AuditAndroidContextBuilder
- func (builder *AuditAndroidContextBuilder) Build() *AuditAndroidContext
- func (builder *AuditAndroidContextBuilder) CellBaseStation(cellBaseStation string) *AuditAndroidContextBuilder
- func (builder *AuditAndroidContextBuilder) Did(did string) *AuditAndroidContextBuilder
- func (builder *AuditAndroidContextBuilder) EnvMl(envMl string) *AuditAndroidContextBuilder
- func (builder *AuditAndroidContextBuilder) EnvSu(envSu string) *AuditAndroidContextBuilder
- func (builder *AuditAndroidContextBuilder) EnvTz(envTz string) *AuditAndroidContextBuilder
- func (builder *AuditAndroidContextBuilder) HwBrand(hwBrand string) *AuditAndroidContextBuilder
- func (builder *AuditAndroidContextBuilder) HwManuf(hwManuf string) *AuditAndroidContextBuilder
- func (builder *AuditAndroidContextBuilder) IP(iP string) *AuditAndroidContextBuilder
- func (builder *AuditAndroidContextBuilder) IdI(idI string) *AuditAndroidContextBuilder
- func (builder *AuditAndroidContextBuilder) IdR(idR string) *AuditAndroidContextBuilder
- func (builder *AuditAndroidContextBuilder) Location(location string) *AuditAndroidContextBuilder
- func (builder *AuditAndroidContextBuilder) Region(region string) *AuditAndroidContextBuilder
- func (builder *AuditAndroidContextBuilder) RouteGip(routeGip string) *AuditAndroidContextBuilder
- func (builder *AuditAndroidContextBuilder) RouteIip(routeIip string) *AuditAndroidContextBuilder
- func (builder *AuditAndroidContextBuilder) Udid(udid string) *AuditAndroidContextBuilder
- func (builder *AuditAndroidContextBuilder) Ver(ver string) *AuditAndroidContextBuilder
- func (builder *AuditAndroidContextBuilder) Wifip(wifip string) *AuditAndroidContextBuilder
- type AuditContext
- type AuditContextBuilder
- func (builder *AuditContextBuilder) AndroidContext(androidContext *AuditAndroidContext) *AuditContextBuilder
- func (builder *AuditContextBuilder) Build() *AuditContext
- func (builder *AuditContextBuilder) IosContext(iosContext *AuditIosContext) *AuditContextBuilder
- func (builder *AuditContextBuilder) PcContext(pcContext *AuditPcContext) *AuditContextBuilder
- func (builder *AuditContextBuilder) TerminalType(terminalType int) *AuditContextBuilder
- func (builder *AuditContextBuilder) WebContext(webContext *AuditWebContext) *AuditContextBuilder
- type AuditDetail
- type AuditDetailBuilder
- func (builder *AuditDetailBuilder) Build() *AuditDetail
- func (builder *AuditDetailBuilder) City(city string) *AuditDetailBuilder
- func (builder *AuditDetailBuilder) DeviceModel(deviceModel string) *AuditDetailBuilder
- func (builder *AuditDetailBuilder) Mc(mc string) *AuditDetailBuilder
- func (builder *AuditDetailBuilder) Os(os string) *AuditDetailBuilder
- type AuditEventExtend
- type AuditEventExtendBuilder
- func (builder *AuditEventExtendBuilder) AppDetail(appDetail string) *AuditEventExtendBuilder
- func (builder *AuditEventExtendBuilder) Build() *AuditEventExtend
- func (builder *AuditEventExtendBuilder) CommentType(commentType string) *AuditEventExtendBuilder
- func (builder *AuditEventExtendBuilder) ExternalPeopleNumInChat(externalPeopleNumInChat int) *AuditEventExtendBuilder
- func (builder *AuditEventExtendBuilder) ExternalPeopleNumInDocShare(externalPeopleNumInDocShare int) *AuditEventExtendBuilder
- func (builder *AuditEventExtendBuilder) ExternalPeopleNumInVideo(externalPeopleNumInVideo int) *AuditEventExtendBuilder
- func (builder *AuditEventExtendBuilder) JoinGroup(joinGroup int) *AuditEventExtendBuilder
- func (builder *AuditEventExtendBuilder) LoginMethod(loginMethod string) *AuditEventExtendBuilder
- func (builder *AuditEventExtendBuilder) NewPeopleNumInVideo(newPeopleNumInVideo int) *AuditEventExtendBuilder
- func (builder *AuditEventExtendBuilder) QuitGroup(quitGroup int) *AuditEventExtendBuilder
- func (builder *AuditEventExtendBuilder) TwoStepValidation(twoStepValidation bool) *AuditEventExtendBuilder
- type AuditInfo
- type AuditInfoBuilder
- func (builder *AuditInfoBuilder) AuditContext(auditContext *AuditContext) *AuditInfoBuilder
- func (builder *AuditInfoBuilder) AuditDetail(auditDetail *AuditDetail) *AuditInfoBuilder
- func (builder *AuditInfoBuilder) Build() *AuditInfo
- func (builder *AuditInfoBuilder) CommonDrawers(commonDrawers *ApiAuditCommonDrawers) *AuditInfoBuilder
- func (builder *AuditInfoBuilder) DepartmentIds(departmentIds []string) *AuditInfoBuilder
- func (builder *AuditInfoBuilder) EventId(eventId string) *AuditInfoBuilder
- func (builder *AuditInfoBuilder) EventModule(eventModule int) *AuditInfoBuilder
- func (builder *AuditInfoBuilder) EventName(eventName string) *AuditInfoBuilder
- func (builder *AuditInfoBuilder) EventTime(eventTime int) *AuditInfoBuilder
- func (builder *AuditInfoBuilder) Extend(extend *AuditEventExtend) *AuditInfoBuilder
- func (builder *AuditInfoBuilder) Ip(ip string) *AuditInfoBuilder
- func (builder *AuditInfoBuilder) Objects(objects []*AuditObjectEntity) *AuditInfoBuilder
- func (builder *AuditInfoBuilder) OperatorApp(operatorApp string) *AuditInfoBuilder
- func (builder *AuditInfoBuilder) OperatorAppName(operatorAppName string) *AuditInfoBuilder
- func (builder *AuditInfoBuilder) OperatorTenant(operatorTenant string) *AuditInfoBuilder
- func (builder *AuditInfoBuilder) OperatorType(operatorType int) *AuditInfoBuilder
- func (builder *AuditInfoBuilder) OperatorValue(operatorValue string) *AuditInfoBuilder
- func (builder *AuditInfoBuilder) Recipients(recipients []*AuditRecipientEntity) *AuditInfoBuilder
- func (builder *AuditInfoBuilder) UniqueId(uniqueId string) *AuditInfoBuilder
- type AuditIosContext
- type AuditIosContextBuilder
- func (builder *AuditIosContextBuilder) ActiveIp(activeIp string) *AuditIosContextBuilder
- func (builder *AuditIosContextBuilder) ActiveIpDetail(activeIpDetail string) *AuditIosContextBuilder
- func (builder *AuditIosContextBuilder) AppVer(appVer string) *AuditIosContextBuilder
- func (builder *AuditIosContextBuilder) Build() *AuditIosContext
- func (builder *AuditIosContextBuilder) CellBaseStation(cellBaseStation string) *AuditIosContextBuilder
- func (builder *AuditIosContextBuilder) Did(did string) *AuditIosContextBuilder
- func (builder *AuditIosContextBuilder) IP(iP string) *AuditIosContextBuilder
- func (builder *AuditIosContextBuilder) Location(location string) *AuditIosContextBuilder
- func (builder *AuditIosContextBuilder) ML(mL string) *AuditIosContextBuilder
- func (builder *AuditIosContextBuilder) Os(os string) *AuditIosContextBuilder
- func (builder *AuditIosContextBuilder) Proxyip(proxyip string) *AuditIosContextBuilder
- func (builder *AuditIosContextBuilder) STZone(sTZone string) *AuditIosContextBuilder
- func (builder *AuditIosContextBuilder) Sjd(sjd string) *AuditIosContextBuilder
- func (builder *AuditIosContextBuilder) Udid(udid string) *AuditIosContextBuilder
- func (builder *AuditIosContextBuilder) Ver(ver string) *AuditIosContextBuilder
- func (builder *AuditIosContextBuilder) Wifip(wifip string) *AuditIosContextBuilder
- type AuditObjectDetail
- type AuditObjectDetailBuilder
- func (builder *AuditObjectDetailBuilder) Build() *AuditObjectDetail
- func (builder *AuditObjectDetailBuilder) CloneSource(cloneSource string) *AuditObjectDetailBuilder
- func (builder *AuditObjectDetailBuilder) ContainFileNum(containFileNum int) *AuditObjectDetailBuilder
- func (builder *AuditObjectDetailBuilder) ContainerId(containerId string) *AuditObjectDetailBuilder
- func (builder *AuditObjectDetailBuilder) ContainerType(containerType string) *AuditObjectDetailBuilder
- func (builder *AuditObjectDetailBuilder) CurrentPage(currentPage string) *AuditObjectDetailBuilder
- func (builder *AuditObjectDetailBuilder) FileName(fileName string) *AuditObjectDetailBuilder
- func (builder *AuditObjectDetailBuilder) FileServiceSource(fileServiceSource string) *AuditObjectDetailBuilder
- func (builder *AuditObjectDetailBuilder) OkrDownloadContent(okrDownloadContent string) *AuditObjectDetailBuilder
- func (builder *AuditObjectDetailBuilder) PermissionExternalAccessType(permissionExternalAccessType bool) *AuditObjectDetailBuilder
- func (builder *AuditObjectDetailBuilder) PermissionSettingType(permissionSettingType string) *AuditObjectDetailBuilder
- func (builder *AuditObjectDetailBuilder) PermissionShareType(permissionShareType string) *AuditObjectDetailBuilder
- func (builder *AuditObjectDetailBuilder) TextDetail(textDetail string) *AuditObjectDetailBuilder
- func (builder *AuditObjectDetailBuilder) ThirdPartyAppID(thirdPartyAppID string) *AuditObjectDetailBuilder
- type AuditObjectEntity
- type AuditObjectEntityBuilder
- func (builder *AuditObjectEntityBuilder) Build() *AuditObjectEntity
- func (builder *AuditObjectEntityBuilder) ObjectDetail(objectDetail *AuditObjectDetail) *AuditObjectEntityBuilder
- func (builder *AuditObjectEntityBuilder) ObjectName(objectName string) *AuditObjectEntityBuilder
- func (builder *AuditObjectEntityBuilder) ObjectOwner(objectOwner string) *AuditObjectEntityBuilder
- func (builder *AuditObjectEntityBuilder) ObjectType(objectType string) *AuditObjectEntityBuilder
- func (builder *AuditObjectEntityBuilder) ObjectValue(objectValue string) *AuditObjectEntityBuilder
- type AuditPcContext
- type AuditPcContextBuilder
- func (builder *AuditPcContextBuilder) AppVer(appVer string) *AuditPcContextBuilder
- func (builder *AuditPcContextBuilder) Build() *AuditPcContext
- func (builder *AuditPcContextBuilder) Did(did string) *AuditPcContextBuilder
- func (builder *AuditPcContextBuilder) IP(iP string) *AuditPcContextBuilder
- func (builder *AuditPcContextBuilder) Os(os string) *AuditPcContextBuilder
- func (builder *AuditPcContextBuilder) Region(region string) *AuditPcContextBuilder
- func (builder *AuditPcContextBuilder) Udid(udid string) *AuditPcContextBuilder
- func (builder *AuditPcContextBuilder) Ver(ver string) *AuditPcContextBuilder
- func (builder *AuditPcContextBuilder) Wifip(wifip string) *AuditPcContextBuilder
- type AuditRecipientDetail
- type AuditRecipientDetailBuilder
- type AuditRecipientEntity
- type AuditRecipientEntityBuilder
- func (builder *AuditRecipientEntityBuilder) Build() *AuditRecipientEntity
- func (builder *AuditRecipientEntityBuilder) RecipientDetail(recipientDetail *AuditRecipientDetail) *AuditRecipientEntityBuilder
- func (builder *AuditRecipientEntityBuilder) RecipientType(recipientType string) *AuditRecipientEntityBuilder
- func (builder *AuditRecipientEntityBuilder) RecipientValue(recipientValue string) *AuditRecipientEntityBuilder
- type AuditWebContext
- type AuditWebContextBuilder
- type CreateMigrationEntity
- type CreateMigrationEntityBuilder
- func (builder *CreateMigrationEntityBuilder) Build() *CreateMigrationEntity
- func (builder *CreateMigrationEntityBuilder) Id(id string) *CreateMigrationEntityBuilder
- func (builder *CreateMigrationEntityBuilder) Location(location string) *CreateMigrationEntityBuilder
- func (builder *CreateMigrationEntityBuilder) MailAddress(mailAddress string) *CreateMigrationEntityBuilder
- func (builder *CreateMigrationEntityBuilder) Type(type_ string) *CreateMigrationEntityBuilder
- type CreateMigrationItems
- type CreateMigrationItemsBuilder
- func (builder *CreateMigrationItemsBuilder) Build() *CreateMigrationItems
- func (builder *CreateMigrationItemsBuilder) Entity(entity *CreateMigrationEntity) *CreateMigrationItemsBuilder
- func (builder *CreateMigrationItemsBuilder) TaskId(taskId string) *CreateMigrationItemsBuilder
- func (builder *CreateMigrationItemsBuilder) TaskStatus(taskStatus string) *CreateMigrationItemsBuilder
- type DataArchivingMessage
- type DataArchivingMessageBuilder
- type DataArchivingMessageStruct
- type DataArchivingMessageStructBuilder
- func (builder *DataArchivingMessageStructBuilder) ActionTime(actionTime string) *DataArchivingMessageStructBuilder
- func (builder *DataArchivingMessageStructBuilder) ActionType(actionType string) *DataArchivingMessageStructBuilder
- func (builder *DataArchivingMessageStructBuilder) Build() *DataArchivingMessageStruct
- func (builder *DataArchivingMessageStructBuilder) ChatId(chatId string) *DataArchivingMessageStructBuilder
- func (builder *DataArchivingMessageStructBuilder) ChatMode(chatMode string) *DataArchivingMessageStructBuilder
- func (builder *DataArchivingMessageStructBuilder) ChatName(chatName string) *DataArchivingMessageStructBuilder
- func (builder *DataArchivingMessageStructBuilder) Content(content string) *DataArchivingMessageStructBuilder
- func (builder *DataArchivingMessageStructBuilder) IsCrossTenantChat(isCrossTenantChat bool) *DataArchivingMessageStructBuilder
- func (builder *DataArchivingMessageStructBuilder) IsSuperChat(isSuperChat bool) *DataArchivingMessageStructBuilder
- func (builder *DataArchivingMessageStructBuilder) MessageId(messageId string) *DataArchivingMessageStructBuilder
- func (builder *DataArchivingMessageStructBuilder) MessageType(messageType int) *DataArchivingMessageStructBuilder
- func (builder *DataArchivingMessageStructBuilder) ParentMsgId(parentMsgId string) *DataArchivingMessageStructBuilder
- func (builder *DataArchivingMessageStructBuilder) ReactionType(reactionType string) *DataArchivingMessageStructBuilder
- func (builder *DataArchivingMessageStructBuilder) ReceiverIds(receiverIds []string) *DataArchivingMessageStructBuilder
- func (builder *DataArchivingMessageStructBuilder) SenderInfo(senderInfo *DataArchivingUserStruct) *DataArchivingMessageStructBuilder
- type DataArchivingUser
- type DataArchivingUserBuilder
- type DataArchivingUserStruct
- type DataArchivingUserStructBuilder
- func (builder *DataArchivingUserStructBuilder) Build() *DataArchivingUserStruct
- func (builder *DataArchivingUserStructBuilder) Id(id string) *DataArchivingUserStructBuilder
- func (builder *DataArchivingUserStructBuilder) Name(name string) *DataArchivingUserStructBuilder
- func (builder *DataArchivingUserStructBuilder) Type(type_ string) *DataArchivingUserStructBuilder
- type DepartmentId
- type DepartmentIdBuilder
- type DeviceApplyRecord
- type DeviceApplyRecordBuilder
- func (builder *DeviceApplyRecordBuilder) AndroidId(androidId string) *DeviceApplyRecordBuilder
- func (builder *DeviceApplyRecordBuilder) ApplyId(applyId string) *DeviceApplyRecordBuilder
- func (builder *DeviceApplyRecordBuilder) ApplyStatus(applyStatus string) *DeviceApplyRecordBuilder
- func (builder *DeviceApplyRecordBuilder) ApplyTime(applyTime string) *DeviceApplyRecordBuilder
- func (builder *DeviceApplyRecordBuilder) Build() *DeviceApplyRecord
- func (builder *DeviceApplyRecordBuilder) DeviceName(deviceName string) *DeviceApplyRecordBuilder
- func (builder *DeviceApplyRecordBuilder) DeviceOwnership(deviceOwnership string) *DeviceApplyRecordBuilder
- func (builder *DeviceApplyRecordBuilder) DeviceRecordId(deviceRecordId string) *DeviceApplyRecordBuilder
- func (builder *DeviceApplyRecordBuilder) DeviceSystem(deviceSystem string) *DeviceApplyRecordBuilder
- func (builder *DeviceApplyRecordBuilder) DeviceTerminalType(deviceTerminalType string) *DeviceApplyRecordBuilder
- func (builder *DeviceApplyRecordBuilder) DiskSerialNumber(diskSerialNumber string) *DeviceApplyRecordBuilder
- func (builder *DeviceApplyRecordBuilder) GoogleAid(googleAid string) *DeviceApplyRecordBuilder
- func (builder *DeviceApplyRecordBuilder) Idfa(idfa string) *DeviceApplyRecordBuilder
- func (builder *DeviceApplyRecordBuilder) Idfv(idfv string) *DeviceApplyRecordBuilder
- func (builder *DeviceApplyRecordBuilder) Imei(imei string) *DeviceApplyRecordBuilder
- func (builder *DeviceApplyRecordBuilder) MacAddress(macAddress string) *DeviceApplyRecordBuilder
- func (builder *DeviceApplyRecordBuilder) Model(model string) *DeviceApplyRecordBuilder
- func (builder *DeviceApplyRecordBuilder) Operator(operator *UserId) *DeviceApplyRecordBuilder
- func (builder *DeviceApplyRecordBuilder) SerialNumber(serialNumber string) *DeviceApplyRecordBuilder
- func (builder *DeviceApplyRecordBuilder) Uuid(uuid string) *DeviceApplyRecordBuilder
- type DeviceRecord
- type DeviceRecordBuilder
- func (builder *DeviceRecordBuilder) AndroidId(androidId string) *DeviceRecordBuilder
- func (builder *DeviceRecordBuilder) Build() *DeviceRecord
- func (builder *DeviceRecordBuilder) DeviceCredibility(deviceCredibility string) *DeviceRecordBuilder
- func (builder *DeviceRecordBuilder) DeviceName(deviceName string) *DeviceRecordBuilder
- func (builder *DeviceRecordBuilder) DeviceOwnership(deviceOwnership string) *DeviceRecordBuilder
- func (builder *DeviceRecordBuilder) DeviceRecordId(deviceRecordId string) *DeviceRecordBuilder
- func (builder *DeviceRecordBuilder) DeviceSource(deviceSource string) *DeviceRecordBuilder
- func (builder *DeviceRecordBuilder) DeviceSystem(deviceSystem string) *DeviceRecordBuilder
- func (builder *DeviceRecordBuilder) DeviceTerminalType(deviceTerminalType string) *DeviceRecordBuilder
- func (builder *DeviceRecordBuilder) DiskSerialNumber(diskSerialNumber string) *DeviceRecordBuilder
- func (builder *DeviceRecordBuilder) GoogleAid(googleAid string) *DeviceRecordBuilder
- func (builder *DeviceRecordBuilder) Idfa(idfa string) *DeviceRecordBuilder
- func (builder *DeviceRecordBuilder) Idfv(idfv string) *DeviceRecordBuilder
- func (builder *DeviceRecordBuilder) Imei(imei string) *DeviceRecordBuilder
- func (builder *DeviceRecordBuilder) MacAddress(macAddress string) *DeviceRecordBuilder
- func (builder *DeviceRecordBuilder) Model(model string) *DeviceRecordBuilder
- func (builder *DeviceRecordBuilder) RegisterTime(registerTime string) *DeviceRecordBuilder
- func (builder *DeviceRecordBuilder) SerialNumber(serialNumber string) *DeviceRecordBuilder
- func (builder *DeviceRecordBuilder) Uuid(uuid string) *DeviceRecordBuilder
- func (builder *DeviceRecordBuilder) Version(version string) *DeviceRecordBuilder
- type DirectoryItems
- type DirectoryItemsBuilder
- func (builder *DirectoryItemsBuilder) Build() *DirectoryItems
- func (builder *DirectoryItemsBuilder) EntityCreateTime(entityCreateTime string) *DirectoryItemsBuilder
- func (builder *DirectoryItemsBuilder) EntityId(entityId string) *DirectoryItemsBuilder
- func (builder *DirectoryItemsBuilder) EntityLocation(entityLocation string) *DirectoryItemsBuilder
- func (builder *DirectoryItemsBuilder) EntityType(entityType string) *DirectoryItemsBuilder
- func (builder *DirectoryItemsBuilder) MailAddress(mailAddress string) *DirectoryItemsBuilder
- type DlpDetectModeProofContext
- type DlpDetectModeProofContextBuilder
- func (builder *DlpDetectModeProofContextBuilder) Build() *DlpDetectModeProofContext
- func (builder *DlpDetectModeProofContextBuilder) DetectMode(detectMode int) *DlpDetectModeProofContextBuilder
- func (builder *DlpDetectModeProofContextBuilder) DetectName(detectName string) *DlpDetectModeProofContextBuilder
- func (builder *DlpDetectModeProofContextBuilder) HitCount(hitCount int) *DlpDetectModeProofContextBuilder
- func (builder *DlpDetectModeProofContextBuilder) ProofContexts(proofContexts []*DlpProofContext) *DlpDetectModeProofContextBuilder
- type DlpEvidenceDetail
- type DlpEvidenceDetailBuilder
- func (builder *DlpEvidenceDetailBuilder) Build() *DlpEvidenceDetail
- func (builder *DlpEvidenceDetailBuilder) FileNameExtHits(fileNameExtHits []string) *DlpEvidenceDetailBuilder
- func (builder *DlpEvidenceDetailBuilder) FileSizeHits(fileSizeHits []string) *DlpEvidenceDetailBuilder
- func (builder *DlpEvidenceDetailBuilder) FileTypeHits(fileTypeHits []string) *DlpEvidenceDetailBuilder
- func (builder *DlpEvidenceDetailBuilder) KeywordHits(keywordHits []string) *DlpEvidenceDetailBuilder
- func (builder *DlpEvidenceDetailBuilder) RegularHits(regularHits []string) *DlpEvidenceDetailBuilder
- func (builder *DlpEvidenceDetailBuilder) SecureLabelHits(secureLabelHits []string) *DlpEvidenceDetailBuilder
- func (builder *DlpEvidenceDetailBuilder) SensitiveHits(sensitiveHits []string) *DlpEvidenceDetailBuilder
- func (builder *DlpEvidenceDetailBuilder) TriggerSnippets(triggerSnippets []*DlpPolicyHitProof) *DlpEvidenceDetailBuilder
- type DlpExecuteEvidence
- type DlpExecuteEvidenceBuilder
- func (builder *DlpExecuteEvidenceBuilder) Build() *DlpExecuteEvidence
- func (builder *DlpExecuteEvidenceBuilder) KeywordHits(keywordHits []string) *DlpExecuteEvidenceBuilder
- func (builder *DlpExecuteEvidenceBuilder) RegularHits(regularHits []string) *DlpExecuteEvidenceBuilder
- func (builder *DlpExecuteEvidenceBuilder) SensitiveHits(sensitiveHits []string) *DlpExecuteEvidenceBuilder
- type DlpExecuteLog
- type DlpExecuteLogBuilder
- func (builder *DlpExecuteLogBuilder) AliasIngroup(aliasIngroup string) *DlpExecuteLogBuilder
- func (builder *DlpExecuteLogBuilder) ApplicableService(applicableService string) *DlpExecuteLogBuilder
- func (builder *DlpExecuteLogBuilder) Build() *DlpExecuteLog
- func (builder *DlpExecuteLogBuilder) ChatId(chatId string) *DlpExecuteLogBuilder
- func (builder *DlpExecuteLogBuilder) ChatName(chatName string) *DlpExecuteLogBuilder
- func (builder *DlpExecuteLogBuilder) DocumentLink(documentLink string) *DlpExecuteLogBuilder
- func (builder *DlpExecuteLogBuilder) DocumentName(documentName string) *DlpExecuteLogBuilder
- func (builder *DlpExecuteLogBuilder) DocumentOwnerId(documentOwnerId string) *DlpExecuteLogBuilder
- func (builder *DlpExecuteLogBuilder) DocumentOwnerName(documentOwnerName string) *DlpExecuteLogBuilder
- func (builder *DlpExecuteLogBuilder) DocumentType(documentType string) *DlpExecuteLogBuilder
- func (builder *DlpExecuteLogBuilder) EvidenceDetail(evidenceDetail *DlpEvidenceDetail) *DlpExecuteLogBuilder
- func (builder *DlpExecuteLogBuilder) FileKey(fileKey string) *DlpExecuteLogBuilder
- func (builder *DlpExecuteLogBuilder) FileName(fileName string) *DlpExecuteLogBuilder
- func (builder *DlpExecuteLogBuilder) FileToken(fileToken string) *DlpExecuteLogBuilder
- func (builder *DlpExecuteLogBuilder) GroupDescription(groupDescription string) *DlpExecuteLogBuilder
- func (builder *DlpExecuteLogBuilder) GroupTabContent(groupTabContent string) *DlpExecuteLogBuilder
- func (builder *DlpExecuteLogBuilder) HitPolicies(hitPolicies []*DlpHitPolicy) *DlpExecuteLogBuilder
- func (builder *DlpExecuteLogBuilder) MessageContent(messageContent string) *DlpExecuteLogBuilder
- func (builder *DlpExecuteLogBuilder) MessageId(messageId string) *DlpExecuteLogBuilder
- func (builder *DlpExecuteLogBuilder) RecipientId(recipientId string) *DlpExecuteLogBuilder
- func (builder *DlpExecuteLogBuilder) RecipientName(recipientName string) *DlpExecuteLogBuilder
- func (builder *DlpExecuteLogBuilder) SenderId(senderId string) *DlpExecuteLogBuilder
- func (builder *DlpExecuteLogBuilder) SenderName(senderName string) *DlpExecuteLogBuilder
- func (builder *DlpExecuteLogBuilder) SystemAction(systemAction string) *DlpExecuteLogBuilder
- func (builder *DlpExecuteLogBuilder) Time(time string) *DlpExecuteLogBuilder
- func (builder *DlpExecuteLogBuilder) Trigger(trigger string) *DlpExecuteLogBuilder
- func (builder *DlpExecuteLogBuilder) TriggerEventType(triggerEventType string) *DlpExecuteLogBuilder
- func (builder *DlpExecuteLogBuilder) UserId(userId string) *DlpExecuteLogBuilder
- func (builder *DlpExecuteLogBuilder) UserName(userName string) *DlpExecuteLogBuilder
- type DlpHitPolicy
- type DlpHitPolicyBuilder
- type DlpPolicyHitProof
- type DlpPolicyHitProofBuilder
- func (builder *DlpPolicyHitProofBuilder) Build() *DlpPolicyHitProof
- func (builder *DlpPolicyHitProofBuilder) DetectModeProofContexts(detectModeProofContexts []*DlpDetectModeProofContext) *DlpPolicyHitProofBuilder
- func (builder *DlpPolicyHitProofBuilder) PolicyId(policyId string) *DlpPolicyHitProofBuilder
- type DlpProofContext
- type DlpProofContextBuilder
- type Document
- type DocumentBuilder
- func (builder *DocumentBuilder) Build() *Document
- func (builder *DocumentBuilder) ObjectStatus(objectStatus int) *DocumentBuilder
- func (builder *DocumentBuilder) ObjectType(objectType int) *DocumentBuilder
- func (builder *DocumentBuilder) Owner(owner *SimpleUser) *DocumentBuilder
- func (builder *DocumentBuilder) Title(title string) *DocumentBuilder
- func (builder *DocumentBuilder) Token(token string) *DocumentBuilder
- func (builder *DocumentBuilder) UpdateTime(updateTime int) *DocumentBuilder
- type DownloadToken
- type DownloadTokenBuilder
- type Email
- type EmailBuilder
- func (builder *EmailBuilder) Build() *Email
- func (builder *EmailBuilder) CreateTime(createTime string) *EmailBuilder
- func (builder *EmailBuilder) Id(id string) *EmailBuilder
- func (builder *EmailBuilder) OwnerAddress(ownerAddress string) *EmailBuilder
- func (builder *EmailBuilder) OwnerType(ownerType int) *EmailBuilder
- func (builder *EmailBuilder) OwnerUserId(ownerUserId string) *EmailBuilder
- func (builder *EmailBuilder) Title(title string) *EmailBuilder
- type EmailFilter
- type EmailFilterBuilder
- func (builder *EmailFilterBuilder) Build() *EmailFilter
- func (builder *EmailFilterBuilder) EmailId(emailId string) *EmailFilterBuilder
- func (builder *EmailFilterBuilder) EmailTitle(emailTitle string) *EmailFilterBuilder
- func (builder *EmailFilterBuilder) OwnerAddressList(ownerAddressList []string) *EmailFilterBuilder
- func (builder *EmailFilterBuilder) OwnerUseridList(ownerUseridList []string) *EmailFilterBuilder
- func (builder *EmailFilterBuilder) Recipients(recipients []string) *EmailFilterBuilder
- func (builder *EmailFilterBuilder) Senders(senders []string) *EmailFilterBuilder
- func (builder *EmailFilterBuilder) TimeRange(timeRange *TimeRange) *EmailFilterBuilder
- type File
- type FileRiskDetectionRecord
- type FileRiskDetectionRecordBuilder
- func (builder *FileRiskDetectionRecordBuilder) Build() *FileRiskDetectionRecord
- func (builder *FileRiskDetectionRecordBuilder) FileSize(fileSize string) *FileRiskDetectionRecordBuilder
- func (builder *FileRiskDetectionRecordBuilder) FileUrl(fileUrl string) *FileRiskDetectionRecordBuilder
- func (builder *FileRiskDetectionRecordBuilder) FileUrlExpireTime(fileUrlExpireTime string) *FileRiskDetectionRecordBuilder
- func (builder *FileRiskDetectionRecordBuilder) RecordId(recordId string) *FileRiskDetectionRecordBuilder
- func (builder *FileRiskDetectionRecordBuilder) TriggerReason(triggerReason int) *FileRiskDetectionRecordBuilder
- type FileRiskDetectionRecordResult
- type FileRiskDetectionRecordResultBuilder
- func (builder *FileRiskDetectionRecordResultBuilder) Build() *FileRiskDetectionRecordResult
- func (builder *FileRiskDetectionRecordResultBuilder) RiskTag(riskTag string) *FileRiskDetectionRecordResultBuilder
- func (builder *FileRiskDetectionRecordResultBuilder) Status(status string) *FileRiskDetectionRecordResultBuilder
- type GwCommon
- type GwCommonBuilder
- func (builder *GwCommonBuilder) Build() *GwCommon
- func (builder *GwCommonBuilder) Locale(locale string) *GwCommonBuilder
- func (builder *GwCommonBuilder) LogId(logId string) *GwCommonBuilder
- func (builder *GwCommonBuilder) OpenplatformAppId(openplatformAppId string) *GwCommonBuilder
- func (builder *GwCommonBuilder) ReportTime(reportTime string) *GwCommonBuilder
- func (builder *GwCommonBuilder) RequestId(requestId string) *GwCommonBuilder
- func (builder *GwCommonBuilder) SessionUuid(sessionUuid string) *GwCommonBuilder
- func (builder *GwCommonBuilder) TerminalType(terminalType string) *GwCommonBuilder
- func (builder *GwCommonBuilder) UserId(userId *UserId) *GwCommonBuilder
- type GwRequest
- type GwRequestBuilder
- func (builder *GwRequestBuilder) Build() *GwRequest
- func (builder *GwRequestBuilder) ClientIp(clientIp string) *GwRequestBuilder
- func (builder *GwRequestBuilder) Header(header string) *GwRequestBuilder
- func (builder *GwRequestBuilder) Host(host string) *GwRequestBuilder
- func (builder *GwRequestBuilder) Method(method string) *GwRequestBuilder
- func (builder *GwRequestBuilder) Origin(origin string) *GwRequestBuilder
- func (builder *GwRequestBuilder) Path(path string) *GwRequestBuilder
- func (builder *GwRequestBuilder) PathParams(pathParams []*Param) *GwRequestBuilder
- func (builder *GwRequestBuilder) Query(query string) *GwRequestBuilder
- func (builder *GwRequestBuilder) Referer(referer string) *GwRequestBuilder
- func (builder *GwRequestBuilder) UserAgent(userAgent string) *GwRequestBuilder
- type GwResponse
- type GwResponseBuilder
- type KeyPerson
- type KeyPersonBuilder
- func (builder *KeyPersonBuilder) AvatarUrl(avatarUrl string) *KeyPersonBuilder
- func (builder *KeyPersonBuilder) Build() *KeyPerson
- func (builder *KeyPersonBuilder) Email(email string) *KeyPersonBuilder
- func (builder *KeyPersonBuilder) KeyPersonId(keyPersonId string) *KeyPersonBuilder
- func (builder *KeyPersonBuilder) Name(name string) *KeyPersonBuilder
- type ListDataOpenapiLogReq
- type ListDataOpenapiLogReqBuilder
- type ListDataOpenapiLogResp
- type ListDataOpenapiLogRespData
- type ListOpenapiLogRequest
- type ListOpenapiLogRequestBuilder
- func (builder *ListOpenapiLogRequestBuilder) ApiKeys(apiKeys []string) *ListOpenapiLogRequestBuilder
- func (builder *ListOpenapiLogRequestBuilder) AppId(appId string) *ListOpenapiLogRequestBuilder
- func (builder *ListOpenapiLogRequestBuilder) Build() *ListOpenapiLogRequest
- func (builder *ListOpenapiLogRequestBuilder) EndTime(endTime int) *ListOpenapiLogRequestBuilder
- func (builder *ListOpenapiLogRequestBuilder) PageSize(pageSize int) *ListOpenapiLogRequestBuilder
- func (builder *ListOpenapiLogRequestBuilder) PageToken(pageToken string) *ListOpenapiLogRequestBuilder
- func (builder *ListOpenapiLogRequestBuilder) StartTime(startTime int) *ListOpenapiLogRequestBuilder
- type Message
- type MessageBuilder
- func (builder *MessageBuilder) Build() *Message
- func (builder *MessageBuilder) ChatName(chatName string) *MessageBuilder
- func (builder *MessageBuilder) ChatType(chatType int) *MessageBuilder
- func (builder *MessageBuilder) CreateTime(createTime string) *MessageBuilder
- func (builder *MessageBuilder) OpenChatId(openChatId string) *MessageBuilder
- func (builder *MessageBuilder) OpenMessageId(openMessageId string) *MessageBuilder
- func (builder *MessageBuilder) Owner(owner *User) *MessageBuilder
- func (builder *MessageBuilder) Text(text string) *MessageBuilder
- type MigrationEntity
- type MigrationEntityBuilder
- func (builder *MigrationEntityBuilder) Build() *MigrationEntity
- func (builder *MigrationEntityBuilder) CreateTime(createTime string) *MigrationEntityBuilder
- func (builder *MigrationEntityBuilder) CreatorId(creatorId string) *MigrationEntityBuilder
- func (builder *MigrationEntityBuilder) CreatorType(creatorType string) *MigrationEntityBuilder
- func (builder *MigrationEntityBuilder) Id(id string) *MigrationEntityBuilder
- func (builder *MigrationEntityBuilder) Location(location string) *MigrationEntityBuilder
- func (builder *MigrationEntityBuilder) MailAddress(mailAddress string) *MigrationEntityBuilder
- func (builder *MigrationEntityBuilder) Type(type_ string) *MigrationEntityBuilder
- type MigrationItems
- type MigrationItemsBuilder
- func (builder *MigrationItemsBuilder) Build() *MigrationItems
- func (builder *MigrationItemsBuilder) Entity(entity *MigrationEntity) *MigrationItemsBuilder
- func (builder *MigrationItemsBuilder) Message(message string) *MigrationItemsBuilder
- func (builder *MigrationItemsBuilder) TaskId(taskId string) *MigrationItemsBuilder
- func (builder *MigrationItemsBuilder) TaskStatus(taskStatus string) *MigrationItemsBuilder
- type Notification
- type NotificationBuilder
- type OpenapiLog
- type OpenapiLogBuilder
- func (builder *OpenapiLogBuilder) ApiKey(apiKey string) *OpenapiLogBuilder
- func (builder *OpenapiLogBuilder) AppId(appId string) *OpenapiLogBuilder
- func (builder *OpenapiLogBuilder) Build() *OpenapiLog
- func (builder *OpenapiLogBuilder) EventTime(eventTime int) *OpenapiLogBuilder
- func (builder *OpenapiLogBuilder) Id(id string) *OpenapiLogBuilder
- func (builder *OpenapiLogBuilder) Ip(ip string) *OpenapiLogBuilder
- func (builder *OpenapiLogBuilder) LogDetail(logDetail *OpenapiLogDetail) *OpenapiLogBuilder
- type OpenapiLogDetail
- type OpenapiLogDetailBuilder
- func (builder *OpenapiLogDetailBuilder) Build() *OpenapiLogDetail
- func (builder *OpenapiLogDetailBuilder) Method(method string) *OpenapiLogDetailBuilder
- func (builder *OpenapiLogDetailBuilder) Path(path string) *OpenapiLogDetailBuilder
- func (builder *OpenapiLogDetailBuilder) Payload(payload string) *OpenapiLogDetailBuilder
- func (builder *OpenapiLogDetailBuilder) QueryParam(queryParam string) *OpenapiLogDetailBuilder
- func (builder *OpenapiLogDetailBuilder) Response(response string) *OpenapiLogDetailBuilder
- func (builder *OpenapiLogDetailBuilder) StatusCode(statusCode int) *OpenapiLogDetailBuilder
- type Param
- type ParamBuilder
- type SecurityLogError
- type SecurityLogErrorBuilder
- func (builder *SecurityLogErrorBuilder) Build() *SecurityLogError
- func (builder *SecurityLogErrorBuilder) Common(common *GwCommon) *SecurityLogErrorBuilder
- func (builder *SecurityLogErrorBuilder) Request(request *GwRequest) *SecurityLogErrorBuilder
- func (builder *SecurityLogErrorBuilder) Response(response *GwResponse) *SecurityLogErrorBuilder
- type SimpleUser
- type SimpleUserBuilder
- type TaskStatus
- type TaskStatusBuilder
- type Tenant
- type TenantBuilder
- type TenantThirdPartyEncryptionApp
- type TenantThirdPartyEncryptionAppBuilder
- func (builder *TenantThirdPartyEncryptionAppBuilder) Build() *TenantThirdPartyEncryptionApp
- func (builder *TenantThirdPartyEncryptionAppBuilder) Config(config string) *TenantThirdPartyEncryptionAppBuilder
- func (builder *TenantThirdPartyEncryptionAppBuilder) ServiceEndTime(serviceEndTime string) *TenantThirdPartyEncryptionAppBuilder
- func (builder *TenantThirdPartyEncryptionAppBuilder) ServiceStartTime(serviceStartTime string) *TenantThirdPartyEncryptionAppBuilder
- func (builder *TenantThirdPartyEncryptionAppBuilder) Status(status int) *TenantThirdPartyEncryptionAppBuilder
- func (builder *TenantThirdPartyEncryptionAppBuilder) VendorName(vendorName string) *TenantThirdPartyEncryptionAppBuilder
- type TimeRange
- type TimeRangeBuilder
- type User
- type UserBuilder
- type UserId
- type UserIdBuilder
- type UserMigration
- type UserMigrationBuilder
- func (builder *UserMigrationBuilder) Build() *UserMigration
- func (builder *UserMigrationBuilder) DestGeo(destGeo string) *UserMigrationBuilder
- func (builder *UserMigrationBuilder) Progress(progress int) *UserMigrationBuilder
- func (builder *UserMigrationBuilder) Status(status string) *UserMigrationBuilder
- func (builder *UserMigrationBuilder) TaskId(taskId string) *UserMigrationBuilder
- func (builder *UserMigrationBuilder) UserId(userId string) *UserMigrationBuilder
- type V1
- type VaultExportFile
- type VaultExportFileBuilder
- func (builder *VaultExportFileBuilder) Build() *VaultExportFile
- func (builder *VaultExportFileBuilder) DownloadUrl(downloadUrl string) *VaultExportFileBuilder
- func (builder *VaultExportFileBuilder) Name(name string) *VaultExportFileBuilder
- func (builder *VaultExportFileBuilder) Size(size string) *VaultExportFileBuilder
- func (builder *VaultExportFileBuilder) Url(url string) *VaultExportFileBuilder
- type VaultTask
- type VaultTaskBuilder
- func (builder *VaultTaskBuilder) Build() *VaultTask
- func (builder *VaultTaskBuilder) CreateTime(createTime string) *VaultTaskBuilder
- func (builder *VaultTaskBuilder) Creator(creator *SimpleUser) *VaultTaskBuilder
- func (builder *VaultTaskBuilder) ExtractKey(extractKey string) *VaultTaskBuilder
- func (builder *VaultTaskBuilder) Files(files []*VaultExportFile) *VaultTaskBuilder
- func (builder *VaultTaskBuilder) Name(name string) *VaultTaskBuilder
- func (builder *VaultTaskBuilder) Size(size string) *VaultTaskBuilder
- func (builder *VaultTaskBuilder) Status(status *TaskStatus) *VaultTaskBuilder
- func (builder *VaultTaskBuilder) TaskId(taskId string) *VaultTaskBuilder
- func (builder *VaultTaskBuilder) ValidDays(validDays int) *VaultTaskBuilder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdminLog ¶
type AdminLog struct { UniqueId *string `json:"unique_id,omitempty"` // 唯一id UserId *string `json:"user_id,omitempty"` // 管理员id CategoryName *string `json:"category_name,omitempty"` // 一级类目 EventName *string `json:"event_name,omitempty"` // 事件名称 IpAddress *string `json:"ip_address,omitempty"` // ip地址 CreateTime *string `json:"create_time,omitempty"` // 创建时间戳 Content *string `json:"content,omitempty"` // 事件详情 OperationStatus *int `json:"operation_status,omitempty"` // 操作状态 }
type AdminLogBuilder ¶
type AdminLogBuilder struct {
// contains filtered or unexported fields
}
func NewAdminLogBuilder ¶
func NewAdminLogBuilder() *AdminLogBuilder
func (*AdminLogBuilder) Build ¶
func (builder *AdminLogBuilder) Build() *AdminLog
func (*AdminLogBuilder) CategoryName ¶
func (builder *AdminLogBuilder) CategoryName(categoryName string) *AdminLogBuilder
一级类目
示例值:1
func (*AdminLogBuilder) Content ¶
func (builder *AdminLogBuilder) Content(content string) *AdminLogBuilder
事件详情
示例值:content
func (*AdminLogBuilder) CreateTime ¶
func (builder *AdminLogBuilder) CreateTime(createTime string) *AdminLogBuilder
创建时间戳
示例值:1692773562
func (*AdminLogBuilder) EventName ¶
func (builder *AdminLogBuilder) EventName(eventName string) *AdminLogBuilder
事件名称
示例值:1
func (*AdminLogBuilder) IpAddress ¶
func (builder *AdminLogBuilder) IpAddress(ipAddress string) *AdminLogBuilder
ip地址
示例值:1.0.0.127
func (*AdminLogBuilder) OperationStatus ¶
func (builder *AdminLogBuilder) OperationStatus(operationStatus int) *AdminLogBuilder
操作状态
示例值:1
func (*AdminLogBuilder) UniqueId ¶
func (builder *AdminLogBuilder) UniqueId(uniqueId string) *AdminLogBuilder
唯一id
示例值:1
func (*AdminLogBuilder) UserId ¶
func (builder *AdminLogBuilder) UserId(userId string) *AdminLogBuilder
管理员id
示例值:1
type ApiAuditCommonDrawers ¶ added in v3.3.7
type ApiAuditCommonDrawers struct {
CommonDrawInfoList []*ApiAuditDrawerInfo `json:"common_draw_info_list,omitempty"` // 扩展字段信息
}
type ApiAuditCommonDrawersBuilder ¶ added in v3.3.7
type ApiAuditCommonDrawersBuilder struct {
// contains filtered or unexported fields
}
func NewApiAuditCommonDrawersBuilder ¶ added in v3.3.7
func NewApiAuditCommonDrawersBuilder() *ApiAuditCommonDrawersBuilder
func (*ApiAuditCommonDrawersBuilder) Build ¶ added in v3.3.7
func (builder *ApiAuditCommonDrawersBuilder) Build() *ApiAuditCommonDrawers
func (*ApiAuditCommonDrawersBuilder) CommonDrawInfoList ¶ added in v3.3.7
func (builder *ApiAuditCommonDrawersBuilder) CommonDrawInfoList(commonDrawInfoList []*ApiAuditDrawerInfo) *ApiAuditCommonDrawersBuilder
扩展字段信息
示例值:
type ApiAuditDrawerInfo ¶ added in v3.3.7
type ApiAuditDrawerInfo struct { InfoKey *string `json:"info_key,omitempty"` // key信息 InfoVal *string `json:"info_val,omitempty"` // val值 KeyI18nKey *string `json:"key_i18n_key,omitempty"` // key对应的i18nkey ValType *string `json:"val_type,omitempty"` // val类型 ValI18nKey *string `json:"val_i18n_key,omitempty"` // val对应的i18nkey }
type ApiAuditDrawerInfoBuilder ¶ added in v3.3.7
type ApiAuditDrawerInfoBuilder struct {
// contains filtered or unexported fields
}
func NewApiAuditDrawerInfoBuilder ¶ added in v3.3.7
func NewApiAuditDrawerInfoBuilder() *ApiAuditDrawerInfoBuilder
func (*ApiAuditDrawerInfoBuilder) Build ¶ added in v3.3.7
func (builder *ApiAuditDrawerInfoBuilder) Build() *ApiAuditDrawerInfo
func (*ApiAuditDrawerInfoBuilder) InfoKey ¶ added in v3.3.7
func (builder *ApiAuditDrawerInfoBuilder) InfoKey(infoKey string) *ApiAuditDrawerInfoBuilder
key信息
示例值:k
func (*ApiAuditDrawerInfoBuilder) InfoVal ¶ added in v3.3.7
func (builder *ApiAuditDrawerInfoBuilder) InfoVal(infoVal string) *ApiAuditDrawerInfoBuilder
val值
示例值:v
func (*ApiAuditDrawerInfoBuilder) KeyI18nKey ¶ added in v3.3.7
func (builder *ApiAuditDrawerInfoBuilder) KeyI18nKey(keyI18nKey string) *ApiAuditDrawerInfoBuilder
key对应的i18nkey
示例值:
func (*ApiAuditDrawerInfoBuilder) ValI18nKey ¶ added in v3.3.7
func (builder *ApiAuditDrawerInfoBuilder) ValI18nKey(valI18nKey string) *ApiAuditDrawerInfoBuilder
val对应的i18nkey
示例值:
func (*ApiAuditDrawerInfoBuilder) ValType ¶ added in v3.3.7
func (builder *ApiAuditDrawerInfoBuilder) ValType(valType string) *ApiAuditDrawerInfoBuilder
val类型
示例值:1
type AppDlpExecuteLog ¶
type AppDlpExecuteLog struct { EventName *string `json:"event_name,omitempty"` // 事件名称 UserId *string `json:"user_id,omitempty"` // 用户的open_id ExecuteTime *string `json:"execute_time,omitempty"` // 执行时间 ActionName *string `json:"action_name,omitempty"` // 执行动作 HitPolicies []string `json:"hit_policies,omitempty"` // 命中策略列表 EntityId *string `json:"entity_id,omitempty"` // 指令id Evidences *DlpExecuteEvidence `json:"evidences,omitempty"` // 证据 }
type AppDlpExecuteLogBuilder ¶
type AppDlpExecuteLogBuilder struct {
// contains filtered or unexported fields
}
func NewAppDlpExecuteLogBuilder ¶
func NewAppDlpExecuteLogBuilder() *AppDlpExecuteLogBuilder
func (*AppDlpExecuteLogBuilder) ActionName ¶
func (builder *AppDlpExecuteLogBuilder) ActionName(actionName string) *AppDlpExecuteLogBuilder
执行动作
示例值:"拦截"
func (*AppDlpExecuteLogBuilder) Build ¶
func (builder *AppDlpExecuteLogBuilder) Build() *AppDlpExecuteLog
func (*AppDlpExecuteLogBuilder) EntityId ¶
func (builder *AppDlpExecuteLogBuilder) EntityId(entityId string) *AppDlpExecuteLogBuilder
指令id
示例值:"7d8a6e6df7621556ce0d21922b676706ccs"
func (*AppDlpExecuteLogBuilder) EventName ¶
func (builder *AppDlpExecuteLogBuilder) EventName(eventName string) *AppDlpExecuteLogBuilder
事件名称
示例值:"MYAIDLP"
func (*AppDlpExecuteLogBuilder) Evidences ¶
func (builder *AppDlpExecuteLogBuilder) Evidences(evidences *DlpExecuteEvidence) *AppDlpExecuteLogBuilder
证据
示例值:
func (*AppDlpExecuteLogBuilder) ExecuteTime ¶
func (builder *AppDlpExecuteLogBuilder) ExecuteTime(executeTime string) *AppDlpExecuteLogBuilder
执行时间
示例值:1689685605
func (*AppDlpExecuteLogBuilder) HitPolicies ¶
func (builder *AppDlpExecuteLogBuilder) HitPolicies(hitPolicies []string) *AppDlpExecuteLogBuilder
命中策略列表
示例值:
func (*AppDlpExecuteLogBuilder) UserId ¶
func (builder *AppDlpExecuteLogBuilder) UserId(userId string) *AppDlpExecuteLogBuilder
用户的open_id
示例值:"ou_04444ce34fe049fb495d150dddeac36a"
type AuditAndroidContext ¶ added in v3.3.7
type AuditAndroidContext struct { Udid *string `json:"udid,omitempty"` // UDID Did *string `json:"did,omitempty"` // 设备ID AppVer *string `json:"app_ver,omitempty"` // app的版本 Ver *string `json:"ver,omitempty"` // SecSDK版本 Region *string `json:"region,omitempty"` // 设备语言 IdI *string `json:"id_i,omitempty"` // 安卓版本号 IdR *string `json:"id_r,omitempty"` // 安卓版本 HwBrand *string `json:"hw_brand,omitempty"` // Brand HwManuf *string `json:"hw_manuf,omitempty"` // 制造商 Wifip *string `json:"wifip,omitempty"` // wifi ip RouteIip *string `json:"route_iip,omitempty"` // 路由IP RouteGip *string `json:"route_gip,omitempty"` // 路由网关IP EnvSu *string `json:"env_su,omitempty"` // 表示当前是否root EnvTz *string `json:"env_tz,omitempty"` // 手机系统时区 EnvMl *string `json:"env_ml,omitempty"` // 手机系统语言 Location *string `json:"location,omitempty"` // GPS经纬度 ActiveIp *string `json:"active_ip,omitempty"` // 当前设备活跃ip ActiveIpDetail *string `json:"active_ip_detail,omitempty"` // 当前设备活跃ip对应网卡类型 CellBaseStation *string `json:"cell_base_station,omitempty"` // 基站信息 IP *string `json:"IP,omitempty"` // 公网ip }
type AuditAndroidContextBuilder ¶ added in v3.3.7
type AuditAndroidContextBuilder struct {
// contains filtered or unexported fields
}
func NewAuditAndroidContextBuilder ¶ added in v3.3.7
func NewAuditAndroidContextBuilder() *AuditAndroidContextBuilder
func (*AuditAndroidContextBuilder) ActiveIp ¶ added in v3.3.7
func (builder *AuditAndroidContextBuilder) ActiveIp(activeIp string) *AuditAndroidContextBuilder
当前设备活跃ip
示例值:1.1.1.1
func (*AuditAndroidContextBuilder) ActiveIpDetail ¶ added in v3.3.7
func (builder *AuditAndroidContextBuilder) ActiveIpDetail(activeIpDetail string) *AuditAndroidContextBuilder
当前设备活跃ip对应网卡类型
示例值:wlan0
func (*AuditAndroidContextBuilder) AppVer ¶ added in v3.3.7
func (builder *AuditAndroidContextBuilder) AppVer(appVer string) *AuditAndroidContextBuilder
app的版本
示例值:7.26.0-beta3
func (*AuditAndroidContextBuilder) Build ¶ added in v3.3.7
func (builder *AuditAndroidContextBuilder) Build() *AuditAndroidContext
func (*AuditAndroidContextBuilder) CellBaseStation ¶ added in v3.3.7
func (builder *AuditAndroidContextBuilder) CellBaseStation(cellBaseStation string) *AuditAndroidContextBuilder
基站信息
示例值:
func (*AuditAndroidContextBuilder) Did ¶ added in v3.3.7
func (builder *AuditAndroidContextBuilder) Did(did string) *AuditAndroidContextBuilder
设备ID
示例值:7204623689634104876
func (*AuditAndroidContextBuilder) EnvMl ¶ added in v3.3.7
func (builder *AuditAndroidContextBuilder) EnvMl(envMl string) *AuditAndroidContextBuilder
手机系统语言
示例值:zh_CN
func (*AuditAndroidContextBuilder) EnvSu ¶ added in v3.3.7
func (builder *AuditAndroidContextBuilder) EnvSu(envSu string) *AuditAndroidContextBuilder
表示当前是否root
示例值:0
func (*AuditAndroidContextBuilder) EnvTz ¶ added in v3.3.7
func (builder *AuditAndroidContextBuilder) EnvTz(envTz string) *AuditAndroidContextBuilder
手机系统时区
示例值:GMT+8:00
func (*AuditAndroidContextBuilder) HwBrand ¶ added in v3.3.7
func (builder *AuditAndroidContextBuilder) HwBrand(hwBrand string) *AuditAndroidContextBuilder
Brand
示例值:Xiaomi
func (*AuditAndroidContextBuilder) HwManuf ¶ added in v3.3.7
func (builder *AuditAndroidContextBuilder) HwManuf(hwManuf string) *AuditAndroidContextBuilder
制造商
示例值:Xiaomi
func (*AuditAndroidContextBuilder) IP ¶ added in v3.3.7
func (builder *AuditAndroidContextBuilder) IP(iP string) *AuditAndroidContextBuilder
公网ip
示例值:1.1.1.1
func (*AuditAndroidContextBuilder) IdI ¶ added in v3.3.7
func (builder *AuditAndroidContextBuilder) IdI(idI string) *AuditAndroidContextBuilder
安卓版本号
示例值:33
func (*AuditAndroidContextBuilder) IdR ¶ added in v3.3.7
func (builder *AuditAndroidContextBuilder) IdR(idR string) *AuditAndroidContextBuilder
安卓版本
示例值:13
func (*AuditAndroidContextBuilder) Location ¶ added in v3.3.7
func (builder *AuditAndroidContextBuilder) Location(location string) *AuditAndroidContextBuilder
GPS经纬度
示例值:
func (*AuditAndroidContextBuilder) Region ¶ added in v3.3.7
func (builder *AuditAndroidContextBuilder) Region(region string) *AuditAndroidContextBuilder
设备语言
示例值:zh_CN
func (*AuditAndroidContextBuilder) RouteGip ¶ added in v3.3.7
func (builder *AuditAndroidContextBuilder) RouteGip(routeGip string) *AuditAndroidContextBuilder
路由网关IP
示例值:1.1.1.1
func (*AuditAndroidContextBuilder) RouteIip ¶ added in v3.3.7
func (builder *AuditAndroidContextBuilder) RouteIip(routeIip string) *AuditAndroidContextBuilder
路由IP
示例值:1.1.1.1
func (*AuditAndroidContextBuilder) Udid ¶ added in v3.3.7
func (builder *AuditAndroidContextBuilder) Udid(udid string) *AuditAndroidContextBuilder
UDID
示例值:
func (*AuditAndroidContextBuilder) Ver ¶ added in v3.3.7
func (builder *AuditAndroidContextBuilder) Ver(ver string) *AuditAndroidContextBuilder
SecSDK版本
示例值:3.0.0.0
func (*AuditAndroidContextBuilder) Wifip ¶ added in v3.3.7
func (builder *AuditAndroidContextBuilder) Wifip(wifip string) *AuditAndroidContextBuilder
wifi ip
示例值:1.1.1.1
type AuditContext ¶ added in v3.3.7
type AuditContext struct { TerminalType *int `json:"terminal_type,omitempty"` // 终端类型 IosContext *AuditIosContext `json:"ios_context,omitempty"` // ios的环境信息 PcContext *AuditPcContext `json:"pc_context,omitempty"` // pc的环境信息 WebContext *AuditWebContext `json:"web_context,omitempty"` // web的环境信息 AndroidContext *AuditAndroidContext `json:"android_context,omitempty"` // android的环境信息 }
type AuditContextBuilder ¶ added in v3.3.7
type AuditContextBuilder struct {
// contains filtered or unexported fields
}
func NewAuditContextBuilder ¶ added in v3.3.7
func NewAuditContextBuilder() *AuditContextBuilder
func (*AuditContextBuilder) AndroidContext ¶ added in v3.3.7
func (builder *AuditContextBuilder) AndroidContext(androidContext *AuditAndroidContext) *AuditContextBuilder
android的环境信息
示例值:
func (*AuditContextBuilder) Build ¶ added in v3.3.7
func (builder *AuditContextBuilder) Build() *AuditContext
func (*AuditContextBuilder) IosContext ¶ added in v3.3.7
func (builder *AuditContextBuilder) IosContext(iosContext *AuditIosContext) *AuditContextBuilder
ios的环境信息
示例值:
func (*AuditContextBuilder) PcContext ¶ added in v3.3.7
func (builder *AuditContextBuilder) PcContext(pcContext *AuditPcContext) *AuditContextBuilder
pc的环境信息
示例值:
func (*AuditContextBuilder) TerminalType ¶ added in v3.3.7
func (builder *AuditContextBuilder) TerminalType(terminalType int) *AuditContextBuilder
终端类型
示例值:
func (*AuditContextBuilder) WebContext ¶ added in v3.3.7
func (builder *AuditContextBuilder) WebContext(webContext *AuditWebContext) *AuditContextBuilder
web的环境信息
示例值:
type AuditDetail ¶ added in v3.3.7
type AuditDetailBuilder ¶ added in v3.3.7
type AuditDetailBuilder struct {
// contains filtered or unexported fields
}
func NewAuditDetailBuilder ¶ added in v3.3.7
func NewAuditDetailBuilder() *AuditDetailBuilder
func (*AuditDetailBuilder) Build ¶ added in v3.3.7
func (builder *AuditDetailBuilder) Build() *AuditDetail
func (*AuditDetailBuilder) City ¶ added in v3.3.7
func (builder *AuditDetailBuilder) City(city string) *AuditDetailBuilder
ip属地
示例值:北京
func (*AuditDetailBuilder) DeviceModel ¶ added in v3.3.7
func (builder *AuditDetailBuilder) DeviceModel(deviceModel string) *AuditDetailBuilder
设备模型
示例值:iphone14
func (*AuditDetailBuilder) Mc ¶ added in v3.3.7
func (builder *AuditDetailBuilder) Mc(mc string) *AuditDetailBuilder
mac地址
示例值:08:00:20:0A:8C:6D
func (*AuditDetailBuilder) Os ¶ added in v3.3.7
func (builder *AuditDetailBuilder) Os(os string) *AuditDetailBuilder
操作系统
示例值:mac os
type AuditEventExtend ¶ added in v3.3.7
type AuditEventExtend struct { CommentType *string `json:"comment_type,omitempty"` // 评论类型 AppDetail *string `json:"app_detail,omitempty"` // app信息 TwoStepValidation *bool `json:"two_step_validation,omitempty"` // 是否两步验证 LoginMethod *string `json:"login_method,omitempty"` // 登录方式 NewPeopleNumInVideo *int `json:"new_people_num_in_video,omitempty"` // 创建新的{x}人会议/通话 ExternalPeopleNumInVideo *int `json:"external_people_num_in_video,omitempty"` // 将{x}名外部用户加入/退出通话 ExternalPeopleNumInChat *int `json:"external_people_num_in_chat,omitempty"` // 将{x}名外部用户加入/退出群组 JoinGroup *int `json:"join_group,omitempty"` // 创建{x}人数的群组 QuitGroup *int `json:"quit_group,omitempty"` // 解散{x}人数的群组 }
type AuditEventExtendBuilder ¶ added in v3.3.7
type AuditEventExtendBuilder struct {
// contains filtered or unexported fields
}
func NewAuditEventExtendBuilder ¶ added in v3.3.7
func NewAuditEventExtendBuilder() *AuditEventExtendBuilder
func (*AuditEventExtendBuilder) AppDetail ¶ added in v3.3.7
func (builder *AuditEventExtendBuilder) AppDetail(appDetail string) *AuditEventExtendBuilder
app信息
示例值:
func (*AuditEventExtendBuilder) Build ¶ added in v3.3.7
func (builder *AuditEventExtendBuilder) Build() *AuditEventExtend
func (*AuditEventExtendBuilder) CommentType ¶ added in v3.3.7
func (builder *AuditEventExtendBuilder) CommentType(commentType string) *AuditEventExtendBuilder
评论类型
示例值:
func (*AuditEventExtendBuilder) ExternalPeopleNumInChat ¶ added in v3.3.7
func (builder *AuditEventExtendBuilder) ExternalPeopleNumInChat(externalPeopleNumInChat int) *AuditEventExtendBuilder
将{x}名外部用户加入/退出群组
示例值:1
func (*AuditEventExtendBuilder) ExternalPeopleNumInDocShare ¶ added in v3.3.7
func (builder *AuditEventExtendBuilder) ExternalPeopleNumInDocShare(externalPeopleNumInDocShare int) *AuditEventExtendBuilder
分享文档给{x}名外部用户
示例值:1
func (*AuditEventExtendBuilder) ExternalPeopleNumInVideo ¶ added in v3.3.7
func (builder *AuditEventExtendBuilder) ExternalPeopleNumInVideo(externalPeopleNumInVideo int) *AuditEventExtendBuilder
将{x}名外部用户加入/退出通话
示例值:1
func (*AuditEventExtendBuilder) JoinGroup ¶ added in v3.3.7
func (builder *AuditEventExtendBuilder) JoinGroup(joinGroup int) *AuditEventExtendBuilder
创建{x}人数的群组
示例值:1
func (*AuditEventExtendBuilder) LoginMethod ¶ added in v3.3.7
func (builder *AuditEventExtendBuilder) LoginMethod(loginMethod string) *AuditEventExtendBuilder
登录方式
示例值:NormalLogin
func (*AuditEventExtendBuilder) NewPeopleNumInVideo ¶ added in v3.3.7
func (builder *AuditEventExtendBuilder) NewPeopleNumInVideo(newPeopleNumInVideo int) *AuditEventExtendBuilder
创建新的{x}人会议/通话
示例值:1
func (*AuditEventExtendBuilder) QuitGroup ¶ added in v3.3.7
func (builder *AuditEventExtendBuilder) QuitGroup(quitGroup int) *AuditEventExtendBuilder
解散{x}人数的群组
示例值:1
func (*AuditEventExtendBuilder) TwoStepValidation ¶ added in v3.3.7
func (builder *AuditEventExtendBuilder) TwoStepValidation(twoStepValidation bool) *AuditEventExtendBuilder
是否两步验证
示例值:false
type AuditInfo ¶ added in v3.3.7
type AuditInfo struct { EventName *string `json:"event_name,omitempty"` // 事件名称 DepartmentIds []string `json:"department_ids,omitempty"` // 用户所属部门的ID列表 EventModule *int `json:"event_module,omitempty"` // 模块 OperatorType *int `json:"operator_type,omitempty"` // 操作人类型 OperatorValue *string `json:"operator_value,omitempty"` // 操作人id Objects []*AuditObjectEntity `json:"objects,omitempty"` // 操作对象列表 Recipients []*AuditRecipientEntity `json:"recipients,omitempty"` // 接收者对象列表 EventTime *int `json:"event_time,omitempty"` // 事件时间 Ip *string `json:"ip,omitempty"` // ip信息 OperatorApp *string `json:"operator_app,omitempty"` // 第三方isvID AuditContext *AuditContext `json:"audit_context,omitempty"` // 环境信息 Extend *AuditEventExtend `json:"extend,omitempty"` // 事件级别的扩展 EventId *string `json:"event_id,omitempty"` // 事件id OperatorAppName *string `json:"operator_app_name,omitempty"` // 第三方isv名称 UniqueId *string `json:"unique_id,omitempty"` // 唯一id CommonDrawers *ApiAuditCommonDrawers `json:"common_drawers,omitempty"` // 扩展字段信息 AuditDetail *AuditDetail `json:"audit_detail,omitempty"` // 日志扩展信息 OperatorTenant *string `json:"operator_tenant,omitempty"` // 操作人企业编号 }
type AuditInfoBuilder ¶ added in v3.3.7
type AuditInfoBuilder struct {
// contains filtered or unexported fields
}
func NewAuditInfoBuilder ¶ added in v3.3.7
func NewAuditInfoBuilder() *AuditInfoBuilder
func (*AuditInfoBuilder) AuditContext ¶ added in v3.3.7
func (builder *AuditInfoBuilder) AuditContext(auditContext *AuditContext) *AuditInfoBuilder
环境信息
示例值:
func (*AuditInfoBuilder) AuditDetail ¶ added in v3.3.7
func (builder *AuditInfoBuilder) AuditDetail(auditDetail *AuditDetail) *AuditInfoBuilder
日志扩展信息
示例值:
func (*AuditInfoBuilder) Build ¶ added in v3.3.7
func (builder *AuditInfoBuilder) Build() *AuditInfo
func (*AuditInfoBuilder) CommonDrawers ¶ added in v3.3.7
func (builder *AuditInfoBuilder) CommonDrawers(commonDrawers *ApiAuditCommonDrawers) *AuditInfoBuilder
扩展字段信息
示例值:
func (*AuditInfoBuilder) DepartmentIds ¶ added in v3.3.7
func (builder *AuditInfoBuilder) DepartmentIds(departmentIds []string) *AuditInfoBuilder
用户所属部门的ID列表
示例值:
func (*AuditInfoBuilder) EventId ¶ added in v3.3.7
func (builder *AuditInfoBuilder) EventId(eventId string) *AuditInfoBuilder
事件id
示例值:7126195947859656705
func (*AuditInfoBuilder) EventModule ¶ added in v3.3.7
func (builder *AuditInfoBuilder) EventModule(eventModule int) *AuditInfoBuilder
模块
示例值:1
func (*AuditInfoBuilder) EventName ¶ added in v3.3.7
func (builder *AuditInfoBuilder) EventName(eventName string) *AuditInfoBuilder
事件名称
示例值:space_read_doc
func (*AuditInfoBuilder) EventTime ¶ added in v3.3.7
func (builder *AuditInfoBuilder) EventTime(eventTime int) *AuditInfoBuilder
事件时间
示例值:1669046400
func (*AuditInfoBuilder) Extend ¶ added in v3.3.7
func (builder *AuditInfoBuilder) Extend(extend *AuditEventExtend) *AuditInfoBuilder
事件级别的扩展
示例值:
func (*AuditInfoBuilder) Ip ¶ added in v3.3.7
func (builder *AuditInfoBuilder) Ip(ip string) *AuditInfoBuilder
ip信息
示例值:192.168.168.1
func (*AuditInfoBuilder) Objects ¶ added in v3.3.7
func (builder *AuditInfoBuilder) Objects(objects []*AuditObjectEntity) *AuditInfoBuilder
操作对象列表
示例值:
func (*AuditInfoBuilder) OperatorApp ¶ added in v3.3.7
func (builder *AuditInfoBuilder) OperatorApp(operatorApp string) *AuditInfoBuilder
第三方isvID
示例值:example_value
func (*AuditInfoBuilder) OperatorAppName ¶ added in v3.3.7
func (builder *AuditInfoBuilder) OperatorAppName(operatorAppName string) *AuditInfoBuilder
第三方isv名称
示例值:example_value
func (*AuditInfoBuilder) OperatorTenant ¶ added in v3.3.7
func (builder *AuditInfoBuilder) OperatorTenant(operatorTenant string) *AuditInfoBuilder
操作人企业编号
示例值:F2823442
func (*AuditInfoBuilder) OperatorType ¶ added in v3.3.7
func (builder *AuditInfoBuilder) OperatorType(operatorType int) *AuditInfoBuilder
操作人类型
示例值:
func (*AuditInfoBuilder) OperatorValue ¶ added in v3.3.7
func (builder *AuditInfoBuilder) OperatorValue(operatorValue string) *AuditInfoBuilder
操作人id
示例值:4a3b8541
func (*AuditInfoBuilder) Recipients ¶ added in v3.3.7
func (builder *AuditInfoBuilder) Recipients(recipients []*AuditRecipientEntity) *AuditInfoBuilder
接收者对象列表
示例值:
func (*AuditInfoBuilder) UniqueId ¶ added in v3.3.7
func (builder *AuditInfoBuilder) UniqueId(uniqueId string) *AuditInfoBuilder
唯一id
示例值:7126195947859656705
type AuditIosContext ¶ added in v3.3.7
type AuditIosContext struct { Udid *string `json:"udid,omitempty"` // UDID Did *string `json:"did,omitempty"` // 设备ID AppVer *string `json:"app_ver,omitempty"` // app的版本 Ver *string `json:"ver,omitempty"` // SecSDK版本 Os *string `json:"os,omitempty"` // 系统类型及版本 STZone *string `json:"STZone,omitempty"` // 系统时区 ML *string `json:"ML,omitempty"` // 当前语言 Sjd *string `json:"sjd,omitempty"` // 是否越狱 Proxyip *string `json:"proxyip,omitempty"` // 代理ip Wifip *string `json:"wifip,omitempty"` // wifi ip Location *string `json:"location,omitempty"` // GPS经纬度 ActiveIp *string `json:"active_ip,omitempty"` // 当前设备活跃ip ActiveIpDetail *string `json:"active_ip_detail,omitempty"` // 当前设备活跃ip对应网卡类型 CellBaseStation *string `json:"cell_base_station,omitempty"` // 基站信息 IP *string `json:"IP,omitempty"` // 公网ip }
type AuditIosContextBuilder ¶ added in v3.3.7
type AuditIosContextBuilder struct {
// contains filtered or unexported fields
}
func NewAuditIosContextBuilder ¶ added in v3.3.7
func NewAuditIosContextBuilder() *AuditIosContextBuilder
func (*AuditIosContextBuilder) ActiveIp ¶ added in v3.3.7
func (builder *AuditIosContextBuilder) ActiveIp(activeIp string) *AuditIosContextBuilder
当前设备活跃ip
示例值:1.1.1.1
func (*AuditIosContextBuilder) ActiveIpDetail ¶ added in v3.3.7
func (builder *AuditIosContextBuilder) ActiveIpDetail(activeIpDetail string) *AuditIosContextBuilder
当前设备活跃ip对应网卡类型
示例值:
func (*AuditIosContextBuilder) AppVer ¶ added in v3.3.7
func (builder *AuditIosContextBuilder) AppVer(appVer string) *AuditIosContextBuilder
app的版本
示例值:7.23.7-ci
func (*AuditIosContextBuilder) Build ¶ added in v3.3.7
func (builder *AuditIosContextBuilder) Build() *AuditIosContext
func (*AuditIosContextBuilder) CellBaseStation ¶ added in v3.3.7
func (builder *AuditIosContextBuilder) CellBaseStation(cellBaseStation string) *AuditIosContextBuilder
基站信息
示例值:
func (*AuditIosContextBuilder) Did ¶ added in v3.3.7
func (builder *AuditIosContextBuilder) Did(did string) *AuditIosContextBuilder
设备ID
示例值:7396893949735993363
func (*AuditIosContextBuilder) IP ¶ added in v3.3.7
func (builder *AuditIosContextBuilder) IP(iP string) *AuditIosContextBuilder
公网ip
示例值:1.1.1.1
func (*AuditIosContextBuilder) Location ¶ added in v3.3.7
func (builder *AuditIosContextBuilder) Location(location string) *AuditIosContextBuilder
GPS经纬度
示例值:
func (*AuditIosContextBuilder) ML ¶ added in v3.3.7
func (builder *AuditIosContextBuilder) ML(mL string) *AuditIosContextBuilder
当前语言
示例值:zh-Hans
func (*AuditIosContextBuilder) Os ¶ added in v3.3.7
func (builder *AuditIosContextBuilder) Os(os string) *AuditIosContextBuilder
系统类型及版本
示例值:iOS 16.5
func (*AuditIosContextBuilder) Proxyip ¶ added in v3.3.7
func (builder *AuditIosContextBuilder) Proxyip(proxyip string) *AuditIosContextBuilder
代理ip
示例值:1.1.1.1
func (*AuditIosContextBuilder) STZone ¶ added in v3.3.7
func (builder *AuditIosContextBuilder) STZone(sTZone string) *AuditIosContextBuilder
系统时区
示例值:Asia/Shanghai
func (*AuditIosContextBuilder) Sjd ¶ added in v3.3.7
func (builder *AuditIosContextBuilder) Sjd(sjd string) *AuditIosContextBuilder
是否越狱
示例值:
func (*AuditIosContextBuilder) Udid ¶ added in v3.3.7
func (builder *AuditIosContextBuilder) Udid(udid string) *AuditIosContextBuilder
UDID
示例值:
func (*AuditIosContextBuilder) Ver ¶ added in v3.3.7
func (builder *AuditIosContextBuilder) Ver(ver string) *AuditIosContextBuilder
SecSDK版本
示例值:3.0.0.0
func (*AuditIosContextBuilder) Wifip ¶ added in v3.3.7
func (builder *AuditIosContextBuilder) Wifip(wifip string) *AuditIosContextBuilder
wifi ip
示例值:1.1.1.1
type AuditObjectDetail ¶ added in v3.3.7
type AuditObjectDetail struct { CloneSource *string `json:"clone_source,omitempty"` // 克隆来源 TextDetail *string `json:"text_detail,omitempty"` // 其他文本 FileName *string `json:"file_name,omitempty"` // 文件名称 ThirdPartyAppID *string `json:"third_party_appID,omitempty"` // 第三方APPID ContainFileNum *int `json:"contain_file_num,omitempty"` // 文件或文件夹数量 PermissionSettingType *string `json:"permission_setting_type,omitempty"` // 链接分享设置 PermissionExternalAccessType *bool `json:"permission_external_access_Type,omitempty"` // 是否开启外部访问设置 FileServiceSource *string `json:"file_service_source,omitempty"` // file上传业务来源 OkrDownloadContent *string `json:"okr_download_content,omitempty"` // 下载OKR时的内容范围 ContainerType *string `json:"container_type,omitempty"` // 容器类型,标识是否wiki ContainerId *string `json:"container_id,omitempty"` // 容器id,wiki标识字段 CurrentPage *string `json:"current_page,omitempty"` // 截屏、录制的开始页面 }
type AuditObjectDetailBuilder ¶ added in v3.3.7
type AuditObjectDetailBuilder struct {
// contains filtered or unexported fields
}
func NewAuditObjectDetailBuilder ¶ added in v3.3.7
func NewAuditObjectDetailBuilder() *AuditObjectDetailBuilder
func (*AuditObjectDetailBuilder) Build ¶ added in v3.3.7
func (builder *AuditObjectDetailBuilder) Build() *AuditObjectDetail
func (*AuditObjectDetailBuilder) CloneSource ¶ added in v3.3.7
func (builder *AuditObjectDetailBuilder) CloneSource(cloneSource string) *AuditObjectDetailBuilder
克隆来源
示例值:
func (*AuditObjectDetailBuilder) ContainFileNum ¶ added in v3.3.7
func (builder *AuditObjectDetailBuilder) ContainFileNum(containFileNum int) *AuditObjectDetailBuilder
文件或文件夹数量
示例值:1
func (*AuditObjectDetailBuilder) ContainerId ¶ added in v3.3.7
func (builder *AuditObjectDetailBuilder) ContainerId(containerId string) *AuditObjectDetailBuilder
容器id,wiki标识字段
示例值:
func (*AuditObjectDetailBuilder) ContainerType ¶ added in v3.3.7
func (builder *AuditObjectDetailBuilder) ContainerType(containerType string) *AuditObjectDetailBuilder
容器类型,标识是否wiki
示例值:
func (*AuditObjectDetailBuilder) CurrentPage ¶ added in v3.3.7
func (builder *AuditObjectDetailBuilder) CurrentPage(currentPage string) *AuditObjectDetailBuilder
截屏、录制的开始页面
示例值:
func (*AuditObjectDetailBuilder) FileName ¶ added in v3.3.7
func (builder *AuditObjectDetailBuilder) FileName(fileName string) *AuditObjectDetailBuilder
文件名称
示例值:
func (*AuditObjectDetailBuilder) FileServiceSource ¶ added in v3.3.7
func (builder *AuditObjectDetailBuilder) FileServiceSource(fileServiceSource string) *AuditObjectDetailBuilder
file上传业务来源
示例值:
func (*AuditObjectDetailBuilder) OkrDownloadContent ¶ added in v3.3.7
func (builder *AuditObjectDetailBuilder) OkrDownloadContent(okrDownloadContent string) *AuditObjectDetailBuilder
下载OKR时的内容范围
示例值:
func (*AuditObjectDetailBuilder) PermissionExternalAccessType ¶ added in v3.3.7
func (builder *AuditObjectDetailBuilder) PermissionExternalAccessType(permissionExternalAccessType bool) *AuditObjectDetailBuilder
是否开启外部访问设置
示例值:false
func (*AuditObjectDetailBuilder) PermissionSettingType ¶ added in v3.3.7
func (builder *AuditObjectDetailBuilder) PermissionSettingType(permissionSettingType string) *AuditObjectDetailBuilder
链接分享设置
示例值:
func (*AuditObjectDetailBuilder) PermissionShareType ¶ added in v3.3.7
func (builder *AuditObjectDetailBuilder) PermissionShareType(permissionShareType string) *AuditObjectDetailBuilder
分享设置
示例值:
func (*AuditObjectDetailBuilder) TextDetail ¶ added in v3.3.7
func (builder *AuditObjectDetailBuilder) TextDetail(textDetail string) *AuditObjectDetailBuilder
其他文本
示例值:
func (*AuditObjectDetailBuilder) ThirdPartyAppID ¶ added in v3.3.7
func (builder *AuditObjectDetailBuilder) ThirdPartyAppID(thirdPartyAppID string) *AuditObjectDetailBuilder
第三方APPID
示例值:
type AuditObjectEntity ¶ added in v3.3.7
type AuditObjectEntity struct { ObjectType *string `json:"object_type,omitempty"` // 操作对象类型 ObjectValue *string `json:"object_value,omitempty"` // 操作对象值,可能存在 department_id、user_id 等,需要进行 lark_id 的转换 ObjectDetail *AuditObjectDetail `json:"object_detail,omitempty"` // object 详情 ObjectName *string `json:"object_name,omitempty"` // 操作对象名称,如会话名、文档名等 ObjectOwner *string `json:"object_owner,omitempty"` // 操作对象的所有者 }
type AuditObjectEntityBuilder ¶ added in v3.3.7
type AuditObjectEntityBuilder struct {
// contains filtered or unexported fields
}
func NewAuditObjectEntityBuilder ¶ added in v3.3.7
func NewAuditObjectEntityBuilder() *AuditObjectEntityBuilder
func (*AuditObjectEntityBuilder) Build ¶ added in v3.3.7
func (builder *AuditObjectEntityBuilder) Build() *AuditObjectEntity
func (*AuditObjectEntityBuilder) ObjectDetail ¶ added in v3.3.7
func (builder *AuditObjectEntityBuilder) ObjectDetail(objectDetail *AuditObjectDetail) *AuditObjectEntityBuilder
object 详情
示例值:
func (*AuditObjectEntityBuilder) ObjectName ¶ added in v3.3.7
func (builder *AuditObjectEntityBuilder) ObjectName(objectName string) *AuditObjectEntityBuilder
操作对象名称,如会话名、文档名等
示例值:xxx
func (*AuditObjectEntityBuilder) ObjectOwner ¶ added in v3.3.7
func (builder *AuditObjectEntityBuilder) ObjectOwner(objectOwner string) *AuditObjectEntityBuilder
操作对象的所有者
示例值:47d74411
func (*AuditObjectEntityBuilder) ObjectType ¶ added in v3.3.7
func (builder *AuditObjectEntityBuilder) ObjectType(objectType string) *AuditObjectEntityBuilder
操作对象类型
示例值:1
func (*AuditObjectEntityBuilder) ObjectValue ¶ added in v3.3.7
func (builder *AuditObjectEntityBuilder) ObjectValue(objectValue string) *AuditObjectEntityBuilder
操作对象值,可能存在 department_id、user_id 等,需要进行 lark_id 的转换
示例值:47d74411
type AuditPcContext ¶ added in v3.3.7
type AuditPcContext struct { Udid *string `json:"udid,omitempty"` // UDID Did *string `json:"did,omitempty"` // 设备ID AppVer *string `json:"app_ver,omitempty"` // app的版本 Ver *string `json:"ver,omitempty"` // SecSDK版本 Os *string `json:"os,omitempty"` // 客户端类型 Wifip *string `json:"wifip,omitempty"` // wifi ip Region *string `json:"region,omitempty"` // 设备区域 IP *string `json:"IP,omitempty"` // 公网ip }
type AuditPcContextBuilder ¶ added in v3.3.7
type AuditPcContextBuilder struct {
// contains filtered or unexported fields
}
func NewAuditPcContextBuilder ¶ added in v3.3.7
func NewAuditPcContextBuilder() *AuditPcContextBuilder
func (*AuditPcContextBuilder) AppVer ¶ added in v3.3.7
func (builder *AuditPcContextBuilder) AppVer(appVer string) *AuditPcContextBuilder
app的版本
示例值:7.26.0
func (*AuditPcContextBuilder) Build ¶ added in v3.3.7
func (builder *AuditPcContextBuilder) Build() *AuditPcContext
func (*AuditPcContextBuilder) Did ¶ added in v3.3.7
func (builder *AuditPcContextBuilder) Did(did string) *AuditPcContextBuilder
设备ID
示例值:7204623689634104876
func (*AuditPcContextBuilder) IP ¶ added in v3.3.7
func (builder *AuditPcContextBuilder) IP(iP string) *AuditPcContextBuilder
公网ip
示例值:1.1.1.1
func (*AuditPcContextBuilder) Os ¶ added in v3.3.7
func (builder *AuditPcContextBuilder) Os(os string) *AuditPcContextBuilder
客户端类型
示例值:
func (*AuditPcContextBuilder) Region ¶ added in v3.3.7
func (builder *AuditPcContextBuilder) Region(region string) *AuditPcContextBuilder
设备区域
示例值:zh_CN
func (*AuditPcContextBuilder) Udid ¶ added in v3.3.7
func (builder *AuditPcContextBuilder) Udid(udid string) *AuditPcContextBuilder
UDID
示例值:
func (*AuditPcContextBuilder) Ver ¶ added in v3.3.7
func (builder *AuditPcContextBuilder) Ver(ver string) *AuditPcContextBuilder
SecSDK版本
示例值:3.0.0.0
func (*AuditPcContextBuilder) Wifip ¶ added in v3.3.7
func (builder *AuditPcContextBuilder) Wifip(wifip string) *AuditPcContextBuilder
wifi ip
示例值:1.1.1.1
type AuditRecipientDetail ¶ added in v3.3.7
type AuditRecipientDetail struct {
PermissionActionType *string `json:"permission_action_type,omitempty"` // 修改权限协作者
}
type AuditRecipientDetailBuilder ¶ added in v3.3.7
type AuditRecipientDetailBuilder struct {
// contains filtered or unexported fields
}
func NewAuditRecipientDetailBuilder ¶ added in v3.3.7
func NewAuditRecipientDetailBuilder() *AuditRecipientDetailBuilder
func (*AuditRecipientDetailBuilder) Build ¶ added in v3.3.7
func (builder *AuditRecipientDetailBuilder) Build() *AuditRecipientDetail
func (*AuditRecipientDetailBuilder) PermissionActionType ¶ added in v3.3.7
func (builder *AuditRecipientDetailBuilder) PermissionActionType(permissionActionType string) *AuditRecipientDetailBuilder
修改权限协作者
示例值:
type AuditRecipientEntity ¶ added in v3.3.7
type AuditRecipientEntity struct { RecipientType *string `json:"recipient_type,omitempty"` // 接收者对象类型 RecipientValue *string `json:"recipient_value,omitempty"` // 接收者对象值,可能存在department_id、user_id等,需要进行lark_id的转换 RecipientDetail *AuditRecipientDetail `json:"recipient_detail,omitempty"` // recipient 详情 }
type AuditRecipientEntityBuilder ¶ added in v3.3.7
type AuditRecipientEntityBuilder struct {
// contains filtered or unexported fields
}
func NewAuditRecipientEntityBuilder ¶ added in v3.3.7
func NewAuditRecipientEntityBuilder() *AuditRecipientEntityBuilder
func (*AuditRecipientEntityBuilder) Build ¶ added in v3.3.7
func (builder *AuditRecipientEntityBuilder) Build() *AuditRecipientEntity
func (*AuditRecipientEntityBuilder) RecipientDetail ¶ added in v3.3.7
func (builder *AuditRecipientEntityBuilder) RecipientDetail(recipientDetail *AuditRecipientDetail) *AuditRecipientEntityBuilder
recipient 详情
示例值:
func (*AuditRecipientEntityBuilder) RecipientType ¶ added in v3.3.7
func (builder *AuditRecipientEntityBuilder) RecipientType(recipientType string) *AuditRecipientEntityBuilder
接收者对象类型
示例值:
func (*AuditRecipientEntityBuilder) RecipientValue ¶ added in v3.3.7
func (builder *AuditRecipientEntityBuilder) RecipientValue(recipientValue string) *AuditRecipientEntityBuilder
接收者对象值,可能存在department_id、user_id等,需要进行lark_id的转换
示例值:3d7d922
type AuditWebContext ¶ added in v3.3.7
type AuditWebContextBuilder ¶ added in v3.3.7
type AuditWebContextBuilder struct {
// contains filtered or unexported fields
}
func NewAuditWebContextBuilder ¶ added in v3.3.7
func NewAuditWebContextBuilder() *AuditWebContextBuilder
func (*AuditWebContextBuilder) Build ¶ added in v3.3.7
func (builder *AuditWebContextBuilder) Build() *AuditWebContext
func (*AuditWebContextBuilder) IP ¶ added in v3.3.7
func (builder *AuditWebContextBuilder) IP(iP string) *AuditWebContextBuilder
本机IP
示例值:1.1.1.1
func (*AuditWebContextBuilder) UserAgent ¶ added in v3.3.7
func (builder *AuditWebContextBuilder) UserAgent(userAgent string) *AuditWebContextBuilder
UA信息
示例值:Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36
type CreateMigrationEntity ¶ added in v3.0.34
type CreateMigrationEntityBuilder ¶ added in v3.0.34
type CreateMigrationEntityBuilder struct {
// contains filtered or unexported fields
}
func NewCreateMigrationEntityBuilder ¶ added in v3.0.34
func NewCreateMigrationEntityBuilder() *CreateMigrationEntityBuilder
func (*CreateMigrationEntityBuilder) Build ¶ added in v3.0.34
func (builder *CreateMigrationEntityBuilder) Build() *CreateMigrationEntity
func (*CreateMigrationEntityBuilder) Id ¶ added in v3.0.34
func (builder *CreateMigrationEntityBuilder) Id(id string) *CreateMigrationEntityBuilder
实体的 id
示例值:43c58071254443c580712544
func (*CreateMigrationEntityBuilder) Location ¶ added in v3.0.34
func (builder *CreateMigrationEntityBuilder) Location(location string) *CreateMigrationEntityBuilder
实体的数据驻留地
示例值:SG
func (*CreateMigrationEntityBuilder) MailAddress ¶ added in v3.0.34
func (builder *CreateMigrationEntityBuilder) MailAddress(mailAddress string) *CreateMigrationEntityBuilder
实体类型为 mailbox 时,返回 mail address,如果没有,则返回空
示例值:xxx@xxx.xx
func (*CreateMigrationEntityBuilder) Type ¶ added in v3.0.34
func (builder *CreateMigrationEntityBuilder) Type(type_ string) *CreateMigrationEntityBuilder
实体的类型
示例值:sheets
type CreateMigrationItems ¶ added in v3.0.34
type CreateMigrationItems struct { TaskId *string `json:"task_id,omitempty"` // 迁移任务的 id TaskStatus *string `json:"task_status,omitempty"` // 任务状态。任务创建成功固定返回 create ,若已存在其他待执行任务,则返回已存在任务的状态 Entity *CreateMigrationEntity `json:"entity,omitempty"` // 实体 }
type CreateMigrationItemsBuilder ¶ added in v3.0.34
type CreateMigrationItemsBuilder struct {
// contains filtered or unexported fields
}
func NewCreateMigrationItemsBuilder ¶ added in v3.0.34
func NewCreateMigrationItemsBuilder() *CreateMigrationItemsBuilder
func (*CreateMigrationItemsBuilder) Build ¶ added in v3.0.34
func (builder *CreateMigrationItemsBuilder) Build() *CreateMigrationItems
func (*CreateMigrationItemsBuilder) Entity ¶ added in v3.0.34
func (builder *CreateMigrationItemsBuilder) Entity(entity *CreateMigrationEntity) *CreateMigrationItemsBuilder
实体
示例值:
func (*CreateMigrationItemsBuilder) TaskId ¶ added in v3.0.34
func (builder *CreateMigrationItemsBuilder) TaskId(taskId string) *CreateMigrationItemsBuilder
迁移任务的 id
示例值:134jsi43d3ssi993d435452
func (*CreateMigrationItemsBuilder) TaskStatus ¶ added in v3.0.34
func (builder *CreateMigrationItemsBuilder) TaskStatus(taskStatus string) *CreateMigrationItemsBuilder
任务状态。任务创建成功固定返回 create ,若已存在其他待执行任务,则返回已存在任务的状态
示例值:create
type DataArchivingMessage ¶ added in v3.0.34
type DataArchivingMessageBuilder ¶ added in v3.0.34
type DataArchivingMessageBuilder struct {
// contains filtered or unexported fields
}
func NewDataArchivingMessageBuilder ¶ added in v3.0.34
func NewDataArchivingMessageBuilder() *DataArchivingMessageBuilder
func (*DataArchivingMessageBuilder) Build ¶ added in v3.0.34
func (builder *DataArchivingMessageBuilder) Build() *DataArchivingMessage
func (*DataArchivingMessageBuilder) Limit ¶ added in v3.0.34
func (builder *DataArchivingMessageBuilder) Limit(limit int) *DataArchivingMessageBuilder
| 分页数量,单次拉取消息数,最大值1000 示例值:100 | | --- |
示例值:100
func (*DataArchivingMessageBuilder) SeqId ¶ added in v3.0.34
func (builder *DataArchivingMessageBuilder) SeqId(seqId string) *DataArchivingMessageBuilder
序号ID
示例值:1
type DataArchivingMessageStruct ¶ added in v3.0.34
type DataArchivingMessageStruct struct { MessageId *string `json:"message_id,omitempty"` // 消息id MessageType *int `json:"message_type,omitempty"` // 消息类型 SenderInfo *DataArchivingUserStruct `json:"sender_info,omitempty"` // 发送者信息 ReceiverIds []string `json:"receiver_ids,omitempty"` // 接受者信息 ActionType *string `json:"action_type,omitempty"` // 操作类型 ChatId *string `json:"chat_id,omitempty"` // 会话ID ActionTime *string `json:"action_time,omitempty"` // 消息动作时间戳ms IsSuperChat *bool `json:"is_super_chat,omitempty"` // 是否超大群 IsCrossTenantChat *bool `json:"is_cross_tenant_chat,omitempty"` // 是否跨租户群 ChatName *string `json:"chat_name,omitempty"` // 会话名称 Content *string `json:"content,omitempty"` // 文本内容 ChatMode *string `json:"chat_mode,omitempty"` // 会话类型 ReactionType *string `json:"reaction_type,omitempty"` // reaction类型 ParentMsgId *string `json:"parent_msg_id,omitempty"` // 父id }
type DataArchivingMessageStructBuilder ¶ added in v3.0.34
type DataArchivingMessageStructBuilder struct {
// contains filtered or unexported fields
}
func NewDataArchivingMessageStructBuilder ¶ added in v3.0.34
func NewDataArchivingMessageStructBuilder() *DataArchivingMessageStructBuilder
func (*DataArchivingMessageStructBuilder) ActionTime ¶ added in v3.0.34
func (builder *DataArchivingMessageStructBuilder) ActionTime(actionTime string) *DataArchivingMessageStructBuilder
消息动作时间戳ms
示例值:1700191599000
func (*DataArchivingMessageStructBuilder) ActionType ¶ added in v3.0.34
func (builder *DataArchivingMessageStructBuilder) ActionType(actionType string) *DataArchivingMessageStructBuilder
操作类型
示例值:send
func (*DataArchivingMessageStructBuilder) Build ¶ added in v3.0.34
func (builder *DataArchivingMessageStructBuilder) Build() *DataArchivingMessageStruct
func (*DataArchivingMessageStructBuilder) ChatId ¶ added in v3.0.34
func (builder *DataArchivingMessageStructBuilder) ChatId(chatId string) *DataArchivingMessageStructBuilder
会话ID
示例值:oc_1263d7c4d513defb9f5df13214602aa6
func (*DataArchivingMessageStructBuilder) ChatMode ¶ added in v3.0.34
func (builder *DataArchivingMessageStructBuilder) ChatMode(chatMode string) *DataArchivingMessageStructBuilder
会话类型
示例值:group
func (*DataArchivingMessageStructBuilder) ChatName ¶ added in v3.0.34
func (builder *DataArchivingMessageStructBuilder) ChatName(chatName string) *DataArchivingMessageStructBuilder
会话名称
示例值:会话名称
func (*DataArchivingMessageStructBuilder) Content ¶ added in v3.0.34
func (builder *DataArchivingMessageStructBuilder) Content(content string) *DataArchivingMessageStructBuilder
文本内容
示例值:hello
func (*DataArchivingMessageStructBuilder) IsCrossTenantChat ¶ added in v3.0.34
func (builder *DataArchivingMessageStructBuilder) IsCrossTenantChat(isCrossTenantChat bool) *DataArchivingMessageStructBuilder
是否跨租户群
示例值:true
func (*DataArchivingMessageStructBuilder) IsSuperChat ¶ added in v3.0.34
func (builder *DataArchivingMessageStructBuilder) IsSuperChat(isSuperChat bool) *DataArchivingMessageStructBuilder
是否超大群
示例值:true
func (*DataArchivingMessageStructBuilder) MessageId ¶ added in v3.0.34
func (builder *DataArchivingMessageStructBuilder) MessageId(messageId string) *DataArchivingMessageStructBuilder
消息id
示例值:om_829acd7aaae80c031837ad1946d7cf9f
func (*DataArchivingMessageStructBuilder) MessageType ¶ added in v3.0.34
func (builder *DataArchivingMessageStructBuilder) MessageType(messageType int) *DataArchivingMessageStructBuilder
消息类型
示例值:1
func (*DataArchivingMessageStructBuilder) ParentMsgId ¶ added in v3.0.34
func (builder *DataArchivingMessageStructBuilder) ParentMsgId(parentMsgId string) *DataArchivingMessageStructBuilder
父id
示例值:om_829acd7aaae80c031837ad1946d7cf9f
func (*DataArchivingMessageStructBuilder) ReactionType ¶ added in v3.0.34
func (builder *DataArchivingMessageStructBuilder) ReactionType(reactionType string) *DataArchivingMessageStructBuilder
reaction类型
示例值:FISTBUMP
func (*DataArchivingMessageStructBuilder) ReceiverIds ¶ added in v3.0.34
func (builder *DataArchivingMessageStructBuilder) ReceiverIds(receiverIds []string) *DataArchivingMessageStructBuilder
接受者信息
示例值:
func (*DataArchivingMessageStructBuilder) SenderInfo ¶ added in v3.0.34
func (builder *DataArchivingMessageStructBuilder) SenderInfo(senderInfo *DataArchivingUserStruct) *DataArchivingMessageStructBuilder
发送者信息
示例值:
type DataArchivingUser ¶ added in v3.0.34
type DataArchivingUser struct {
UserIds []string `json:"user_ids,omitempty"` // 归档人员列表
}
type DataArchivingUserBuilder ¶ added in v3.0.34
type DataArchivingUserBuilder struct {
// contains filtered or unexported fields
}
func NewDataArchivingUserBuilder ¶ added in v3.0.34
func NewDataArchivingUserBuilder() *DataArchivingUserBuilder
func (*DataArchivingUserBuilder) Build ¶ added in v3.0.34
func (builder *DataArchivingUserBuilder) Build() *DataArchivingUser
func (*DataArchivingUserBuilder) UserIds ¶ added in v3.0.34
func (builder *DataArchivingUserBuilder) UserIds(userIds []string) *DataArchivingUserBuilder
归档人员列表
示例值:
type DataArchivingUserStruct ¶ added in v3.0.34
type DataArchivingUserStructBuilder ¶ added in v3.0.34
type DataArchivingUserStructBuilder struct {
// contains filtered or unexported fields
}
func NewDataArchivingUserStructBuilder ¶ added in v3.0.34
func NewDataArchivingUserStructBuilder() *DataArchivingUserStructBuilder
func (*DataArchivingUserStructBuilder) Build ¶ added in v3.0.34
func (builder *DataArchivingUserStructBuilder) Build() *DataArchivingUserStruct
func (*DataArchivingUserStructBuilder) Id ¶ added in v3.0.34
func (builder *DataArchivingUserStructBuilder) Id(id string) *DataArchivingUserStructBuilder
值
示例值:352d9dgb
func (*DataArchivingUserStructBuilder) Name ¶ added in v3.0.34
func (builder *DataArchivingUserStructBuilder) Name(name string) *DataArchivingUserStructBuilder
姓名
示例值:莉莉
func (*DataArchivingUserStructBuilder) Type ¶ added in v3.0.34
func (builder *DataArchivingUserStructBuilder) Type(type_ string) *DataArchivingUserStructBuilder
类型
示例值:1
type DepartmentId ¶
type DepartmentIdBuilder ¶
type DepartmentIdBuilder struct {
// contains filtered or unexported fields
}
func NewDepartmentIdBuilder ¶
func NewDepartmentIdBuilder() *DepartmentIdBuilder
func (*DepartmentIdBuilder) Build ¶
func (builder *DepartmentIdBuilder) Build() *DepartmentId
func (*DepartmentIdBuilder) DepartmentId ¶
func (builder *DepartmentIdBuilder) DepartmentId(departmentId string) *DepartmentIdBuilder
示例值:
func (*DepartmentIdBuilder) OpenDepartmentId ¶
func (builder *DepartmentIdBuilder) OpenDepartmentId(openDepartmentId string) *DepartmentIdBuilder
示例值:
type DeviceApplyRecord ¶
type DeviceApplyRecord struct { ApplyId *string `json:"apply_id,omitempty"` // 设备申请单id DeviceTerminalType *string `json:"device_terminal_type,omitempty"` // 设备类型 Model *string `json:"model,omitempty"` // 设备型号 SerialNumber *string `json:"serial_number,omitempty"` // 生产序列号 Uuid *string `json:"uuid,omitempty"` // 主板UUID MacAddress *string `json:"mac_address,omitempty"` // Mac地址 Imei *string `json:"imei,omitempty"` // 国际移动设备识别码 AndroidId *string `json:"android_id,omitempty"` // Android 标识符 GoogleAid *string `json:"google_aid,omitempty"` // google广告id Idfa *string `json:"idfa,omitempty"` // Ios广告主标识符 Idfv *string `json:"idfv,omitempty"` // Ios 供应商标识符 ApplyStatus *string `json:"apply_status,omitempty"` // 申报状态 Operator *UserId `json:"operator,omitempty"` // 申请人 ApplyTime *string `json:"apply_time,omitempty"` // 申请时间 DiskSerialNumber *string `json:"disk_serial_number,omitempty"` // 硬盘序列号 DeviceOwnership *string `json:"device_ownership,omitempty"` // 设备归属 DeviceSystem *string `json:"device_system,omitempty"` // 操作系统 DeviceName *string `json:"device_name,omitempty"` // 设备名称 DeviceRecordId *string `json:"device_record_id,omitempty"` // 设备单ID }
type DeviceApplyRecordBuilder ¶
type DeviceApplyRecordBuilder struct {
// contains filtered or unexported fields
}
func NewDeviceApplyRecordBuilder ¶
func NewDeviceApplyRecordBuilder() *DeviceApplyRecordBuilder
func (*DeviceApplyRecordBuilder) AndroidId ¶
func (builder *DeviceApplyRecordBuilder) AndroidId(androidId string) *DeviceApplyRecordBuilder
Android 标识符
示例值:02a11ac4a83b918e
func (*DeviceApplyRecordBuilder) ApplyId ¶
func (builder *DeviceApplyRecordBuilder) ApplyId(applyId string) *DeviceApplyRecordBuilder
设备申请单id
示例值:321321311
func (*DeviceApplyRecordBuilder) ApplyStatus ¶
func (builder *DeviceApplyRecordBuilder) ApplyStatus(applyStatus string) *DeviceApplyRecordBuilder
申报状态
示例值:Processing
func (*DeviceApplyRecordBuilder) ApplyTime ¶
func (builder *DeviceApplyRecordBuilder) ApplyTime(applyTime string) *DeviceApplyRecordBuilder
申请时间
示例值:2022-11-28 17:21:26
func (*DeviceApplyRecordBuilder) Build ¶
func (builder *DeviceApplyRecordBuilder) Build() *DeviceApplyRecord
func (*DeviceApplyRecordBuilder) DeviceName ¶
func (builder *DeviceApplyRecordBuilder) DeviceName(deviceName string) *DeviceApplyRecordBuilder
设备名称
示例值:xx的设备
func (*DeviceApplyRecordBuilder) DeviceOwnership ¶
func (builder *DeviceApplyRecordBuilder) DeviceOwnership(deviceOwnership string) *DeviceApplyRecordBuilder
设备归属
示例值:Company
func (*DeviceApplyRecordBuilder) DeviceRecordId ¶
func (builder *DeviceApplyRecordBuilder) DeviceRecordId(deviceRecordId string) *DeviceApplyRecordBuilder
设备单ID
示例值:321321311112
func (*DeviceApplyRecordBuilder) DeviceSystem ¶
func (builder *DeviceApplyRecordBuilder) DeviceSystem(deviceSystem string) *DeviceApplyRecordBuilder
操作系统
示例值:Windows
func (*DeviceApplyRecordBuilder) DeviceTerminalType ¶
func (builder *DeviceApplyRecordBuilder) DeviceTerminalType(deviceTerminalType string) *DeviceApplyRecordBuilder
设备类型
示例值:Mobile
func (*DeviceApplyRecordBuilder) DiskSerialNumber ¶
func (builder *DeviceApplyRecordBuilder) DiskSerialNumber(diskSerialNumber string) *DeviceApplyRecordBuilder
硬盘序列号
示例值:CC344362-5990-5A68-8DDD-64A23C99FA0C
func (*DeviceApplyRecordBuilder) GoogleAid ¶
func (builder *DeviceApplyRecordBuilder) GoogleAid(googleAid string) *DeviceApplyRecordBuilder
google广告id
示例值:02a11ac4a83b918e
func (*DeviceApplyRecordBuilder) Idfa ¶
func (builder *DeviceApplyRecordBuilder) Idfa(idfa string) *DeviceApplyRecordBuilder
Ios广告主标识符
示例值:EA7583CD-A667-48BC-B806-42ECB2B48606
func (*DeviceApplyRecordBuilder) Idfv ¶
func (builder *DeviceApplyRecordBuilder) Idfv(idfv string) *DeviceApplyRecordBuilder
Ios 供应商标识符
示例值:968F0E5C-C297-4122-ACB6-102494DEFD9A
func (*DeviceApplyRecordBuilder) Imei ¶
func (builder *DeviceApplyRecordBuilder) Imei(imei string) *DeviceApplyRecordBuilder
国际移动设备识别码
示例值:123456-78-901234-5
func (*DeviceApplyRecordBuilder) MacAddress ¶
func (builder *DeviceApplyRecordBuilder) MacAddress(macAddress string) *DeviceApplyRecordBuilder
Mac地址
示例值:ac:de:48:00:11:22
func (*DeviceApplyRecordBuilder) Model ¶
func (builder *DeviceApplyRecordBuilder) Model(model string) *DeviceApplyRecordBuilder
设备型号
示例值:MacBookPro16,2
func (*DeviceApplyRecordBuilder) Operator ¶
func (builder *DeviceApplyRecordBuilder) Operator(operator *UserId) *DeviceApplyRecordBuilder
申请人
示例值:
func (*DeviceApplyRecordBuilder) SerialNumber ¶
func (builder *DeviceApplyRecordBuilder) SerialNumber(serialNumber string) *DeviceApplyRecordBuilder
生产序列号
示例值:C02DTHRMML7H
func (*DeviceApplyRecordBuilder) Uuid ¶
func (builder *DeviceApplyRecordBuilder) Uuid(uuid string) *DeviceApplyRecordBuilder
主板UUID
示例值:CC344362-5990-5A68-8DDD-64A23C99FA0C
type DeviceRecord ¶
type DeviceRecord struct { DeviceRecordId *string `json:"device_record_id,omitempty"` // 设备主键id DeviceTerminalType *string `json:"device_terminal_type,omitempty"` // 设备类型 DeviceSystem *string `json:"device_system,omitempty"` // 操作系统 Model *string `json:"model,omitempty"` // 设备型号 DeviceName *string `json:"device_name,omitempty"` // 设备名称 SerialNumber *string `json:"serial_number,omitempty"` // 生产序列号 Uuid *string `json:"uuid,omitempty"` // 主板UUID MacAddress *string `json:"mac_address,omitempty"` // Mac地址 Imei *string `json:"imei,omitempty"` // 国际移动设备识别码 AndroidId *string `json:"android_id,omitempty"` // Android 标识符 GoogleAid *string `json:"google_aid,omitempty"` // google广告id Idfa *string `json:"idfa,omitempty"` // Ios广告主标识符 Idfv *string `json:"idfv,omitempty"` // Ios 供应商标识符 DeviceOwnership *string `json:"device_ownership,omitempty"` // 设备归属 DeviceSource *string `json:"device_source,omitempty"` // 设备来源 RegisterTime *string `json:"register_time,omitempty"` // 注册时间 DeviceCredibility *string `json:"device_credibility,omitempty"` // 设备状态 Version *string `json:"version,omitempty"` // 设备记录版本 DiskSerialNumber *string `json:"disk_serial_number,omitempty"` // 硬盘序列号 }
type DeviceRecordBuilder ¶
type DeviceRecordBuilder struct {
// contains filtered or unexported fields
}
func NewDeviceRecordBuilder ¶
func NewDeviceRecordBuilder() *DeviceRecordBuilder
func (*DeviceRecordBuilder) AndroidId ¶
func (builder *DeviceRecordBuilder) AndroidId(androidId string) *DeviceRecordBuilder
Android 标识符
示例值:02a11ac4a83b918e
func (*DeviceRecordBuilder) Build ¶
func (builder *DeviceRecordBuilder) Build() *DeviceRecord
func (*DeviceRecordBuilder) DeviceCredibility ¶
func (builder *DeviceRecordBuilder) DeviceCredibility(deviceCredibility string) *DeviceRecordBuilder
设备状态
示例值:Credible
func (*DeviceRecordBuilder) DeviceName ¶
func (builder *DeviceRecordBuilder) DeviceName(deviceName string) *DeviceRecordBuilder
设备名称
示例值:HUMAN-PC
func (*DeviceRecordBuilder) DeviceOwnership ¶
func (builder *DeviceRecordBuilder) DeviceOwnership(deviceOwnership string) *DeviceRecordBuilder
设备归属
示例值:Company
func (*DeviceRecordBuilder) DeviceRecordId ¶
func (builder *DeviceRecordBuilder) DeviceRecordId(deviceRecordId string) *DeviceRecordBuilder
设备主键id
示例值:3a4771nbnd1os
func (*DeviceRecordBuilder) DeviceSource ¶
func (builder *DeviceRecordBuilder) DeviceSource(deviceSource string) *DeviceRecordBuilder
设备来源
示例值:ADMIN_IMPORT
func (*DeviceRecordBuilder) DeviceSystem ¶
func (builder *DeviceRecordBuilder) DeviceSystem(deviceSystem string) *DeviceRecordBuilder
操作系统
示例值:MacOS
func (*DeviceRecordBuilder) DeviceTerminalType ¶
func (builder *DeviceRecordBuilder) DeviceTerminalType(deviceTerminalType string) *DeviceRecordBuilder
设备类型
示例值:mobile
func (*DeviceRecordBuilder) DiskSerialNumber ¶
func (builder *DeviceRecordBuilder) DiskSerialNumber(diskSerialNumber string) *DeviceRecordBuilder
硬盘序列号
示例值:CC344362-5990-5A68-8DDD-64A23C99FA0C
func (*DeviceRecordBuilder) GoogleAid ¶
func (builder *DeviceRecordBuilder) GoogleAid(googleAid string) *DeviceRecordBuilder
google广告id
示例值:02a11ac4a83b918e
func (*DeviceRecordBuilder) Idfa ¶
func (builder *DeviceRecordBuilder) Idfa(idfa string) *DeviceRecordBuilder
Ios广告主标识符
示例值:EA7583CD-A667-48BC-B806-42ECB2B48606
func (*DeviceRecordBuilder) Idfv ¶
func (builder *DeviceRecordBuilder) Idfv(idfv string) *DeviceRecordBuilder
Ios 供应商标识符
示例值:968F0E5C-C297-4122-ACB6-102494DEFD9A
func (*DeviceRecordBuilder) Imei ¶
func (builder *DeviceRecordBuilder) Imei(imei string) *DeviceRecordBuilder
国际移动设备识别码
示例值:123456-78-901234-5
func (*DeviceRecordBuilder) MacAddress ¶
func (builder *DeviceRecordBuilder) MacAddress(macAddress string) *DeviceRecordBuilder
Mac地址
示例值:ac:de:48:00:11:22
func (*DeviceRecordBuilder) Model ¶
func (builder *DeviceRecordBuilder) Model(model string) *DeviceRecordBuilder
设备型号
示例值:MacBookPro16,2
func (*DeviceRecordBuilder) RegisterTime ¶
func (builder *DeviceRecordBuilder) RegisterTime(registerTime string) *DeviceRecordBuilder
注册时间
示例值:2022-11-28 17:21:26
func (*DeviceRecordBuilder) SerialNumber ¶
func (builder *DeviceRecordBuilder) SerialNumber(serialNumber string) *DeviceRecordBuilder
生产序列号
示例值:C02DTHRMML7H
func (*DeviceRecordBuilder) Uuid ¶
func (builder *DeviceRecordBuilder) Uuid(uuid string) *DeviceRecordBuilder
主板UUID
示例值:CC344362-5990-5A68-8DDD-64A23C99FA0C
func (*DeviceRecordBuilder) Version ¶
func (builder *DeviceRecordBuilder) Version(version string) *DeviceRecordBuilder
设备记录版本
示例值:1692341374888
type DirectoryItems ¶ added in v3.0.34
type DirectoryItems struct { EntityId *string `json:"entity_id,omitempty"` // 实体的 id MailAddress *string `json:"mail_address,omitempty"` // 邮箱地址。当通过 mailbox 查询实体时,返回 mail address,如果没有,则返回空。 EntityLocation *string `json:"entity_location,omitempty"` // 实体的数据驻留地 EntityCreateTime *string `json:"entity_create_time,omitempty"` // 实体创建时间(毫秒级时间戳) EntityType *string `json:"entity_type,omitempty"` // 实体的类型 }
type DirectoryItemsBuilder ¶ added in v3.0.34
type DirectoryItemsBuilder struct {
// contains filtered or unexported fields
}
func NewDirectoryItemsBuilder ¶ added in v3.0.34
func NewDirectoryItemsBuilder() *DirectoryItemsBuilder
func (*DirectoryItemsBuilder) Build ¶ added in v3.0.34
func (builder *DirectoryItemsBuilder) Build() *DirectoryItems
func (*DirectoryItemsBuilder) EntityCreateTime ¶ added in v3.0.34
func (builder *DirectoryItemsBuilder) EntityCreateTime(entityCreateTime string) *DirectoryItemsBuilder
实体创建时间(毫秒级时间戳)
示例值:1615380573411
func (*DirectoryItemsBuilder) EntityId ¶ added in v3.0.34
func (builder *DirectoryItemsBuilder) EntityId(entityId string) *DirectoryItemsBuilder
实体的 id
示例值:134jsi43d3ssi993d435452
func (*DirectoryItemsBuilder) EntityLocation ¶ added in v3.0.34
func (builder *DirectoryItemsBuilder) EntityLocation(entityLocation string) *DirectoryItemsBuilder
实体的数据驻留地
示例值:SG
func (*DirectoryItemsBuilder) EntityType ¶ added in v3.0.34
func (builder *DirectoryItemsBuilder) EntityType(entityType string) *DirectoryItemsBuilder
实体的类型
示例值:sheets
func (*DirectoryItemsBuilder) MailAddress ¶ added in v3.0.34
func (builder *DirectoryItemsBuilder) MailAddress(mailAddress string) *DirectoryItemsBuilder
邮箱地址。当通过 mailbox 查询实体时,返回 mail address,如果没有,则返回空。
示例值:xxx@xxx.xx
type DlpDetectModeProofContext ¶
type DlpDetectModeProofContext struct { DetectMode *int `json:"detect_mode,omitempty"` // 检测类型 DetectName *string `json:"detect_name,omitempty"` // 检测类型名称 ProofContexts []*DlpProofContext `json:"proof_contexts,omitempty"` // 命中片段 HitCount *int `json:"hit_count,omitempty"` // 命中次数 }
type DlpDetectModeProofContextBuilder ¶
type DlpDetectModeProofContextBuilder struct {
// contains filtered or unexported fields
}
func NewDlpDetectModeProofContextBuilder ¶
func NewDlpDetectModeProofContextBuilder() *DlpDetectModeProofContextBuilder
func (*DlpDetectModeProofContextBuilder) Build ¶
func (builder *DlpDetectModeProofContextBuilder) Build() *DlpDetectModeProofContext
func (*DlpDetectModeProofContextBuilder) DetectMode ¶
func (builder *DlpDetectModeProofContextBuilder) DetectMode(detectMode int) *DlpDetectModeProofContextBuilder
检测类型
示例值:1
func (*DlpDetectModeProofContextBuilder) DetectName ¶
func (builder *DlpDetectModeProofContextBuilder) DetectName(detectName string) *DlpDetectModeProofContextBuilder
检测类型名称
示例值:关键词1
func (*DlpDetectModeProofContextBuilder) HitCount ¶
func (builder *DlpDetectModeProofContextBuilder) HitCount(hitCount int) *DlpDetectModeProofContextBuilder
命中次数
示例值:12
func (*DlpDetectModeProofContextBuilder) ProofContexts ¶
func (builder *DlpDetectModeProofContextBuilder) ProofContexts(proofContexts []*DlpProofContext) *DlpDetectModeProofContextBuilder
命中片段
示例值:
type DlpEvidenceDetail ¶
type DlpEvidenceDetail struct { KeywordHits []string `json:"keyword_hits,omitempty"` // 命中关键词 RegularHits []string `json:"regular_hits,omitempty"` // 命中正则表达式 SensitiveHits []string `json:"sensitive_hits,omitempty"` // 命中敏感信息类型 FileSizeHits []string `json:"file_size_hits,omitempty"` // 命中文件大小 FileTypeHits []string `json:"file_type_hits,omitempty"` // 命中文件类型 FileNameExtHits []string `json:"file_name_ext_hits,omitempty"` // 命中文件拓展名 TriggerSnippets []*DlpPolicyHitProof `json:"trigger_snippets,omitempty"` // 命中片段 SecureLabelHits []string `json:"secure_label_hits,omitempty"` // 命中密级标签 }
type DlpEvidenceDetailBuilder ¶
type DlpEvidenceDetailBuilder struct {
// contains filtered or unexported fields
}
func NewDlpEvidenceDetailBuilder ¶
func NewDlpEvidenceDetailBuilder() *DlpEvidenceDetailBuilder
func (*DlpEvidenceDetailBuilder) Build ¶
func (builder *DlpEvidenceDetailBuilder) Build() *DlpEvidenceDetail
func (*DlpEvidenceDetailBuilder) FileNameExtHits ¶
func (builder *DlpEvidenceDetailBuilder) FileNameExtHits(fileNameExtHits []string) *DlpEvidenceDetailBuilder
命中文件拓展名
示例值:
func (*DlpEvidenceDetailBuilder) FileSizeHits ¶
func (builder *DlpEvidenceDetailBuilder) FileSizeHits(fileSizeHits []string) *DlpEvidenceDetailBuilder
命中文件大小
示例值:
func (*DlpEvidenceDetailBuilder) FileTypeHits ¶
func (builder *DlpEvidenceDetailBuilder) FileTypeHits(fileTypeHits []string) *DlpEvidenceDetailBuilder
命中文件类型
示例值:
func (*DlpEvidenceDetailBuilder) KeywordHits ¶
func (builder *DlpEvidenceDetailBuilder) KeywordHits(keywordHits []string) *DlpEvidenceDetailBuilder
命中关键词
示例值:
func (*DlpEvidenceDetailBuilder) RegularHits ¶
func (builder *DlpEvidenceDetailBuilder) RegularHits(regularHits []string) *DlpEvidenceDetailBuilder
命中正则表达式
示例值:
func (*DlpEvidenceDetailBuilder) SecureLabelHits ¶ added in v3.1.3
func (builder *DlpEvidenceDetailBuilder) SecureLabelHits(secureLabelHits []string) *DlpEvidenceDetailBuilder
命中密级标签
示例值:
func (*DlpEvidenceDetailBuilder) SensitiveHits ¶
func (builder *DlpEvidenceDetailBuilder) SensitiveHits(sensitiveHits []string) *DlpEvidenceDetailBuilder
命中敏感信息类型
示例值:
func (*DlpEvidenceDetailBuilder) TriggerSnippets ¶
func (builder *DlpEvidenceDetailBuilder) TriggerSnippets(triggerSnippets []*DlpPolicyHitProof) *DlpEvidenceDetailBuilder
命中片段
示例值:
type DlpExecuteEvidence ¶
type DlpExecuteEvidenceBuilder ¶
type DlpExecuteEvidenceBuilder struct {
// contains filtered or unexported fields
}
func NewDlpExecuteEvidenceBuilder ¶
func NewDlpExecuteEvidenceBuilder() *DlpExecuteEvidenceBuilder
func (*DlpExecuteEvidenceBuilder) Build ¶
func (builder *DlpExecuteEvidenceBuilder) Build() *DlpExecuteEvidence
func (*DlpExecuteEvidenceBuilder) KeywordHits ¶
func (builder *DlpExecuteEvidenceBuilder) KeywordHits(keywordHits []string) *DlpExecuteEvidenceBuilder
关键字
示例值:
func (*DlpExecuteEvidenceBuilder) RegularHits ¶
func (builder *DlpExecuteEvidenceBuilder) RegularHits(regularHits []string) *DlpExecuteEvidenceBuilder
正则表达式列表
示例值:
func (*DlpExecuteEvidenceBuilder) SensitiveHits ¶
func (builder *DlpExecuteEvidenceBuilder) SensitiveHits(sensitiveHits []string) *DlpExecuteEvidenceBuilder
敏感信息类型列表
示例值:
type DlpExecuteLog ¶
type DlpExecuteLog struct { ApplicableService *string `json:"applicable_service,omitempty"` // 应用业务线 UserName *string `json:"user_name,omitempty"` // 用户名 UserId *string `json:"user_id,omitempty"` // 用户id Trigger *string `json:"trigger,omitempty"` // 触发条件 Time *string `json:"time,omitempty"` // 时间 SystemAction *string `json:"system_action,omitempty"` // 系统执行动作 SenderName *string `json:"sender_name,omitempty"` // 消息发送者名称 SenderId *string `json:"sender_id,omitempty"` // 消息发送者ID RecipientName *string `json:"recipient_name,omitempty"` // 消息接收者名称 RecipientId *string `json:"recipient_id,omitempty"` // 消息接收者ID ChatName *string `json:"chat_name,omitempty"` // 会话名称 ChatId *string `json:"chat_id,omitempty"` // 会话ID MessageId *string `json:"message_id,omitempty"` // 消息ID MessageContent *string `json:"message_content,omitempty"` // 消息内容 AliasIngroup *string `json:"alias_ingroup,omitempty"` // 群昵称 GroupDescription *string `json:"group_description,omitempty"` // 群描述 GroupTabContent *string `json:"group_tab_content,omitempty"` // 群标签页内容 FileName *string `json:"file_name,omitempty"` // 文件名称 FileKey *string `json:"file_key,omitempty"` // 文件key DocumentOwnerName *string `json:"document_owner_name,omitempty"` // 文档所有者名称 DocumentOwnerId *string `json:"document_owner_id,omitempty"` // 文档所有者ID DocumentName *string `json:"document_name,omitempty"` // 文档名称 DocumentType *string `json:"document_type,omitempty"` // 云文档类型,如文档、电子表格等 DocumentLink *string `json:"document_link,omitempty"` // 文档链接 EvidenceDetail *DlpEvidenceDetail `json:"evidence_detail,omitempty"` // 证据详情 HitPolicies []*DlpHitPolicy `json:"hit_policies,omitempty"` // 命中策略 FileToken *string `json:"file_token,omitempty"` // 文件token TriggerEventType *string `json:"trigger_event_type,omitempty"` // 触发事件类型 }
type DlpExecuteLogBuilder ¶
type DlpExecuteLogBuilder struct {
// contains filtered or unexported fields
}
func NewDlpExecuteLogBuilder ¶
func NewDlpExecuteLogBuilder() *DlpExecuteLogBuilder
func (*DlpExecuteLogBuilder) AliasIngroup ¶
func (builder *DlpExecuteLogBuilder) AliasIngroup(aliasIngroup string) *DlpExecuteLogBuilder
群昵称
示例值:李四的昵称
func (*DlpExecuteLogBuilder) ApplicableService ¶
func (builder *DlpExecuteLogBuilder) ApplicableService(applicableService string) *DlpExecuteLogBuilder
应用业务线
示例值:即时消息
func (*DlpExecuteLogBuilder) Build ¶
func (builder *DlpExecuteLogBuilder) Build() *DlpExecuteLog
func (*DlpExecuteLogBuilder) ChatId ¶
func (builder *DlpExecuteLogBuilder) ChatId(chatId string) *DlpExecuteLogBuilder
会话ID
示例值:9374819371047
func (*DlpExecuteLogBuilder) ChatName ¶
func (builder *DlpExecuteLogBuilder) ChatName(chatName string) *DlpExecuteLogBuilder
会话名称
示例值:张三的群聊
func (*DlpExecuteLogBuilder) DocumentLink ¶
func (builder *DlpExecuteLogBuilder) DocumentLink(documentLink string) *DlpExecuteLogBuilder
文档链接
func (*DlpExecuteLogBuilder) DocumentName ¶
func (builder *DlpExecuteLogBuilder) DocumentName(documentName string) *DlpExecuteLogBuilder
文档名称
示例值:文档名称一
func (*DlpExecuteLogBuilder) DocumentOwnerId ¶
func (builder *DlpExecuteLogBuilder) DocumentOwnerId(documentOwnerId string) *DlpExecuteLogBuilder
文档所有者ID
示例值:93743293493
func (*DlpExecuteLogBuilder) DocumentOwnerName ¶
func (builder *DlpExecuteLogBuilder) DocumentOwnerName(documentOwnerName string) *DlpExecuteLogBuilder
文档所有者名称
示例值:王五
func (*DlpExecuteLogBuilder) DocumentType ¶
func (builder *DlpExecuteLogBuilder) DocumentType(documentType string) *DlpExecuteLogBuilder
云文档类型,如文档、电子表格等
示例值:doc
func (*DlpExecuteLogBuilder) EvidenceDetail ¶
func (builder *DlpExecuteLogBuilder) EvidenceDetail(evidenceDetail *DlpEvidenceDetail) *DlpExecuteLogBuilder
证据详情
示例值:
func (*DlpExecuteLogBuilder) FileKey ¶
func (builder *DlpExecuteLogBuilder) FileKey(fileKey string) *DlpExecuteLogBuilder
文件key
示例值:key-skjfldljbf
func (*DlpExecuteLogBuilder) FileName ¶
func (builder *DlpExecuteLogBuilder) FileName(fileName string) *DlpExecuteLogBuilder
文件名称
示例值:文件1
func (*DlpExecuteLogBuilder) FileToken ¶ added in v3.1.2
func (builder *DlpExecuteLogBuilder) FileToken(fileToken string) *DlpExecuteLogBuilder
文件token
示例值:token-aaddtken
func (*DlpExecuteLogBuilder) GroupDescription ¶
func (builder *DlpExecuteLogBuilder) GroupDescription(groupDescription string) *DlpExecuteLogBuilder
群描述
示例值:这是一个群描述
func (*DlpExecuteLogBuilder) GroupTabContent ¶
func (builder *DlpExecuteLogBuilder) GroupTabContent(groupTabContent string) *DlpExecuteLogBuilder
群标签页内容
示例值:文档标签页
func (*DlpExecuteLogBuilder) HitPolicies ¶
func (builder *DlpExecuteLogBuilder) HitPolicies(hitPolicies []*DlpHitPolicy) *DlpExecuteLogBuilder
命中策略
示例值:
func (*DlpExecuteLogBuilder) MessageContent ¶
func (builder *DlpExecuteLogBuilder) MessageContent(messageContent string) *DlpExecuteLogBuilder
消息内容
示例值:这是一则消息
func (*DlpExecuteLogBuilder) MessageId ¶
func (builder *DlpExecuteLogBuilder) MessageId(messageId string) *DlpExecuteLogBuilder
消息ID
示例值:9237481847832
func (*DlpExecuteLogBuilder) RecipientId ¶
func (builder *DlpExecuteLogBuilder) RecipientId(recipientId string) *DlpExecuteLogBuilder
消息接收者ID
示例值:96382734927001
func (*DlpExecuteLogBuilder) RecipientName ¶
func (builder *DlpExecuteLogBuilder) RecipientName(recipientName string) *DlpExecuteLogBuilder
消息接收者名称
示例值:李四
func (*DlpExecuteLogBuilder) SenderId ¶
func (builder *DlpExecuteLogBuilder) SenderId(senderId string) *DlpExecuteLogBuilder
消息发送者ID
示例值:983749203223
func (*DlpExecuteLogBuilder) SenderName ¶
func (builder *DlpExecuteLogBuilder) SenderName(senderName string) *DlpExecuteLogBuilder
消息发送者名称
示例值:张三
func (*DlpExecuteLogBuilder) SystemAction ¶
func (builder *DlpExecuteLogBuilder) SystemAction(systemAction string) *DlpExecuteLogBuilder
系统执行动作
示例值:拦截
func (*DlpExecuteLogBuilder) Time ¶
func (builder *DlpExecuteLogBuilder) Time(time string) *DlpExecuteLogBuilder
时间
示例值:16894002
func (*DlpExecuteLogBuilder) Trigger ¶
func (builder *DlpExecuteLogBuilder) Trigger(trigger string) *DlpExecuteLogBuilder
触发条件
示例值:下载/打印
func (*DlpExecuteLogBuilder) TriggerEventType ¶ added in v3.2.8
func (builder *DlpExecuteLogBuilder) TriggerEventType(triggerEventType string) *DlpExecuteLogBuilder
触发事件类型
示例值:系统送检
func (*DlpExecuteLogBuilder) UserId ¶
func (builder *DlpExecuteLogBuilder) UserId(userId string) *DlpExecuteLogBuilder
用户id
示例值:934791734918
func (*DlpExecuteLogBuilder) UserName ¶
func (builder *DlpExecuteLogBuilder) UserName(userName string) *DlpExecuteLogBuilder
用户名
示例值:张三
type DlpHitPolicy ¶
type DlpHitPolicyBuilder ¶
type DlpHitPolicyBuilder struct {
// contains filtered or unexported fields
}
func NewDlpHitPolicyBuilder ¶
func NewDlpHitPolicyBuilder() *DlpHitPolicyBuilder
func (*DlpHitPolicyBuilder) Build ¶
func (builder *DlpHitPolicyBuilder) Build() *DlpHitPolicy
func (*DlpHitPolicyBuilder) PolicyId ¶
func (builder *DlpHitPolicyBuilder) PolicyId(policyId string) *DlpHitPolicyBuilder
策略ID
示例值:713628373819212
func (*DlpHitPolicyBuilder) PolicyName ¶
func (builder *DlpHitPolicyBuilder) PolicyName(policyName string) *DlpHitPolicyBuilder
策略名称
示例值:dlp测试策略一
type DlpPolicyHitProof ¶
type DlpPolicyHitProof struct { PolicyId *string `json:"policy_id,omitempty"` // dlp策略ID DetectModeProofContexts []*DlpDetectModeProofContext `json:"detect_mode_proof_contexts,omitempty"` // 命中片段证据详情 }
type DlpPolicyHitProofBuilder ¶
type DlpPolicyHitProofBuilder struct {
// contains filtered or unexported fields
}
func NewDlpPolicyHitProofBuilder ¶
func NewDlpPolicyHitProofBuilder() *DlpPolicyHitProofBuilder
func (*DlpPolicyHitProofBuilder) Build ¶
func (builder *DlpPolicyHitProofBuilder) Build() *DlpPolicyHitProof
func (*DlpPolicyHitProofBuilder) DetectModeProofContexts ¶
func (builder *DlpPolicyHitProofBuilder) DetectModeProofContexts(detectModeProofContexts []*DlpDetectModeProofContext) *DlpPolicyHitProofBuilder
命中片段证据详情
示例值:
func (*DlpPolicyHitProofBuilder) PolicyId ¶
func (builder *DlpPolicyHitProofBuilder) PolicyId(policyId string) *DlpPolicyHitProofBuilder
dlp策略ID
示例值:123123123123
type DlpProofContext ¶
type DlpProofContextBuilder ¶
type DlpProofContextBuilder struct {
// contains filtered or unexported fields
}
func NewDlpProofContextBuilder ¶
func NewDlpProofContextBuilder() *DlpProofContextBuilder
func (*DlpProofContextBuilder) Build ¶
func (builder *DlpProofContextBuilder) Build() *DlpProofContext
func (*DlpProofContextBuilder) ContextSnippet ¶
func (builder *DlpProofContextBuilder) ContextSnippet(contextSnippet string) *DlpProofContextBuilder
上下文片段
示例值:这是一条关键词内容
func (*DlpProofContextBuilder) HitContent ¶
func (builder *DlpProofContextBuilder) HitContent(hitContent string) *DlpProofContextBuilder
命中内容
示例值:关键词
type Document ¶
type Document struct { Token *string `json:"token,omitempty"` // 文档唯一标识token Title *string `json:"title,omitempty"` // 文档标题 UpdateTime *int `json:"update_time,omitempty"` // 文档更新时间戳 ObjectStatus *int `json:"object_status,omitempty"` // 文档状态 ObjectType *int `json:"object_type,omitempty"` // 文档类型 Owner *SimpleUser `json:"owner,omitempty"` // 文档所有者 }
type DocumentBuilder ¶
type DocumentBuilder struct {
// contains filtered or unexported fields
}
func NewDocumentBuilder ¶
func NewDocumentBuilder() *DocumentBuilder
func (*DocumentBuilder) Build ¶
func (builder *DocumentBuilder) Build() *Document
func (*DocumentBuilder) ObjectStatus ¶
func (builder *DocumentBuilder) ObjectStatus(objectStatus int) *DocumentBuilder
文档状态
示例值:
func (*DocumentBuilder) ObjectType ¶
func (builder *DocumentBuilder) ObjectType(objectType int) *DocumentBuilder
文档类型
示例值:
func (*DocumentBuilder) Owner ¶
func (builder *DocumentBuilder) Owner(owner *SimpleUser) *DocumentBuilder
文档所有者
示例值:
func (*DocumentBuilder) Title ¶
func (builder *DocumentBuilder) Title(title string) *DocumentBuilder
文档标题
示例值:
func (*DocumentBuilder) Token ¶
func (builder *DocumentBuilder) Token(token string) *DocumentBuilder
文档唯一标识token
示例值:
func (*DocumentBuilder) UpdateTime ¶
func (builder *DocumentBuilder) UpdateTime(updateTime int) *DocumentBuilder
文档更新时间戳
示例值:
type DownloadToken ¶
type DownloadToken struct {
Token *string `json:"token,omitempty"` // 下载token
}
type DownloadTokenBuilder ¶
type DownloadTokenBuilder struct {
// contains filtered or unexported fields
}
func NewDownloadTokenBuilder ¶
func NewDownloadTokenBuilder() *DownloadTokenBuilder
func (*DownloadTokenBuilder) Build ¶
func (builder *DownloadTokenBuilder) Build() *DownloadToken
func (*DownloadTokenBuilder) Token ¶
func (builder *DownloadTokenBuilder) Token(token string) *DownloadTokenBuilder
下载token
示例值:
type Email ¶
type Email struct { Id *string `json:"id,omitempty"` // email ID Title *string `json:"title,omitempty"` // email 标题 OwnerType *int `json:"owner_type,omitempty"` // email owner类型 CreateTime *string `json:"create_time,omitempty"` // email 创建时间, 单位秒 OwnerUserId *string `json:"owner_user_id,omitempty"` // 企业用户ID OwnerAddress *string `json:"owner_address,omitempty"` // 公共邮箱地址 }
type EmailBuilder ¶
type EmailBuilder struct {
// contains filtered or unexported fields
}
func NewEmailBuilder ¶
func NewEmailBuilder() *EmailBuilder
func (*EmailBuilder) Build ¶
func (builder *EmailBuilder) Build() *Email
func (*EmailBuilder) CreateTime ¶
func (builder *EmailBuilder) CreateTime(createTime string) *EmailBuilder
email 创建时间, 单位秒
示例值:1645180346
func (*EmailBuilder) Id ¶
func (builder *EmailBuilder) Id(id string) *EmailBuilder
email ID
示例值:5e1d0913ea6770d309fd18778fb45a15a1e69857.8fb8a4da.a4fd.4d48.baa0.2396bf70c04d@staging.feishu.cn
func (*EmailBuilder) OwnerAddress ¶
func (builder *EmailBuilder) OwnerAddress(ownerAddress string) *EmailBuilder
公共邮箱地址
示例值:jiajinqud@zijietiaobudong.top
func (*EmailBuilder) OwnerType ¶
func (builder *EmailBuilder) OwnerType(ownerType int) *EmailBuilder
email owner类型
示例值:1
func (*EmailBuilder) OwnerUserId ¶
func (builder *EmailBuilder) OwnerUserId(ownerUserId string) *EmailBuilder
企业用户ID
示例值:ou_7636758725e268a4c67dc7457d27719d
func (*EmailBuilder) Title ¶
func (builder *EmailBuilder) Title(title string) *EmailBuilder
email 标题
示例值:scs vault test email
type EmailFilter ¶
type EmailFilter struct { OwnerUseridList []string `json:"owner_userid_list,omitempty"` // 企业用户列表 OwnerAddressList []string `json:"owner_address_list,omitempty"` // 公共邮箱列表 TimeRange *TimeRange `json:"time_range,omitempty"` // 查询时间范围 Senders []string `json:"senders,omitempty"` // 发件人邮箱列表 Recipients []string `json:"recipients,omitempty"` // 收件人邮箱列表 EmailTitle *string `json:"email_title,omitempty"` // 邮件标题 EmailId *string `json:"email_id,omitempty"` // 邮件ID }
type EmailFilterBuilder ¶
type EmailFilterBuilder struct {
// contains filtered or unexported fields
}
func NewEmailFilterBuilder ¶
func NewEmailFilterBuilder() *EmailFilterBuilder
func (*EmailFilterBuilder) Build ¶
func (builder *EmailFilterBuilder) Build() *EmailFilter
func (*EmailFilterBuilder) EmailId ¶
func (builder *EmailFilterBuilder) EmailId(emailId string) *EmailFilterBuilder
邮件ID
示例值:5e1d0913ea6770d309fd18778fb45a15a1e69857.8fb8a4da.a4fd.4d48.baa0.2396bf70c04d@staging.feishu.cn
func (*EmailFilterBuilder) EmailTitle ¶
func (builder *EmailFilterBuilder) EmailTitle(emailTitle string) *EmailFilterBuilder
邮件标题
示例值:test email
func (*EmailFilterBuilder) OwnerAddressList ¶
func (builder *EmailFilterBuilder) OwnerAddressList(ownerAddressList []string) *EmailFilterBuilder
公共邮箱列表
示例值:jiajinqud@zijietiaobudong.top
func (*EmailFilterBuilder) OwnerUseridList ¶
func (builder *EmailFilterBuilder) OwnerUseridList(ownerUseridList []string) *EmailFilterBuilder
企业用户列表
示例值:ou_7636758725e268a4c67dc7457d27719d
func (*EmailFilterBuilder) Recipients ¶
func (builder *EmailFilterBuilder) Recipients(recipients []string) *EmailFilterBuilder
收件人邮箱列表
示例值:jiajinqud@zijietiaobudong.top
func (*EmailFilterBuilder) Senders ¶
func (builder *EmailFilterBuilder) Senders(senders []string) *EmailFilterBuilder
发件人邮箱列表
示例值:mail-noreply@feishu.cn
func (*EmailFilterBuilder) TimeRange ¶
func (builder *EmailFilterBuilder) TimeRange(timeRange *TimeRange) *EmailFilterBuilder
查询时间范围
示例值:
type FileRiskDetectionRecord ¶ added in v3.2.8
type FileRiskDetectionRecord struct { RecordId *string `json:"record_id,omitempty"` // 文件送检记录主键 FileUrl *string `json:"file_url,omitempty"` // 文件下载链接 FileUrlExpireTime *string `json:"file_url_expire_time,omitempty"` // 文件下载链接失效时间戳(秒) FileSize *string `json:"file_size,omitempty"` // 文件大小(字节) TriggerReason *int `json:"trigger_reason,omitempty"` // 触发送检原因 }
type FileRiskDetectionRecordBuilder ¶ added in v3.2.8
type FileRiskDetectionRecordBuilder struct {
// contains filtered or unexported fields
}
func NewFileRiskDetectionRecordBuilder ¶ added in v3.2.8
func NewFileRiskDetectionRecordBuilder() *FileRiskDetectionRecordBuilder
func (*FileRiskDetectionRecordBuilder) Build ¶ added in v3.2.8
func (builder *FileRiskDetectionRecordBuilder) Build() *FileRiskDetectionRecord
func (*FileRiskDetectionRecordBuilder) FileSize ¶ added in v3.2.8
func (builder *FileRiskDetectionRecordBuilder) FileSize(fileSize string) *FileRiskDetectionRecordBuilder
文件大小(字节)
示例值:1024
func (*FileRiskDetectionRecordBuilder) FileUrl ¶ added in v3.2.8
func (builder *FileRiskDetectionRecordBuilder) FileUrl(fileUrl string) *FileRiskDetectionRecordBuilder
文件下载链接
func (*FileRiskDetectionRecordBuilder) FileUrlExpireTime ¶ added in v3.2.8
func (builder *FileRiskDetectionRecordBuilder) FileUrlExpireTime(fileUrlExpireTime string) *FileRiskDetectionRecordBuilder
文件下载链接失效时间戳(秒)
示例值:1735660799
func (*FileRiskDetectionRecordBuilder) RecordId ¶ added in v3.2.8
func (builder *FileRiskDetectionRecordBuilder) RecordId(recordId string) *FileRiskDetectionRecordBuilder
文件送检记录主键
示例值:308975127
func (*FileRiskDetectionRecordBuilder) TriggerReason ¶ added in v3.2.8
func (builder *FileRiskDetectionRecordBuilder) TriggerReason(triggerReason int) *FileRiskDetectionRecordBuilder
触发送检原因
示例值:1
type FileRiskDetectionRecordResult ¶ added in v3.2.8
type FileRiskDetectionRecordResultBuilder ¶ added in v3.2.8
type FileRiskDetectionRecordResultBuilder struct {
// contains filtered or unexported fields
}
func NewFileRiskDetectionRecordResultBuilder ¶ added in v3.2.8
func NewFileRiskDetectionRecordResultBuilder() *FileRiskDetectionRecordResultBuilder
func (*FileRiskDetectionRecordResultBuilder) Build ¶ added in v3.2.8
func (builder *FileRiskDetectionRecordResultBuilder) Build() *FileRiskDetectionRecordResult
func (*FileRiskDetectionRecordResultBuilder) RiskTag ¶ added in v3.2.8
func (builder *FileRiskDetectionRecordResultBuilder) RiskTag(riskTag string) *FileRiskDetectionRecordResultBuilder
风险类型
示例值:RISK
func (*FileRiskDetectionRecordResultBuilder) Status ¶ added in v3.2.8
func (builder *FileRiskDetectionRecordResultBuilder) Status(status string) *FileRiskDetectionRecordResultBuilder
检测状态
示例值:FINISHED
type GwCommon ¶
type GwCommon struct { Locale *string `json:"locale,omitempty"` // 地区 ReportTime *string `json:"report_time,omitempty"` // 上报时间戳(单位:纳秒) SessionUuid *string `json:"session_uuid,omitempty"` // session唯一id TerminalType *string `json:"terminal_type,omitempty"` // 终端类型 UserId *UserId `json:"user_id,omitempty"` // 用户ID OpenplatformAppId *string `json:"openplatform_app_id,omitempty"` // 开放平台应用ID RequestId *string `json:"request_id,omitempty"` // 请求标识 LogId *string `json:"log_id,omitempty"` // 链路标识 }
type GwCommonBuilder ¶
type GwCommonBuilder struct {
// contains filtered or unexported fields
}
func NewGwCommonBuilder ¶
func NewGwCommonBuilder() *GwCommonBuilder
func (*GwCommonBuilder) Build ¶
func (builder *GwCommonBuilder) Build() *GwCommon
func (*GwCommonBuilder) Locale ¶
func (builder *GwCommonBuilder) Locale(locale string) *GwCommonBuilder
地区
示例值:zh-CN
func (*GwCommonBuilder) LogId ¶
func (builder *GwCommonBuilder) LogId(logId string) *GwCommonBuilder
链路标识
示例值:2022050711522601021218102322038985
func (*GwCommonBuilder) OpenplatformAppId ¶
func (builder *GwCommonBuilder) OpenplatformAppId(openplatformAppId string) *GwCommonBuilder
开放平台应用ID
示例值:12345
func (*GwCommonBuilder) ReportTime ¶
func (builder *GwCommonBuilder) ReportTime(reportTime string) *GwCommonBuilder
上报时间戳(单位:纳秒)
示例值:1694164396263769182
func (*GwCommonBuilder) RequestId ¶
func (builder *GwCommonBuilder) RequestId(requestId string) *GwCommonBuilder
请求标识
示例值:dd8300ae-0f93-4a5f-8638-0051e76502d6
func (*GwCommonBuilder) SessionUuid ¶
func (builder *GwCommonBuilder) SessionUuid(sessionUuid string) *GwCommonBuilder
session唯一id
示例值:AAAAAAAAAANkfVio7oAAFA==
func (*GwCommonBuilder) TerminalType ¶
func (builder *GwCommonBuilder) TerminalType(terminalType string) *GwCommonBuilder
终端类型
示例值:1
func (*GwCommonBuilder) UserId ¶
func (builder *GwCommonBuilder) UserId(userId *UserId) *GwCommonBuilder
用户ID
示例值:
type GwRequest ¶
type GwRequest struct { Host *string `json:"host,omitempty"` // 域名 Path *string `json:"path,omitempty"` // 请求路径 PathParams []*Param `json:"path_params,omitempty"` // 路径中的参数 Query *string `json:"query,omitempty"` // 请求经网关解析后的query参数 Method *string `json:"method,omitempty"` // 请求方法 UserAgent *string `json:"user_agent,omitempty"` // 访问用户代理字段 ClientIp *string `json:"client_ip,omitempty"` // 来源页面地址 Referer *string `json:"referer,omitempty"` // referer防盗链 Origin *string `json:"origin,omitempty"` // 来源页面域名 Header *string `json:"header,omitempty"` // 请求头 }
type GwRequestBuilder ¶
type GwRequestBuilder struct {
// contains filtered or unexported fields
}
func NewGwRequestBuilder ¶
func NewGwRequestBuilder() *GwRequestBuilder
func (*GwRequestBuilder) Build ¶
func (builder *GwRequestBuilder) Build() *GwRequest
func (*GwRequestBuilder) ClientIp ¶
func (builder *GwRequestBuilder) ClientIp(clientIp string) *GwRequestBuilder
来源页面地址
示例值:fdbd:ff1:ce00:8028::1969
func (*GwRequestBuilder) Header ¶
func (builder *GwRequestBuilder) Header(header string) *GwRequestBuilder
请求头
示例值:{\"x-lgw-locale\": [\"en-US\"], \"x-lgw-app-version\": null}
func (*GwRequestBuilder) Host ¶
func (builder *GwRequestBuilder) Host(host string) *GwRequestBuilder
域名
示例值:bytedance.feishu.net
func (*GwRequestBuilder) Method ¶
func (builder *GwRequestBuilder) Method(method string) *GwRequestBuilder
请求方法
示例值:GET
func (*GwRequestBuilder) Origin ¶
func (builder *GwRequestBuilder) Origin(origin string) *GwRequestBuilder
来源页面域名
func (*GwRequestBuilder) Path ¶
func (builder *GwRequestBuilder) Path(path string) *GwRequestBuilder
请求路径
示例值:/space/api/msg_box/get_version
func (*GwRequestBuilder) PathParams ¶
func (builder *GwRequestBuilder) PathParams(pathParams []*Param) *GwRequestBuilder
路径中的参数
示例值:
func (*GwRequestBuilder) Query ¶
func (builder *GwRequestBuilder) Query(query string) *GwRequestBuilder
请求经网关解析后的query参数
示例值:{\"docx_synced_block_host_token\":[\"T7lCdrCcsrAH8oxmLfRbn4GecWf\"],\"docx_synced_block_host_type\":[\"22\"]}
func (*GwRequestBuilder) Referer ¶
func (builder *GwRequestBuilder) Referer(referer string) *GwRequestBuilder
referer防盗链
示例值:https://bytedance.feishu.net/docx/<encryptToken>45c200080eea138771be507263e4c9930939c279?v=1.0.11.8737&vdx=1.0.9.4444
func (*GwRequestBuilder) UserAgent ¶
func (builder *GwRequestBuilder) UserAgent(userAgent string) *GwRequestBuilder
访问用户代理字段
示例值:Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36
type GwResponse ¶
type GwResponseBuilder ¶
type GwResponseBuilder struct {
// contains filtered or unexported fields
}
func NewGwResponseBuilder ¶
func NewGwResponseBuilder() *GwResponseBuilder
func (*GwResponseBuilder) Build ¶
func (builder *GwResponseBuilder) Build() *GwResponse
func (*GwResponseBuilder) Header ¶
func (builder *GwResponseBuilder) Header(header string) *GwResponseBuilder
返回头
示例值:{\"Vary\": [\"gzip\"]}
func (*GwResponseBuilder) StatusCode ¶
func (builder *GwResponseBuilder) StatusCode(statusCode int) *GwResponseBuilder
HTTP响应状态码
示例值:404
type KeyPersonBuilder ¶
type KeyPersonBuilder struct {
// contains filtered or unexported fields
}
func NewKeyPersonBuilder ¶
func NewKeyPersonBuilder() *KeyPersonBuilder
func (*KeyPersonBuilder) AvatarUrl ¶
func (builder *KeyPersonBuilder) AvatarUrl(avatarUrl string) *KeyPersonBuilder
头像图片链接
func (*KeyPersonBuilder) Build ¶
func (builder *KeyPersonBuilder) Build() *KeyPerson
func (*KeyPersonBuilder) Email ¶
func (builder *KeyPersonBuilder) Email(email string) *KeyPersonBuilder
邮箱地址
示例值:xxx@xxx.com
func (*KeyPersonBuilder) KeyPersonId ¶
func (builder *KeyPersonBuilder) KeyPersonId(keyPersonId string) *KeyPersonBuilder
高管的用户ID
示例值:u28c128c
func (*KeyPersonBuilder) Name ¶
func (builder *KeyPersonBuilder) Name(name string) *KeyPersonBuilder
用户姓名
示例值:某人
type ListDataOpenapiLogReq ¶
type ListDataOpenapiLogReq struct { ListOpenapiLogRequest *ListOpenapiLogRequest `body:""` // contains filtered or unexported fields }
type ListDataOpenapiLogReqBuilder ¶
type ListDataOpenapiLogReqBuilder struct {
// contains filtered or unexported fields
}
func NewListDataOpenapiLogReqBuilder ¶
func NewListDataOpenapiLogReqBuilder() *ListDataOpenapiLogReqBuilder
func (*ListDataOpenapiLogReqBuilder) Build ¶
func (builder *ListDataOpenapiLogReqBuilder) Build() *ListDataOpenapiLogReq
func (*ListDataOpenapiLogReqBuilder) ListOpenapiLogRequest ¶
func (builder *ListDataOpenapiLogReqBuilder) ListOpenapiLogRequest(listOpenapiLogRequest *ListOpenapiLogRequest) *ListDataOpenapiLogReqBuilder
type ListDataOpenapiLogResp ¶
type ListDataOpenapiLogResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *ListDataOpenapiLogRespData `json:"data"` // 业务数据 }
func (*ListDataOpenapiLogResp) Success ¶
func (resp *ListDataOpenapiLogResp) Success() bool
type ListDataOpenapiLogRespData ¶
type ListDataOpenapiLogRespData struct { Items []*OpenapiLog `json:"items,omitempty"` // openapi日志列表 PageToken *string `json:"page_token,omitempty"` // 分页标记 HasMore *bool `json:"has_more,omitempty"` // 是否有更多数据 }
type ListOpenapiLogRequest ¶
type ListOpenapiLogRequest struct { ApiKeys []string `json:"api_keys,omitempty"` // 飞书开放平台定义的API StartTime *int `json:"start_time,omitempty"` // 以秒为单位的起始时间戳 EndTime *int `json:"end_time,omitempty"` // 以秒为单位的终止时间戳 AppId *string `json:"app_id,omitempty"` // 在开发者后台——凭证与基础信息页面查看的app_id(cli_xxx),指调用openapi的应用 PageSize *int `json:"page_size,omitempty"` // 分页大小 PageToken *string `json:"page_token,omitempty"` // 分页标记,第一次请求不填,表示从头开始遍历;当返回的has_more为true时,会返回新的page_token,再次调用接口,传入这个page_token,将获得下一页数据 }
type ListOpenapiLogRequestBuilder ¶
type ListOpenapiLogRequestBuilder struct {
// contains filtered or unexported fields
}
func NewListOpenapiLogRequestBuilder ¶
func NewListOpenapiLogRequestBuilder() *ListOpenapiLogRequestBuilder
func (*ListOpenapiLogRequestBuilder) ApiKeys ¶
func (builder *ListOpenapiLogRequestBuilder) ApiKeys(apiKeys []string) *ListOpenapiLogRequestBuilder
飞书开放平台定义的API
示例值:
func (*ListOpenapiLogRequestBuilder) AppId ¶
func (builder *ListOpenapiLogRequestBuilder) AppId(appId string) *ListOpenapiLogRequestBuilder
在开发者后台——凭证与基础信息页面查看的app_id(cli_xxx),指调用openapi的应用
示例值:cli_xxx
func (*ListOpenapiLogRequestBuilder) Build ¶
func (builder *ListOpenapiLogRequestBuilder) Build() *ListOpenapiLogRequest
func (*ListOpenapiLogRequestBuilder) EndTime ¶
func (builder *ListOpenapiLogRequestBuilder) EndTime(endTime int) *ListOpenapiLogRequestBuilder
以秒为单位的终止时间戳
示例值:1610613336
func (*ListOpenapiLogRequestBuilder) PageSize ¶
func (builder *ListOpenapiLogRequestBuilder) PageSize(pageSize int) *ListOpenapiLogRequestBuilder
分页大小
示例值:20
func (*ListOpenapiLogRequestBuilder) PageToken ¶
func (builder *ListOpenapiLogRequestBuilder) PageToken(pageToken string) *ListOpenapiLogRequestBuilder
分页标记,第一次请求不填,表示从头开始遍历;当返回的has_more为true时,会返回新的page_token,再次调用接口,传入这个page_token,将获得下一页数据
示例值:xxx
func (*ListOpenapiLogRequestBuilder) StartTime ¶
func (builder *ListOpenapiLogRequestBuilder) StartTime(startTime int) *ListOpenapiLogRequestBuilder
以秒为单位的起始时间戳
示例值:1610613336
type Message ¶
type Message struct { OpenMessageId *string `json:"open_message_id,omitempty"` // 消息ID(open_message_id) Text *string `json:"text,omitempty"` // 文本内容 OpenChatId *string `json:"open_chat_id,omitempty"` // 会话ID(open_chat_id) ChatName *string `json:"chat_name,omitempty"` // 会话名称 ChatType *int `json:"chat_type,omitempty"` // 会话类型 Owner *User `json:"owner,omitempty"` // 消息发送人 CreateTime *string `json:"create_time,omitempty"` // 创建时间(秒级时间戳) }
type MessageBuilder ¶
type MessageBuilder struct {
// contains filtered or unexported fields
}
func NewMessageBuilder ¶
func NewMessageBuilder() *MessageBuilder
func (*MessageBuilder) Build ¶
func (builder *MessageBuilder) Build() *Message
func (*MessageBuilder) ChatName ¶
func (builder *MessageBuilder) ChatName(chatName string) *MessageBuilder
会话名称
示例值:xx与xx的聊天
func (*MessageBuilder) ChatType ¶
func (builder *MessageBuilder) ChatType(chatType int) *MessageBuilder
会话类型
示例值:1
func (*MessageBuilder) CreateTime ¶
func (builder *MessageBuilder) CreateTime(createTime string) *MessageBuilder
创建时间(秒级时间戳)
示例值:
func (*MessageBuilder) OpenChatId ¶
func (builder *MessageBuilder) OpenChatId(openChatId string) *MessageBuilder
会话ID(open_chat_id)
示例值:oc_xxx
func (*MessageBuilder) OpenMessageId ¶
func (builder *MessageBuilder) OpenMessageId(openMessageId string) *MessageBuilder
消息ID(open_message_id)
示例值:om_xxx
func (*MessageBuilder) Owner ¶
func (builder *MessageBuilder) Owner(owner *User) *MessageBuilder
消息发送人
示例值:
func (*MessageBuilder) Text ¶
func (builder *MessageBuilder) Text(text string) *MessageBuilder
文本内容
示例值:聊天记录
type MigrationEntity ¶ added in v3.0.34
type MigrationEntity struct { Id *string `json:"id,omitempty"` // 迁移的实体 id Location *string `json:"location,omitempty"` // 实体的数据驻留地 Type *string `json:"type,omitempty"` // 实体的类型 CreatorId *string `json:"creator_id,omitempty"` // 创建者的 id CreatorType *string `json:"creator_type,omitempty"` // 创建者的类型 CreateTime *string `json:"create_time,omitempty"` // 实体创建时间(毫秒级时间戳) MailAddress *string `json:"mail_address,omitempty"` // 实体类型为 mailbox 时,返回 mail address,如果没有,则返回空 }
type MigrationEntityBuilder ¶ added in v3.0.34
type MigrationEntityBuilder struct {
// contains filtered or unexported fields
}
func NewMigrationEntityBuilder ¶ added in v3.0.34
func NewMigrationEntityBuilder() *MigrationEntityBuilder
func (*MigrationEntityBuilder) Build ¶ added in v3.0.34
func (builder *MigrationEntityBuilder) Build() *MigrationEntity
func (*MigrationEntityBuilder) CreateTime ¶ added in v3.0.34
func (builder *MigrationEntityBuilder) CreateTime(createTime string) *MigrationEntityBuilder
实体创建时间(毫秒级时间戳)
示例值:1615380573411
func (*MigrationEntityBuilder) CreatorId ¶ added in v3.0.34
func (builder *MigrationEntityBuilder) CreatorId(creatorId string) *MigrationEntityBuilder
创建者的 id
示例值:4443c580712544
func (*MigrationEntityBuilder) CreatorType ¶ added in v3.0.34
func (builder *MigrationEntityBuilder) CreatorType(creatorType string) *MigrationEntityBuilder
创建者的类型
示例值:user
func (*MigrationEntityBuilder) Id ¶ added in v3.0.34
func (builder *MigrationEntityBuilder) Id(id string) *MigrationEntityBuilder
迁移的实体 id
示例值:43c58071254443c580712544
func (*MigrationEntityBuilder) Location ¶ added in v3.0.34
func (builder *MigrationEntityBuilder) Location(location string) *MigrationEntityBuilder
实体的数据驻留地
示例值:SG
func (*MigrationEntityBuilder) MailAddress ¶ added in v3.0.34
func (builder *MigrationEntityBuilder) MailAddress(mailAddress string) *MigrationEntityBuilder
实体类型为 mailbox 时,返回 mail address,如果没有,则返回空
示例值:xxx@xxx.xx
func (*MigrationEntityBuilder) Type ¶ added in v3.0.34
func (builder *MigrationEntityBuilder) Type(type_ string) *MigrationEntityBuilder
实体的类型
示例值:sheets
type MigrationItems ¶ added in v3.0.34
type MigrationItems struct { TaskId *string `json:"task_id,omitempty"` // 迁移任务的 id TaskStatus *string `json:"task_status,omitempty"` // 任务状态 Entity *MigrationEntity `json:"entity,omitempty"` // 实体。当 entity 因为物理删除等原因找不到了,则不返回 entity 这个 obejct。 Message *string `json:"message,omitempty"` // 只有当 task status 为 stop 时,返回 entity 找不到的信息。 }
type MigrationItemsBuilder ¶ added in v3.0.34
type MigrationItemsBuilder struct {
// contains filtered or unexported fields
}
func NewMigrationItemsBuilder ¶ added in v3.0.34
func NewMigrationItemsBuilder() *MigrationItemsBuilder
func (*MigrationItemsBuilder) Build ¶ added in v3.0.34
func (builder *MigrationItemsBuilder) Build() *MigrationItems
func (*MigrationItemsBuilder) Entity ¶ added in v3.0.34
func (builder *MigrationItemsBuilder) Entity(entity *MigrationEntity) *MigrationItemsBuilder
实体。当 entity 因为物理删除等原因找不到了,则不返回 entity 这个 obejct。
示例值:
func (*MigrationItemsBuilder) Message ¶ added in v3.0.34
func (builder *MigrationItemsBuilder) Message(message string) *MigrationItemsBuilder
只有当 task status 为 stop 时,返回 entity 找不到的信息。
示例值:Entity not exist.
func (*MigrationItemsBuilder) TaskId ¶ added in v3.0.34
func (builder *MigrationItemsBuilder) TaskId(taskId string) *MigrationItemsBuilder
迁移任务的 id
示例值:DUoTvpjqEMgzaDU5CmfpPhx2ncp8nh+EGtQtXXQDiBdxp7QBYwI55YnfCM7Pmoxirb9V8k9CMaqLESoXLX7ny7qj7mNlbhHBMcvzsuemDpSN5aF9TmzNEJHtcmtEfdCr
func (*MigrationItemsBuilder) TaskStatus ¶ added in v3.0.34
func (builder *MigrationItemsBuilder) TaskStatus(taskStatus string) *MigrationItemsBuilder
任务状态
示例值:create
type Notification ¶
type NotificationBuilder ¶
type NotificationBuilder struct {
// contains filtered or unexported fields
}
func NewNotificationBuilder ¶
func NewNotificationBuilder() *NotificationBuilder
func (*NotificationBuilder) Build ¶
func (builder *NotificationBuilder) Build() *Notification
func (*NotificationBuilder) Content ¶
func (builder *NotificationBuilder) Content(content string) *NotificationBuilder
通知内容
示例值:
func (*NotificationBuilder) IdempotentKey ¶
func (builder *NotificationBuilder) IdempotentKey(idempotentKey string) *NotificationBuilder
幂等建
示例值:0cbd65e0-c7ab-4e9f-a80c-be29dd21df8f
type OpenapiLog ¶
type OpenapiLog struct { Id *string `json:"id,omitempty"` // openapi日志唯一标识 ApiKey *string `json:"api_key,omitempty"` // 飞书开放平台定义的API EventTime *int `json:"event_time,omitempty"` // 日志产生的时间,以秒为单位的时间戳 AppId *string `json:"app_id,omitempty"` // 在开发者后台——凭证与基础信息页面查看的app_id(cli_xxxxx) Ip *string `json:"ip,omitempty"` // 发起调用api的ip地址 LogDetail *OpenapiLogDetail `json:"log_detail,omitempty"` // openapi调用日志详情 }
type OpenapiLogBuilder ¶
type OpenapiLogBuilder struct {
// contains filtered or unexported fields
}
func NewOpenapiLogBuilder ¶
func NewOpenapiLogBuilder() *OpenapiLogBuilder
func (*OpenapiLogBuilder) ApiKey ¶
func (builder *OpenapiLogBuilder) ApiKey(apiKey string) *OpenapiLogBuilder
飞书开放平台定义的API
示例值:POST/open-apis/demo/v1/example
func (*OpenapiLogBuilder) AppId ¶
func (builder *OpenapiLogBuilder) AppId(appId string) *OpenapiLogBuilder
在开发者后台——凭证与基础信息页面查看的app_id(cli_xxxxx)
示例值:cli_xxx
func (*OpenapiLogBuilder) Build ¶
func (builder *OpenapiLogBuilder) Build() *OpenapiLog
func (*OpenapiLogBuilder) EventTime ¶
func (builder *OpenapiLogBuilder) EventTime(eventTime int) *OpenapiLogBuilder
日志产生的时间,以秒为单位的时间戳
示例值:1610613336
func (*OpenapiLogBuilder) Id ¶
func (builder *OpenapiLogBuilder) Id(id string) *OpenapiLogBuilder
openapi日志唯一标识
示例值:10000
func (*OpenapiLogBuilder) Ip ¶
func (builder *OpenapiLogBuilder) Ip(ip string) *OpenapiLogBuilder
发起调用api的ip地址
示例值:192.123.12.1或fdbd:ff1:ce00:135:c7e:d128:5028:6546
func (*OpenapiLogBuilder) LogDetail ¶
func (builder *OpenapiLogBuilder) LogDetail(logDetail *OpenapiLogDetail) *OpenapiLogBuilder
openapi调用日志详情
示例值:
type OpenapiLogDetail ¶
type OpenapiLogDetail struct { Path *string `json:"path,omitempty"` // http请求路径 Method *string `json:"method,omitempty"` // http请求方法 QueryParam *string `json:"query_param,omitempty"` // http查询参数 Payload *string `json:"payload,omitempty"` // http请求体 StatusCode *int `json:"status_code,omitempty"` // http状态码 Response *string `json:"response,omitempty"` // http响应体,仅返回code,msg,error信息等 }
type OpenapiLogDetailBuilder ¶
type OpenapiLogDetailBuilder struct {
// contains filtered or unexported fields
}
func NewOpenapiLogDetailBuilder ¶
func NewOpenapiLogDetailBuilder() *OpenapiLogDetailBuilder
func (*OpenapiLogDetailBuilder) Build ¶
func (builder *OpenapiLogDetailBuilder) Build() *OpenapiLogDetail
func (*OpenapiLogDetailBuilder) Method ¶
func (builder *OpenapiLogDetailBuilder) Method(method string) *OpenapiLogDetailBuilder
http请求方法
示例值:POST
func (*OpenapiLogDetailBuilder) Path ¶
func (builder *OpenapiLogDetailBuilder) Path(path string) *OpenapiLogDetailBuilder
http请求路径
示例值:/open-apis/demo/v1/example
func (*OpenapiLogDetailBuilder) Payload ¶
func (builder *OpenapiLogDetailBuilder) Payload(payload string) *OpenapiLogDetailBuilder
http请求体
示例值:{\"param1\": \"val1\", \"param2\": \"val2\"}
func (*OpenapiLogDetailBuilder) QueryParam ¶
func (builder *OpenapiLogDetailBuilder) QueryParam(queryParam string) *OpenapiLogDetailBuilder
http查询参数
示例值:{}
func (*OpenapiLogDetailBuilder) Response ¶
func (builder *OpenapiLogDetailBuilder) Response(response string) *OpenapiLogDetailBuilder
http响应体,仅返回code,msg,error信息等
示例值:{\"code\": 0, \"msg\": \"ok\"}
func (*OpenapiLogDetailBuilder) StatusCode ¶
func (builder *OpenapiLogDetailBuilder) StatusCode(statusCode int) *OpenapiLogDetailBuilder
http状态码
示例值:0
type ParamBuilder ¶
type ParamBuilder struct {
// contains filtered or unexported fields
}
func NewParamBuilder ¶
func NewParamBuilder() *ParamBuilder
func (*ParamBuilder) Build ¶
func (builder *ParamBuilder) Build() *Param
func (*ParamBuilder) Value ¶
func (builder *ParamBuilder) Value(value string) *ParamBuilder
value
示例值:12345
type SecurityLogError ¶
type SecurityLogError struct { Request *GwRequest `json:"request,omitempty"` // 请求体 Response *GwResponse `json:"response,omitempty"` // 响应体 Common *GwCommon `json:"common,omitempty"` // 通用参数 }
type SecurityLogErrorBuilder ¶
type SecurityLogErrorBuilder struct {
// contains filtered or unexported fields
}
func NewSecurityLogErrorBuilder ¶
func NewSecurityLogErrorBuilder() *SecurityLogErrorBuilder
func (*SecurityLogErrorBuilder) Build ¶
func (builder *SecurityLogErrorBuilder) Build() *SecurityLogError
func (*SecurityLogErrorBuilder) Common ¶
func (builder *SecurityLogErrorBuilder) Common(common *GwCommon) *SecurityLogErrorBuilder
通用参数
示例值:
func (*SecurityLogErrorBuilder) Request ¶
func (builder *SecurityLogErrorBuilder) Request(request *GwRequest) *SecurityLogErrorBuilder
请求体
示例值:
func (*SecurityLogErrorBuilder) Response ¶
func (builder *SecurityLogErrorBuilder) Response(response *GwResponse) *SecurityLogErrorBuilder
响应体
示例值:
type SimpleUser ¶
type SimpleUserBuilder ¶
type SimpleUserBuilder struct {
// contains filtered or unexported fields
}
func NewSimpleUserBuilder ¶
func NewSimpleUserBuilder() *SimpleUserBuilder
func (*SimpleUserBuilder) Build ¶
func (builder *SimpleUserBuilder) Build() *SimpleUser
func (*SimpleUserBuilder) Id ¶
func (builder *SimpleUserBuilder) Id(id string) *SimpleUserBuilder
用户id
示例值:
func (*SimpleUserBuilder) Name ¶
func (builder *SimpleUserBuilder) Name(name string) *SimpleUserBuilder
用户名
示例值:
type TaskStatus ¶
type TaskStatusBuilder ¶
type TaskStatusBuilder struct {
// contains filtered or unexported fields
}
func NewTaskStatusBuilder ¶
func NewTaskStatusBuilder() *TaskStatusBuilder
func (*TaskStatusBuilder) Build ¶
func (builder *TaskStatusBuilder) Build() *TaskStatus
func (*TaskStatusBuilder) FailureReason ¶
func (builder *TaskStatusBuilder) FailureReason(failureReason string) *TaskStatusBuilder
任务失败原因
示例值:
func (*TaskStatusBuilder) StatusCode ¶
func (builder *TaskStatusBuilder) StatusCode(statusCode int) *TaskStatusBuilder
任务状态码
示例值:
type Tenant ¶
type Tenant struct {
AvailableGeoLocations []string `json:"available_geo_locations,omitempty"` // 可选多地理位置列表
}
type TenantBuilder ¶
type TenantBuilder struct {
// contains filtered or unexported fields
}
func NewTenantBuilder ¶
func NewTenantBuilder() *TenantBuilder
func (*TenantBuilder) AvailableGeoLocations ¶
func (builder *TenantBuilder) AvailableGeoLocations(availableGeoLocations []string) *TenantBuilder
可选多地理位置列表
示例值:["cn", "sg", "us", "jp"]
func (*TenantBuilder) Build ¶
func (builder *TenantBuilder) Build() *Tenant
type TenantThirdPartyEncryptionApp ¶
type TenantThirdPartyEncryptionApp struct { VendorName *string `json:"vendor_name,omitempty"` // 加密服务提供商的名字 Status *int `json:"status,omitempty"` // 服务状态 ServiceStartTime *string `json:"service_start_time,omitempty"` // 服务开始时间(Unix秒级时间戳) ServiceEndTime *string `json:"service_end_time,omitempty"` // 服务结束时间(Unix秒级时间戳) Config *string `json:"config,omitempty"` // 服务商SDK需要的特化的SDK配置,status=1时必填 }
type TenantThirdPartyEncryptionAppBuilder ¶
type TenantThirdPartyEncryptionAppBuilder struct {
// contains filtered or unexported fields
}
func NewTenantThirdPartyEncryptionAppBuilder ¶
func NewTenantThirdPartyEncryptionAppBuilder() *TenantThirdPartyEncryptionAppBuilder
func (*TenantThirdPartyEncryptionAppBuilder) Build ¶
func (builder *TenantThirdPartyEncryptionAppBuilder) Build() *TenantThirdPartyEncryptionApp
func (*TenantThirdPartyEncryptionAppBuilder) Config ¶
func (builder *TenantThirdPartyEncryptionAppBuilder) Config(config string) *TenantThirdPartyEncryptionAppBuilder
服务商SDK需要的特化的SDK配置,status=1时必填
示例值:
func (*TenantThirdPartyEncryptionAppBuilder) ServiceEndTime ¶
func (builder *TenantThirdPartyEncryptionAppBuilder) ServiceEndTime(serviceEndTime string) *TenantThirdPartyEncryptionAppBuilder
服务结束时间(Unix秒级时间戳)
示例值:1684944000
func (*TenantThirdPartyEncryptionAppBuilder) ServiceStartTime ¶
func (builder *TenantThirdPartyEncryptionAppBuilder) ServiceStartTime(serviceStartTime string) *TenantThirdPartyEncryptionAppBuilder
服务开始时间(Unix秒级时间戳)
示例值:1653473995
func (*TenantThirdPartyEncryptionAppBuilder) Status ¶
func (builder *TenantThirdPartyEncryptionAppBuilder) Status(status int) *TenantThirdPartyEncryptionAppBuilder
服务状态
示例值:1
func (*TenantThirdPartyEncryptionAppBuilder) VendorName ¶
func (builder *TenantThirdPartyEncryptionAppBuilder) VendorName(vendorName string) *TenantThirdPartyEncryptionAppBuilder
加密服务提供商的名字
示例值:卫士通
type TimeRangeBuilder ¶
type TimeRangeBuilder struct {
// contains filtered or unexported fields
}
func NewTimeRangeBuilder ¶
func NewTimeRangeBuilder() *TimeRangeBuilder
func (*TimeRangeBuilder) Build ¶
func (builder *TimeRangeBuilder) Build() *TimeRange
func (*TimeRangeBuilder) End ¶
func (builder *TimeRangeBuilder) End(end string) *TimeRangeBuilder
结束时间(秒)
示例值:1645459199
func (*TimeRangeBuilder) Start ¶
func (builder *TimeRangeBuilder) Start(start string) *TimeRangeBuilder
开始时间(秒)
示例值:1644854400
type UserBuilder ¶
type UserBuilder struct {
// contains filtered or unexported fields
}
func NewUserBuilder ¶
func NewUserBuilder() *UserBuilder
func (*UserBuilder) AvatarUrl ¶
func (builder *UserBuilder) AvatarUrl(avatarUrl string) *UserBuilder
头像图片链接
func (*UserBuilder) Build ¶
func (builder *UserBuilder) Build() *User
func (*UserBuilder) Email ¶
func (builder *UserBuilder) Email(email string) *UserBuilder
邮箱地址
示例值:xxx@xxx.com
func (*UserBuilder) UserId ¶
func (builder *UserBuilder) UserId(userId string) *UserBuilder
用户ID
示例值:u28c128c
type UserIdBuilder ¶
type UserIdBuilder struct {
// contains filtered or unexported fields
}
func NewUserIdBuilder ¶
func NewUserIdBuilder() *UserIdBuilder
func (*UserIdBuilder) Build ¶
func (builder *UserIdBuilder) Build() *UserId
func (*UserIdBuilder) OpenId ¶
func (builder *UserIdBuilder) OpenId(openId string) *UserIdBuilder
示例值:
func (*UserIdBuilder) UnionId ¶
func (builder *UserIdBuilder) UnionId(unionId string) *UserIdBuilder
示例值:
func (*UserIdBuilder) UserId ¶
func (builder *UserIdBuilder) UserId(userId string) *UserIdBuilder
示例值:
type UserMigration ¶
type UserMigrationBuilder ¶
type UserMigrationBuilder struct {
// contains filtered or unexported fields
}
func NewUserMigrationBuilder ¶
func NewUserMigrationBuilder() *UserMigrationBuilder
func (*UserMigrationBuilder) Build ¶
func (builder *UserMigrationBuilder) Build() *UserMigration
func (*UserMigrationBuilder) DestGeo ¶
func (builder *UserMigrationBuilder) DestGeo(destGeo string) *UserMigrationBuilder
目标地理位置区域
示例值:
func (*UserMigrationBuilder) Progress ¶
func (builder *UserMigrationBuilder) Progress(progress int) *UserMigrationBuilder
用户迁移进度
示例值:
func (*UserMigrationBuilder) Status ¶
func (builder *UserMigrationBuilder) Status(status string) *UserMigrationBuilder
用户迁移状态
示例值:
func (*UserMigrationBuilder) TaskId ¶
func (builder *UserMigrationBuilder) TaskId(taskId string) *UserMigrationBuilder
最新迁移任务 id
示例值:
func (*UserMigrationBuilder) UserId ¶
func (builder *UserMigrationBuilder) UserId(userId string) *UserMigrationBuilder
用户 id
示例值:
type VaultExportFile ¶
type VaultExportFileBuilder ¶
type VaultExportFileBuilder struct {
// contains filtered or unexported fields
}
func NewVaultExportFileBuilder ¶
func NewVaultExportFileBuilder() *VaultExportFileBuilder
func (*VaultExportFileBuilder) Build ¶
func (builder *VaultExportFileBuilder) Build() *VaultExportFile
func (*VaultExportFileBuilder) DownloadUrl ¶
func (builder *VaultExportFileBuilder) DownloadUrl(downloadUrl string) *VaultExportFileBuilder
文件下载的链接(临时链接,数分钟后失效)
示例值:
func (*VaultExportFileBuilder) Name ¶
func (builder *VaultExportFileBuilder) Name(name string) *VaultExportFileBuilder
文件名
示例值:
func (*VaultExportFileBuilder) Size ¶
func (builder *VaultExportFileBuilder) Size(size string) *VaultExportFileBuilder
文件大小
示例值:
func (*VaultExportFileBuilder) Url ¶
func (builder *VaultExportFileBuilder) Url(url string) *VaultExportFileBuilder
文件tos uri
示例值:
type VaultTask ¶
type VaultTask struct { TaskId *string `json:"task_id,omitempty"` // 任务id Name *string `json:"name,omitempty"` // 任务名 Size *string `json:"size,omitempty"` // 任务文件总大小 ValidDays *int `json:"valid_days,omitempty"` // 任务有效天数 CreateTime *string `json:"create_time,omitempty"` // 任务创建时间戳 ExtractKey *string `json:"extract_key,omitempty"` // 文件包解压密码 Creator *SimpleUser `json:"creator,omitempty"` // 任务创建者 Files []*VaultExportFile `json:"files,omitempty"` // 导出任务文件列表 Status *TaskStatus `json:"status,omitempty"` // 导出任务状态信息 }
type VaultTaskBuilder ¶
type VaultTaskBuilder struct {
// contains filtered or unexported fields
}
func NewVaultTaskBuilder ¶
func NewVaultTaskBuilder() *VaultTaskBuilder
func (*VaultTaskBuilder) Build ¶
func (builder *VaultTaskBuilder) Build() *VaultTask
func (*VaultTaskBuilder) CreateTime ¶
func (builder *VaultTaskBuilder) CreateTime(createTime string) *VaultTaskBuilder
任务创建时间戳
示例值:
func (*VaultTaskBuilder) Creator ¶
func (builder *VaultTaskBuilder) Creator(creator *SimpleUser) *VaultTaskBuilder
任务创建者
示例值:
func (*VaultTaskBuilder) ExtractKey ¶
func (builder *VaultTaskBuilder) ExtractKey(extractKey string) *VaultTaskBuilder
文件包解压密码
示例值:
func (*VaultTaskBuilder) Files ¶
func (builder *VaultTaskBuilder) Files(files []*VaultExportFile) *VaultTaskBuilder
导出任务文件列表
示例值:
func (*VaultTaskBuilder) Name ¶
func (builder *VaultTaskBuilder) Name(name string) *VaultTaskBuilder
任务名
示例值:
func (*VaultTaskBuilder) Size ¶
func (builder *VaultTaskBuilder) Size(size string) *VaultTaskBuilder
任务文件总大小
示例值:
func (*VaultTaskBuilder) Status ¶
func (builder *VaultTaskBuilder) Status(status *TaskStatus) *VaultTaskBuilder
导出任务状态信息
示例值:
func (*VaultTaskBuilder) TaskId ¶
func (builder *VaultTaskBuilder) TaskId(taskId string) *VaultTaskBuilder
任务id
示例值:
func (*VaultTaskBuilder) ValidDays ¶
func (builder *VaultTaskBuilder) ValidDays(validDays int) *VaultTaskBuilder
任务有效天数
示例值: