Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

类型定义不正确 #599

Closed
feeops opened this issue Aug 8, 2023 · 0 comments
Closed

类型定义不正确 #599

feeops opened this issue Aug 8, 2023 · 0 comments

Comments

@feeops
Copy link

feeops commented Aug 8, 2023

type DataInDescribeInstanceBill struct {
	BillingCycle string                        `json:"BillingCycle" xml:"BillingCycle"`
	AccountID    string                        `json:"AccountID" xml:"AccountID"`
	AccountName  string                        `json:"AccountName" xml:"AccountName"`
	TotalCount   int                           `json:"TotalCount" xml:"TotalCount"`
	NextToken    string                        `json:"NextToken" xml:"NextToken"`
	MaxResults   int                           `json:"MaxResults" xml:"MaxResults"`
	Items        []ItemsInDescribeInstanceBill `json:"Items" xml:"Items"`
}
// ItemsInDescribeInstanceBill is a nested struct in bssopenapi response
type ItemsInDescribeInstanceBill struct {
	Item []Item `json:"Item" xml:"Item"`
}

Items又嵌入Item,双层数组,不太对吧?

RiverDanceGit added a commit to RiverDanceGit/alibaba-cloud-sdk-go that referenced this issue Sep 30, 2023
yndu13 pushed a commit that referenced this issue Oct 9, 2023
@yndu13 yndu13 closed this as completed Oct 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants