toJson method
Implementation
Map<String, dynamic> toJson() {
final accessLogSettings = this.accessLogSettings;
final cacheClusterEnabled = this.cacheClusterEnabled;
final cacheClusterSize = this.cacheClusterSize;
final cacheClusterStatus = this.cacheClusterStatus;
final canarySettings = this.canarySettings;
final clientCertificateId = this.clientCertificateId;
final createdDate = this.createdDate;
final deploymentId = this.deploymentId;
final description = this.description;
final documentationVersion = this.documentationVersion;
final lastUpdatedDate = this.lastUpdatedDate;
final methodSettings = this.methodSettings;
final stageName = this.stageName;
final tracingEnabled = this.tracingEnabled;
final variables = this.variables;
final webAclArn = this.webAclArn;
return {
if (accessLogSettings != null) 'AccessLogSettings': accessLogSettings,
if (cacheClusterEnabled != null)
'CacheClusterEnabled': cacheClusterEnabled,
if (cacheClusterSize != null) 'CacheClusterSize': cacheClusterSize,
if (cacheClusterStatus != null) 'CacheClusterStatus': cacheClusterStatus,
if (canarySettings != null) 'CanarySettings': canarySettings,
if (clientCertificateId != null)
'ClientCertificateId': clientCertificateId,
if (createdDate != null) 'CreatedDate': createdDate,
if (deploymentId != null) 'DeploymentId': deploymentId,
if (description != null) 'Description': description,
if (documentationVersion != null)
'DocumentationVersion': documentationVersion,
if (lastUpdatedDate != null) 'LastUpdatedDate': lastUpdatedDate,
if (methodSettings != null) 'MethodSettings': methodSettings,
if (stageName != null) 'StageName': stageName,
if (tracingEnabled != null) 'TracingEnabled': tracingEnabled,
if (variables != null) 'Variables': variables,
if (webAclArn != null) 'WebAclArn': webAclArn,
};
}