Class TemplateUsageListResponse

    • Constructor Detail

      • 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 Detail

      • 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