Class TemplateHashResultInner


  • public final class TemplateHashResultInner
    extends Object
    Result of the request to calculate template hash. It contains a string of minified template and its hash.
    • Constructor Detail

      • TemplateHashResultInner

        public TemplateHashResultInner()
    • Method Detail

      • minifiedTemplate

        public String minifiedTemplate()
        Get the minifiedTemplate property: The minified template string.
        Returns:
        the minifiedTemplate value.
      • withMinifiedTemplate

        public TemplateHashResultInner withMinifiedTemplate​(String minifiedTemplate)
        Set the minifiedTemplate property: The minified template string.
        Parameters:
        minifiedTemplate - the minifiedTemplate value to set.
        Returns:
        the TemplateHashResultInner object itself.
      • templateHash

        public String templateHash()
        Get the templateHash property: The template hash.
        Returns:
        the templateHash value.
      • withTemplateHash

        public TemplateHashResultInner withTemplateHash​(String templateHash)
        Set the templateHash property: The template hash.
        Parameters:
        templateHash - the templateHash value to set.
        Returns:
        the TemplateHashResultInner object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.