mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-06-23 00:19:36 +08:00
32 lines
1.0 KiB
Go
32 lines
1.0 KiB
Go
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
// you may not use this file except in compliance with the License.
|
|
// You may obtain a copy of the License at
|
|
//
|
|
// http://www.apache.org/licenses/LICENSE-2.0
|
|
//
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
// See the License for the specific language governing permissions and
|
|
// limitations under the License.
|
|
|
|
// Code generated by model-api-gen. DO NOT EDIT.
|
|
|
|
package cloudprovider
|
|
|
|
// SGeographicInfo is an autogenerated struct via yunion.io/x/onecloud/pkg/cloudprovider.SGeographicInfo.
|
|
type SGeographicInfo struct {
|
|
// 纬度
|
|
// example: 26.647003
|
|
Latitude float32 `json:"latitude"`
|
|
// 经度
|
|
// example: 106.630211
|
|
Longitude float32 `json:"longitude"`
|
|
// 城市
|
|
// example: Guiyang
|
|
City string `json:"city"`
|
|
// 国家代码
|
|
// example: CN
|
|
CountryCode string `json:"country_code"`
|
|
}
|