Open displague opened 3 years ago
SpotMarketRequest embeds SpotMarketRequestCreateRequest which includes Parameters.
This makes it seem like smr.Parameters should be available, as in:
smr := client.SpotMarketRequest.Get(id, nil) fmt.Println(smr.Parameters.OperatingSystem)
However, this is not the case. Parameters is not returned by the API and should not be included in the SpotMarketRequest type.
Perhaps the API could be changed upstream to support this?
SpotMarketRequest embeds SpotMarketRequestCreateRequest which includes Parameters.
This makes it seem like smr.Parameters should be available, as in:
However, this is not the case. Parameters is not returned by the API and should not be included in the SpotMarketRequest type.
Perhaps the API could be changed upstream to support this?