/
response_types.go
193 lines (158 loc) · 7.01 KB
/
response_types.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
//go:build go1.18
// +build go1.18
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
// Code generated by Microsoft (R) AutoRest Code Generator. DO NOT EDIT.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
package armreservations
import "encoding/json"
// AzureReservationAPIClientGetAppliedReservationListResponse contains the response from method AzureReservationAPIClient.GetAppliedReservationList.
type AzureReservationAPIClientGetAppliedReservationListResponse struct {
// The response for applied reservations api
AppliedReservations
}
// AzureReservationAPIClientGetCatalogResponse contains the response from method AzureReservationAPIClient.NewGetCatalogPager.
type AzureReservationAPIClientGetCatalogResponse struct {
// The list of catalogs and pagination information.
CatalogsResult
}
// CalculateExchangeClientPostResponse contains the response from method CalculateExchangeClient.BeginPost.
type CalculateExchangeClientPostResponse struct {
// CalculateExchange operation result
CalculateExchangeOperationResultResponse
}
// CalculateRefundClientPostResponse contains the response from method CalculateRefundClient.Post.
type CalculateRefundClientPostResponse struct {
// The response of calculate refund containing refund information of reservation
CalculateRefundResponse
}
// ExchangeClientPostResponse contains the response from method ExchangeClient.BeginPost.
type ExchangeClientPostResponse struct {
// Exchange operation result
ExchangeOperationResultResponse
}
// OperationClientListResponse contains the response from method OperationClient.NewListPager.
type OperationClientListResponse struct {
// Paginated list of operations
OperationList
}
// QuotaClientCreateOrUpdateResponse contains the response from method QuotaClient.BeginCreateOrUpdate.
type QuotaClientCreateOrUpdateResponse struct {
// Quota properties.
CurrentQuotaLimitBase
}
// QuotaClientGetResponse contains the response from method QuotaClient.Get.
type QuotaClientGetResponse struct {
// Quota properties.
CurrentQuotaLimitBase
// ETag contains the information returned from the ETag header response.
ETag *string
}
// QuotaClientListResponse contains the response from method QuotaClient.NewListPager.
type QuotaClientListResponse struct {
// Quota limits.
QuotaLimits
// ETag contains the information returned from the ETag header response.
ETag *string
}
// QuotaClientUpdateResponse contains the response from method QuotaClient.BeginUpdate.
type QuotaClientUpdateResponse struct {
// Quota properties.
CurrentQuotaLimitBase
}
// QuotaRequestStatusClientGetResponse contains the response from method QuotaRequestStatusClient.Get.
type QuotaRequestStatusClientGetResponse struct {
// Quota request details.
QuotaRequestDetails
}
// QuotaRequestStatusClientListResponse contains the response from method QuotaRequestStatusClient.NewListPager.
type QuotaRequestStatusClientListResponse struct {
// Quota request details.
QuotaRequestDetailsList
}
// ReservationClientArchiveResponse contains the response from method ReservationClient.Archive.
type ReservationClientArchiveResponse struct {
// placeholder for future response values
}
// ReservationClientAvailableScopesResponse contains the response from method ReservationClient.BeginAvailableScopes.
type ReservationClientAvailableScopesResponse struct {
// The response of available scope api containing scopes and their eligibilities.
AvailableScopeProperties
}
// ReservationClientGetResponse contains the response from method ReservationClient.Get.
type ReservationClientGetResponse struct {
// The definition of the reservation.
ReservationResponse
}
// ReservationClientListAllResponse contains the response from method ReservationClient.NewListAllPager.
type ReservationClientListAllResponse struct {
// The list of reservations and summary of roll out count of reservations in each state.
ListResult
}
// ReservationClientListResponse contains the response from method ReservationClient.NewListPager.
type ReservationClientListResponse struct {
// List of `Reservation`s
ReservationList
}
// ReservationClientListRevisionsResponse contains the response from method ReservationClient.NewListRevisionsPager.
type ReservationClientListRevisionsResponse struct {
// List of `Reservation`s
ReservationList
}
// ReservationClientMergeResponse contains the response from method ReservationClient.BeginMerge.
type ReservationClientMergeResponse struct {
// Array of ReservationResponse
ReservationResponseArray []*ReservationResponse
}
// UnmarshalJSON implements the json.Unmarshaller interface for type ReservationClientMergeResponse.
func (r *ReservationClientMergeResponse) UnmarshalJSON(data []byte) error {
return json.Unmarshal(data, &r.ReservationResponseArray)
}
// ReservationClientSplitResponse contains the response from method ReservationClient.BeginSplit.
type ReservationClientSplitResponse struct {
// Array of ReservationResponse
ReservationResponseArray []*ReservationResponse
}
// UnmarshalJSON implements the json.Unmarshaller interface for type ReservationClientSplitResponse.
func (r *ReservationClientSplitResponse) UnmarshalJSON(data []byte) error {
return json.Unmarshal(data, &r.ReservationResponseArray)
}
// ReservationClientUnarchiveResponse contains the response from method ReservationClient.Unarchive.
type ReservationClientUnarchiveResponse struct {
// placeholder for future response values
}
// ReservationClientUpdateResponse contains the response from method ReservationClient.BeginUpdate.
type ReservationClientUpdateResponse struct {
// The definition of the reservation.
ReservationResponse
}
// ReservationOrderClientCalculateResponse contains the response from method ReservationOrderClient.Calculate.
type ReservationOrderClientCalculateResponse struct {
// The response of calculate price for reservation.
CalculatePriceResponse
}
// ReservationOrderClientChangeDirectoryResponse contains the response from method ReservationOrderClient.ChangeDirectory.
type ReservationOrderClientChangeDirectoryResponse struct {
// Change directory response
ChangeDirectoryResponse
}
// ReservationOrderClientGetResponse contains the response from method ReservationOrderClient.Get.
type ReservationOrderClientGetResponse struct {
// Details of a reservation order being returned.
ReservationOrderResponse
}
// ReservationOrderClientListResponse contains the response from method ReservationOrderClient.NewListPager.
type ReservationOrderClientListResponse struct {
// List of `ReservationOrder`s
ReservationOrderList
}
// ReservationOrderClientPurchaseResponse contains the response from method ReservationOrderClient.BeginPurchase.
type ReservationOrderClientPurchaseResponse struct {
// Details of a reservation order being returned.
ReservationOrderResponse
}
// ReturnClientPostResponse contains the response from method ReturnClient.BeginPost.
type ReturnClientPostResponse struct {
// Details of a reservation order being returned.
ReservationOrderResponse
}