AwsEc2NetworkInterfaceAttachment.fromJson constructor

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

Implementation

factory AwsEc2NetworkInterfaceAttachment.fromJson(Map<String, dynamic> json) {
  return AwsEc2NetworkInterfaceAttachment(
    attachTime: json['AttachTime'] as String?,
    attachmentId: json['AttachmentId'] as String?,
    deleteOnTermination: json['DeleteOnTermination'] as bool?,
    deviceIndex: json['DeviceIndex'] as int?,
    instanceId: json['InstanceId'] as String?,
    instanceOwnerId: json['InstanceOwnerId'] as String?,
    status: json['Status'] as String?,
  );
}