Class GetTemplateResult

    • Constructor Detail

      • GetTemplateResult

        public GetTemplateResult​(@Nonnull
                                 java.lang.String name,
                                 @Nonnull
                                 java.lang.String description,
                                 @Nonnull
                                 java.util.List<PropertyFieldTemplate> fields)
        Parameters:
        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.
        Throws:
        java.lang.IllegalArgumentException - If any argument does not meet its preconditions.
    • Method Detail

      • getName

        @Nonnull
        public java.lang.String getName()
        Display name for the template. Template names can be up to 256 bytes.
        Overrides:
        getName in class PropertyGroupTemplate
        Returns:
        value for this field, never null.
      • getDescription

        @Nonnull
        public java.lang.String getDescription()
        Description for the template. Template descriptions can be up to 1024 bytes.
        Overrides:
        getDescription in class PropertyGroupTemplate
        Returns:
        value for this field, never null.
      • getFields

        @Nonnull
        public java.util.List<PropertyFieldTemplate> getFields()
        Definitions of the property fields associated with this template. There can be up to 32 properties in a single template.
        Overrides:
        getFields in class PropertyGroupTemplate
        Returns:
        value for this field, never null.
      • toStringMultiline

        public java.lang.String toStringMultiline()
        Returns a String representation of this object formatted for easier readability.

        The returned String may contain newlines.

        Overrides:
        toStringMultiline in class PropertyGroupTemplate
        Returns:
        Formatted, multiline String representation of this object