001package co.codewizards.cloudstore.rest.client.ssl;
002
003public class CheckServerTrustedCertificateExceptionResult {
004
005        private boolean trusted;
006        private boolean permanent = true;
007
008        public CheckServerTrustedCertificateExceptionResult() { }
009
010        public boolean isTrusted() {
011                return trusted;
012        }
013        public void setTrusted(boolean trusted) {
014                this.trusted = trusted;
015        }
016        public CheckServerTrustedCertificateExceptionResult trusted(boolean trusted) {
017                setTrusted(trusted);
018                return this;
019        }
020
021        public boolean isPermanent() {
022                return permanent;
023        }
024        public void setPermanent(boolean permanent) {
025                this.permanent = permanent;
026        }
027        public CheckServerTrustedCertificateExceptionResult permanent(boolean permanent) {
028                setPermanent(permanent);
029                return this;
030        }
031}