Class CreateList
java.lang.Object
co.permify.sdk.model.CreateList
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class CreateList
extends Object
A list creation expression. Lists may either be homogenous, e.g. `[1, 2, 3]`, or heterogeneous, e.g. `dyn([1, 'hello', 2.0])`
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddElementsItem(Expr elementsItem) addOptionalIndicesItem(Integer optionalIndicesItem) booleanReturn true if this CreateList object is equal to o.The elements part of the list.The indices within the elements list which are marked as optional elements.inthashCode()optionalIndices(List<Integer> optionalIndices) voidsetElements(List<Expr> elements) voidsetOptionalIndices(List<Integer> optionalIndices) toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_ELEMENTS
- See Also:
-
JSON_PROPERTY_OPTIONAL_INDICES
- See Also:
-
-
Constructor Details
-
CreateList
public CreateList()
-
-
Method Details
-
elements
-
addElementsItem
-
getElements
-
setElements
-
optionalIndices
-
addOptionalIndicesItem
-
getOptionalIndices
The indices within the elements list which are marked as optional elements. When an optional-typed value is present, the value it contains is included in the list. If the optional-typed value is absent, the list element is omitted from the CreateList result.- Returns:
- optionalIndices
-
setOptionalIndices
-
equals
-
hashCode
-
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
-