toJson method
Implementation
Map<String, dynamic> toJson() {
final certificateAuthorityArn = this.certificateAuthorityArn;
final createdAt = this.createdAt;
final domainName = this.domainName;
final domainValidationOptions = this.domainValidationOptions;
final extendedKeyUsages = this.extendedKeyUsages;
final failureReason = this.failureReason;
final importedAt = this.importedAt;
final inUseBy = this.inUseBy;
final issuedAt = this.issuedAt;
final issuer = this.issuer;
final keyAlgorithm = this.keyAlgorithm;
final keyUsages = this.keyUsages;
final notAfter = this.notAfter;
final notBefore = this.notBefore;
final options = this.options;
final renewalEligibility = this.renewalEligibility;
final renewalSummary = this.renewalSummary;
final serial = this.serial;
final signatureAlgorithm = this.signatureAlgorithm;
final status = this.status;
final subject = this.subject;
final subjectAlternativeNames = this.subjectAlternativeNames;
final type = this.type;
return {
if (certificateAuthorityArn != null)
'CertificateAuthorityArn': certificateAuthorityArn,
if (createdAt != null) 'CreatedAt': createdAt,
if (domainName != null) 'DomainName': domainName,
if (domainValidationOptions != null)
'DomainValidationOptions': domainValidationOptions,
if (extendedKeyUsages != null) 'ExtendedKeyUsages': extendedKeyUsages,
if (failureReason != null) 'FailureReason': failureReason,
if (importedAt != null) 'ImportedAt': importedAt,
if (inUseBy != null) 'InUseBy': inUseBy,
if (issuedAt != null) 'IssuedAt': issuedAt,
if (issuer != null) 'Issuer': issuer,
if (keyAlgorithm != null) 'KeyAlgorithm': keyAlgorithm,
if (keyUsages != null) 'KeyUsages': keyUsages,
if (notAfter != null) 'NotAfter': notAfter,
if (notBefore != null) 'NotBefore': notBefore,
if (options != null) 'Options': options,
if (renewalEligibility != null) 'RenewalEligibility': renewalEligibility,
if (renewalSummary != null) 'RenewalSummary': renewalSummary,
if (serial != null) 'Serial': serial,
if (signatureAlgorithm != null) 'SignatureAlgorithm': signatureAlgorithm,
if (status != null) 'Status': status,
if (subject != null) 'Subject': subject,
if (subjectAlternativeNames != null)
'SubjectAlternativeNames': subjectAlternativeNames,
if (type != null) 'Type': type,
};
}