001package com.plivo.api.models.compliancedocumenttype;
002
003import com.plivo.api.models.base.BaseResource;
004
005public class ComplianceDocumentType extends BaseResource {
006    public static class Information {
007        private String fieldName;
008        private String fieldType;
009        private String friendlyName;
010        private String helpText;
011        private String maxLength;
012        private String minLength;
013        private String format;
014
015        public Information() {
016
017        }
018
019        public String getFriendlyName() {
020            return friendlyName;
021        }
022
023        public String getFieldName() {
024            return fieldName;
025        }
026
027        public String getFieldType() {
028            return fieldType;
029        }
030
031        public String getFormat() {
032            return format;
033        }
034
035        public String getHelpText() {
036            return helpText;
037        }
038
039        public String getMaxLength() {
040            return maxLength;
041        }
042
043        public String getMinLength() {
044            return minLength;
045        }
046    }
047
048    private String createdAt;
049    private String documentTypeID;
050    private String documentName;
051    private String description;
052    private String proofRequired;
053    private Information[] information;
054
055    public static ComplianceDocumentTypeLister lister() {
056        return new ComplianceDocumentTypeLister();
057    }
058
059    public static ComplianceDocumentTypeGetter getter(String id) {
060        return new ComplianceDocumentTypeGetter(id);
061    }
062
063    @Override
064    public String getId() {
065        return documentTypeID;
066    }
067
068    public Information[] getInformation() {
069        return information;
070    }
071
072    public String getCreatedAt() {
073        return createdAt;
074    }
075
076    public String getDescription() {
077        return description;
078    }
079
080    public String getDocumentName() {
081        return documentName;
082    }
083
084    public String getDocumentTypeID() {
085        return documentTypeID;
086    }
087
088    public String getProofRequired() {
089        return proofRequired;
090    }
091}