Class TemplateList
-
- All Implemented Interfaces:
-
java.io.Serializable
@Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") public class TemplateList implements Serializable
List of `Template` objects
-
-
Field Summary
Fields Modifier and Type Field Description public final static String
JSON_PROPERTY_COLLECTION
public List<Template>
collection
public final static String
JSON_PROPERTY_METADATA
public ListPaginationMetadata
metadata
-
Constructor Summary
Constructors Constructor Description TemplateList()
-
Method Summary
Modifier and Type Method Description List<Template>
getCollection()
Get collection void
setCollection(List<Template> collection)
ListPaginationMetadata
getMetadata()
Get metadata void
setMetadata(ListPaginationMetadata metadata)
TemplateList
collection(List<Template> collection)
TemplateList
addCollectionItem(Template collectionItem)
TemplateList
metadata(ListPaginationMetadata metadata)
boolean
equals(Object o)
int
hashCode()
String
toString()
String
toUrlQueryString()
Convert the instance into URL query string. String
toUrlQueryString(String prefix)
Convert the instance into URL query string. -
-
Method Detail
-
getCollection
@Nonnull() List<Template> getCollection()
Get collection
- Returns:
collection
-
setCollection
void setCollection(List<Template> collection)
-
getMetadata
@Nullable() ListPaginationMetadata getMetadata()
Get metadata
- Returns:
metadata
-
setMetadata
void setMetadata(ListPaginationMetadata metadata)
-
collection
TemplateList collection(List<Template> collection)
-
addCollectionItem
TemplateList addCollectionItem(Template collectionItem)
-
metadata
TemplateList metadata(ListPaginationMetadata metadata)
-
hashCode
int hashCode()
-
toUrlQueryString
String toUrlQueryString()
Convert the instance into URL query string.
- Returns:
URL query string
-
toUrlQueryString
String toUrlQueryString(String prefix)
Convert the instance into URL query string.
- Parameters:
prefix
- prefix of the query string- Returns:
URL query string
-
-
-
-