diff --git a/fixed_plans_subscriptions_test.go b/fixed_plans_subscriptions_test.go index 0a34cd3..5220b18 100644 --- a/fixed_plans_subscriptions_test.go +++ b/fixed_plans_subscriptions_test.go @@ -69,6 +69,7 @@ const responseBody = ` "connections-limit" ], "customerSupport": "Standard", + "subscriptionId": 201010, "links": [] } ], @@ -152,6 +153,7 @@ func Test_Plans_Subscriptions_List(t *testing.T) { "latency", "connections-limit"), CustomerSupport: redis.String("Standard"), + SubscriptionID: redis.Int(201010), }, } assert.Equal(t, expectedResponse, actualResponse) diff --git a/service/fixed/plans/model.go b/service/fixed/plans/model.go index c75ec82..22afc0f 100644 --- a/service/fixed/plans/model.go +++ b/service/fixed/plans/model.go @@ -35,6 +35,7 @@ type GetPlanResponse struct { SupportClustering *bool `json:"supportClustering,omitempty"` SupportedAlerts []*string `json:"supportedAlerts,omitempty"` CustomerSupport *string `json:"customerSupport,omitempty"` + SubscriptionID *int `json:"subscriptionId,omitempty"` } func (o GetPlanResponse) String() string {