forked from huaweicloud/huaweicloud-sdk-go
/
urls.go
23 lines (18 loc) · 1.05 KB
/
urls.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package realnameauth
import "github.com/gophercloud/gophercloud"
//POST /v1.0/{partner_id}/partner/customer-mgr/realname-auth/individual
func getIndividualRealNameAuthURL(client *gophercloud.ServiceClient, domainId string) string {
return client.ServiceURL(domainId, "partner/customer-mgr/realname-auth/individual")
}
//POST /v1.0/{partner_id}/partner/customer-mgr/realname-auth/enterprise
func getEnterpriseRealNameAuthURL(client *gophercloud.ServiceClient, domainId string) string {
return client.ServiceURL(domainId, "partner/customer-mgr/realname-auth/enterprise")
}
//GET /v1.0/{partner_id}/partner/customer-mgr/realname-auth/result
func getQueryRealNameAuthURL(client *gophercloud.ServiceClient, domainId string) string {
return client.ServiceURL(domainId, "partner/customer-mgr/realname-auth/result")
}
//PUT /v1.0/{partner_id}/partner/customer-mgr/realname-auth/enterprise
func getChangeEnterpriseRealNameAuthURL(client *gophercloud.ServiceClient, domainId string) string {
return client.ServiceURL(domainId, "partner/customer-mgr/realname-auth/enterprise")
}