See #79
A key state record field of kt or nt has a format of string | string[] from OpenAPI. The open API generator doesn't handle this very well, so the simplest solution for now is a custom deserializer and class to which we can cast.
Calling function will need to cast with (KtValue) to access getWeightedThreshold and getUnweightedThreshold. This is not very useful for the calling function as they won't know they need to do that.
Leaving as-is for now as it's lower priority.
See #79
A key state record field of
ktornthas a format ofstring | string[]from OpenAPI. The open API generator doesn't handle this very well, so the simplest solution for now is a custom deserializer and class to which we can cast.Calling function will need to cast with
(KtValue)to accessgetWeightedThresholdandgetUnweightedThreshold. This is not very useful for the calling function as they won't know they need to do that.Leaving as-is for now as it's lower priority.