github.com/morlay/goqcloud@v0.0.0-20181123023149-b00e0b0b9afc/clients/yunjing/create_usual_login_places.go (about) 1 package yunjing 2 3 import ( 4 github_com_morlay_goqcloud "github.com/morlay/goqcloud" 5 ) 6 7 // 添加常用登录地 8 // https://cloud.tencent.com/document/api/296/19846 9 10 type CreateUsualLoginPlacesRequest struct { 11 // 登录地域信息数组。 12 Places []*Place `name:"Places"` 13 // 区域 14 Region string `name:"Region"` 15 // 云镜客户端UUID数组。 16 Uuids []*string `name:"Uuids"` 17 } 18 19 func (req *CreateUsualLoginPlacesRequest) Invoke(client github_com_morlay_goqcloud.Client) (*CreateUsualLoginPlacesResponse, error) { 20 resp := &CreateUsualLoginPlacesResponse{} 21 err := client.Request("yunjing", "CreateUsualLoginPlaces", "2018-02-28").Do(req, resp) 22 return resp, err 23 } 24 25 type CreateUsualLoginPlacesResponse struct { 26 github_com_morlay_goqcloud.TencentCloudBaseResponse 27 }