Class PercentScalar
- java.lang.Object
-
- ch.brix.gql.client.Scalar
-
- ch.brix.gql.client.frontify.scalars.PercentScalar
-
public class PercentScalar extends ch.brix.gql.client.ScalarRepresents an integer or a float value between `0` and `1`, corresponding to percentage values between 0% and 100% (both inclusive).
-
-
Method Summary
Modifier and Type Method Description static PercentScalarof(Object value)
-
-
-
Method Detail
-
of
public static PercentScalar of(Object value)
- Parameters:
value- requires correct implementation of .toString() otherwise pass a String
-
-