toJson method
Implementation
Map<String, dynamic> toJson() {
final archiveId = this.archiveId;
final description = this.description;
final format = this.format;
final inventoryRetrievalParameters = this.inventoryRetrievalParameters;
final outputLocation = this.outputLocation;
final retrievalByteRange = this.retrievalByteRange;
final sNSTopic = this.sNSTopic;
final selectParameters = this.selectParameters;
final tier = this.tier;
final type = this.type;
return {
if (archiveId != null) 'ArchiveId': archiveId,
if (description != null) 'Description': description,
if (format != null) 'Format': format,
if (inventoryRetrievalParameters != null)
'InventoryRetrievalParameters': inventoryRetrievalParameters,
if (outputLocation != null) 'OutputLocation': outputLocation,
if (retrievalByteRange != null) 'RetrievalByteRange': retrievalByteRange,
if (sNSTopic != null) 'SNSTopic': sNSTopic,
if (selectParameters != null) 'SelectParameters': selectParameters,
if (tier != null) 'Tier': tier,
if (type != null) 'Type': type,
};
}