github.com/chnsz/golangsdk@v0.0.0-20240506093406-85a3fbfa605b/openstack/meeting/v1/users/results.go (about) 1 package users 2 3 type User struct { 4 // Activation time, UTC timestamp. 5 ActiveTime int `json:"activeTime"` 6 // Administrator type. 7 // 0: default (super) admin 8 // 1: Ordinary administrator 9 // 2: Non-administrator (that is, an ordinary enterprise member, valid when UserType is 2) 10 AdminType int `json:"adminType"` 11 // Business registration information. 12 // This data is only returned when users query their own information. 13 Corp CorpBasicInfo `json:"corp"` 14 // The country to which the phone number belongs. 15 Country string `json:"country"` 16 // Department code. 17 DeptCode string `json:"deptCode"` 18 // Department name. 19 DeptName string `json:"deptName"` 20 // Department full name. 21 DeptNamePath string `json:"deptNamePath"` 22 // Description. 23 Description string `json:"desc"` 24 // Binding device type information. 25 DevType DeviceInfo `json:"devType"` 26 // Email. 27 Email string `json:"email"` 28 // English name. 29 EnglishName string `json:"englishName"` 30 // User function bits. 31 Function UserFunction `json:"function"` 32 // Whether to hide the phone number. 33 HidePhone bool `json:"hidePhone"` 34 // User ID. 35 ID string `json:"id"` 36 // License. 37 // 0: commercial; 38 // 1: Free trial. 39 License int `json:"license"` 40 // Name. 41 Name string `json:"name"` 42 // Phone number. 43 Phone string `json:"phone"` 44 // Signature. 45 Signature string `json:"signature"` 46 // SIP number. 47 SipNum string `json:"sipNum"` 48 // Address book sorting level, the lower the serial number, the higher the priority. 49 SortLevel int `json:"sortLevel"` 50 // user status. 51 // 0: normal; 52 // 1: Disable. 53 Status int `json:"status"` 54 // Third-party User ID. 55 ThirdAccount string `json:"thirdAccount"` 56 // Position (Title). 57 Title string `json:"title"` 58 // HUAWEI CLOUD conference user account. 59 UserAccount string `json:"userAccount"` 60 // User type. 61 // 2: Enterprise member account 62 UserType int `json:"userType"` 63 // Smart screen unique account. 64 VisionAccount string `json:"visionAccount"` 65 // Cloud meeting room list. 66 VmrList []UserVmr `json:"vmrList"` 67 } 68 69 type CorpBasicInfo struct { 70 // Administrator account. 71 Account string `json:"account"` 72 // business location. 73 Address string `json:"address"` 74 // Administrator name. 75 AdminName string `json:"adminName"` 76 // Whether to support automatic account opening. 77 AutoUserCreate bool `json:"autoUserCreate"` 78 // The country to which the administrator's phone belongs. 79 Country string `json:"country"` 80 // Administrator email. 81 Email string `json:"email"` 82 // Whether it has pstn function. 83 EnablePstn bool `json:"enablePstn"` 84 // Whether to send meeting notices via SMS. 85 EnableSMS bool `json:"enableSMS"` 86 // Corporation ID. 87 Id string `json:"id"` 88 // Corporation name. 89 Name string `json:"name"` 90 // Admin phone number. 91 Phone string `json:"phone"` 92 // Whether to open cloud disk. 93 EnableCloudDisk bool `json:"enableCloudDisk"` 94 // Type of corporation. 95 CorpType int `json:"corpType"` 96 } 97 98 type DeviceInfo struct { 99 // Equipment end product dimensions. 100 DeviceSize string `json:"deviceSize"` 101 // Terminal model. 102 Model string `json:"model"` 103 // Terminal equipment purchase channels. 104 PurchaseChannel string `json:"purchaseChannel"` 105 } 106 107 type UserVmr struct { 108 // The ID of the cloud meeting room. 109 // Corresponds to the vmrID in the create conference interface. 110 ID string `json:"id"` 111 // Fixed meeting ID of the cloud meeting room. 112 // Corresponds to the vmrConferenceID of the data returned by the Create Conference API. 113 VmrId string `json:"vmrId"` 114 // Cloud meeting room name. 115 VmrName string `json:"vmrName"` 116 // VMR mode. 117 // 0: Personal meeting ID 118 // 1: Cloud meeting room 119 // 2: Webinar 120 VmrMode int `json:"vmrMode"` 121 // The id of the cloud conference room package. Only cloud conference rooms are returned. 122 VmrPkgId string `json:"vmrPkgId"` 123 // The participation time of the cloud conference room package. 124 // If it is 0, it means unlimited time, and only the cloud conference room is returned. 125 VmrPkgLength int `json:"vmrPkgLength"` 126 // The name of the cloud conference room package. Only cloud conference rooms are returned. 127 VmrPkgName string `json:"vmrPkgName"` 128 // The number of concurrent parties in the cloud conference room package. 129 // Only the cloud conference room is returned. 130 VmrPkgParties int `json:"vmrPkgParties"` 131 // Cloud meeting room status. 132 // 0: normal 133 // 1: disable 134 // 2: unassigned 135 Status int `json:"status"` 136 } 137 138 type ErrResponse struct { 139 // Error code. 140 Code string `json:"error_code"` 141 // Error message. 142 Message string `json:"error_msg"` 143 // Request ID. 144 RequestId string `json:"request_id"` 145 }