DescribeLocationObjectStorageResponse.fromJson constructor
DescribeLocationObjectStorageResponse.fromJson(
- Map<String, dynamic> json
)
Implementation
factory DescribeLocationObjectStorageResponse.fromJson(
Map<String, dynamic> json) {
return DescribeLocationObjectStorageResponse(
accessKey: json['AccessKey'] as String?,
agentArns: (json['AgentArns'] as List?)
?.whereNotNull()
.map((e) => e as String)
.toList(),
creationTime: timeStampFromJson(json['CreationTime']),
locationArn: json['LocationArn'] as String?,
locationUri: json['LocationUri'] as String?,
serverPort: json['ServerPort'] as int?,
serverProtocol:
(json['ServerProtocol'] as String?)?.toObjectStorageServerProtocol(),
);
}