MountTargetDescription.fromJson constructor

MountTargetDescription.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory MountTargetDescription.fromJson(Map<String, dynamic> json) {
  return MountTargetDescription(
    fileSystemId: json['FileSystemId'] as String,
    lifeCycleState: (json['LifeCycleState'] as String).toLifeCycleState(),
    mountTargetId: json['MountTargetId'] as String,
    subnetId: json['SubnetId'] as String,
    availabilityZoneId: json['AvailabilityZoneId'] as String?,
    availabilityZoneName: json['AvailabilityZoneName'] as String?,
    ipAddress: json['IpAddress'] as String?,
    networkInterfaceId: json['NetworkInterfaceId'] as String?,
    ownerId: json['OwnerId'] as String?,
    vpcId: json['VpcId'] as String?,
  );
}