You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// set to true if you want the provider to cache the evaluation results
867
+
///
868
+
/// - Remark: Generated from `#/components/schemas/featureCaching/enabled`.
869
+
internalvarenabled:Swift.Bool?
870
+
/// number (in millisecond) to wait before invalidating the cache. If we have cacheInvalidation enabled, the cache can also be evicted if a configuration change happen.
871
+
///
872
+
/// - Remark: Generated from `#/components/schemas/featureCaching/ttl`.
873
+
internalvarttl:Swift.Double?
874
+
/// Creates a new `FeatureCaching`.
875
+
///
876
+
/// - Parameters:
877
+
/// - enabled: set to true if you want the provider to cache the evaluation results
878
+
/// - ttl: number (in millisecond) to wait before invalidating the cache. If we have cacheInvalidation enabled, the cache can also be evicted if a configuration change happen.
879
+
internalinit(
880
+
enabled:Swift.Bool?=nil,
881
+
ttl:Swift.Double?=nil
882
+
){
883
+
self.enabled = enabled
884
+
self.ttl = ttl
885
+
}
886
+
internalenumCodingKeys:String,CodingKey{
887
+
case enabled
888
+
case ttl
889
+
}
890
+
}
812
891
}
813
892
/// Types generated from the `#/components/parameters` section of the OpenAPI document.
814
893
internalenumParameters{}
@@ -885,12 +964,12 @@ internal enum Operations {
885
964
/// - Remark: Generated from `#/paths/ofrep/v1/evaluate/flags/{key}/POST/responses/200/content`.
886
965
internalenumBody:Sendable,Hashable{
887
966
/// - Remark: Generated from `#/paths/ofrep/v1/evaluate/flags/{key}/POST/responses/200/content/application\/json`.
888
-
case json(Components.Schemas.EvaluationSuccess)
967
+
case json(Components.Schemas.ServerEvaluationSuccess)
889
968
/// The associated value of the enum case if `self` is `.json`.
0 commit comments