toJson method
Implementation
Map<String, dynamic> toJson() {
final secretArn = this.secretArn;
final serverUrl = this.serverUrl;
final version = this.version;
final attachmentConfiguration = this.attachmentConfiguration;
final blogConfiguration = this.blogConfiguration;
final exclusionPatterns = this.exclusionPatterns;
final inclusionPatterns = this.inclusionPatterns;
final pageConfiguration = this.pageConfiguration;
final spaceConfiguration = this.spaceConfiguration;
final vpcConfiguration = this.vpcConfiguration;
return {
'SecretArn': secretArn,
'ServerUrl': serverUrl,
'Version': version.toValue(),
if (attachmentConfiguration != null)
'AttachmentConfiguration': attachmentConfiguration,
if (blogConfiguration != null) 'BlogConfiguration': blogConfiguration,
if (exclusionPatterns != null) 'ExclusionPatterns': exclusionPatterns,
if (inclusionPatterns != null) 'InclusionPatterns': inclusionPatterns,
if (pageConfiguration != null) 'PageConfiguration': pageConfiguration,
if (spaceConfiguration != null) 'SpaceConfiguration': spaceConfiguration,
if (vpcConfiguration != null) 'VpcConfiguration': vpcConfiguration,
};
}