Skip to content

Commit b669075

Browse files
authored
Fix BillingType field names (#94)
Fix BillingType field names Which issue this PR fixes Fix #93 Reviewed-by: Anton Sidelnikov <None> Reviewed-by: Rodion Gyrbu <fpsoff@outlook.com> Reviewed-by: None <None>
1 parent 4872ad7 commit b669075

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

openstack/cbr/v3/vaults/requests.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ type BillingCreate struct {
3636
Size int `json:"size"`
3737
// Billing mode. Possible values are `post_paid` (pay-per-use) or `pre_paid` (yearly/monthly packages).
3838
// The value defaults to post_paid.
39-
ChargindMode string `json:"chargind_mode,omitempty"`
39+
ChargingMode string `json:"charging_mode,omitempty"`
4040
// Package type. This parameter is mandatory if charging_mode is set to pre_paid.
4141
// Possible values are `year` (yearly) or `month`(monthly).
42-
PerionType string `json:"perion_type,omitempty"`
42+
PeriodType string `json:"period_type,omitempty"`
4343
// Required duration for the package. This parameter is mandatory if charging_mode is set to `pre_paid`.
4444
PeriodNum int `json:"period_num,omitempty"`
4545
// Whether to automatically renew the subscription after expiration. By default, it is not renewed.

0 commit comments

Comments
 (0)