Class TemplateUsageListResponse

All Implemented Interfaces:
Serializable

public class TemplateUsageListResponse extends TemplateListResponse
Response for a page usage response (templates).
See Also:
  • Constructor Details

    • TemplateUsageListResponse

      public TemplateUsageListResponse()
      Empty constructor
    • TemplateUsageListResponse

      public TemplateUsageListResponse(Message message, ResponseInfo responseInfo, List<Template> templates, int total, int withoutPermission)
      Create a new instance
      Parameters:
      message - message
      responseInfo - response info
      templates - templates
      total - total number of templates
      withoutPermission - number of templates without permission
  • Method Details

    • getWithoutPermission

      public int getWithoutPermission()
      Get the number of templates without permission
      Returns:
      number of templates without permission
    • getTotal

      public int getTotal()
      Get the total number of templates
      Returns:
      total number of templates
    • setWithoutPermission

      public void setWithoutPermission(int withoutPermission)
      Set the number of templates without permission
      Parameters:
      withoutPermission - number of templates without permission
    • setTotal

      public void setTotal(int total)
      Set the total number of templates
      Parameters:
      total - total number of templates