toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final s3BucketFolder = this.s3BucketFolder;
  final s3BucketName = this.s3BucketName;
  final errorRetryDuration = this.errorRetryDuration;
  final iamAuthEnabled = this.iamAuthEnabled;
  final maxFileSize = this.maxFileSize;
  final maxRetryCount = this.maxRetryCount;
  final serviceAccessRoleArn = this.serviceAccessRoleArn;
  return {
    'S3BucketFolder': s3BucketFolder,
    'S3BucketName': s3BucketName,
    if (errorRetryDuration != null) 'ErrorRetryDuration': errorRetryDuration,
    if (iamAuthEnabled != null) 'IamAuthEnabled': iamAuthEnabled,
    if (maxFileSize != null) 'MaxFileSize': maxFileSize,
    if (maxRetryCount != null) 'MaxRetryCount': maxRetryCount,
    if (serviceAccessRoleArn != null)
      'ServiceAccessRoleArn': serviceAccessRoleArn,
  };
}