public class GetTemplateResult extends PropertyGroupTemplate
Modifier and Type | Class and Description |
---|---|
static class |
GetTemplateResult.Serializer
For internal use only.
|
description, fields, name
Constructor and Description |
---|
GetTemplateResult(java.lang.String name,
java.lang.String description,
java.util.List<PropertyFieldTemplate> fields) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDescription()
Description for the template.
|
java.util.List<PropertyFieldTemplate> |
getFields()
Definitions of the property fields associated with this template.
|
java.lang.String |
getName()
Display name for the template.
|
int |
hashCode() |
java.lang.String |
toString() |
java.lang.String |
toStringMultiline()
Returns a String representation of this object formatted for easier
readability.
|
public GetTemplateResult(java.lang.String name, java.lang.String description, java.util.List<PropertyFieldTemplate> fields)
name
- Display name for the template. Template names can be up to
256 bytes. Must not be null
.description
- Description for the template. Template descriptions
can be up to 1024 bytes. Must not be null
.fields
- Definitions of the property fields associated with this
template. There can be up to 32 properties in a single template. Must
not contain a null
item and not be null
.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public java.lang.String getName()
getName
in class PropertyGroupTemplate
null
.public java.lang.String getDescription()
getDescription
in class PropertyGroupTemplate
null
.public java.util.List<PropertyFieldTemplate> getFields()
getFields
in class PropertyGroupTemplate
null
.public int hashCode()
hashCode
in class PropertyGroupTemplate
public boolean equals(java.lang.Object obj)
equals
in class PropertyGroupTemplate
public java.lang.String toString()
toString
in class PropertyGroupTemplate
public java.lang.String toStringMultiline()
The returned String may contain newlines.
toStringMultiline
in class PropertyGroupTemplate