IpAddressResponse.fromJson constructor

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

Implementation

factory IpAddressResponse.fromJson(Map<String, dynamic> json) {
  return IpAddressResponse(
    creationTime: json['CreationTime'] as String?,
    ip: json['Ip'] as String?,
    ipId: json['IpId'] as String?,
    modificationTime: json['ModificationTime'] as String?,
    status: (json['Status'] as String?)?.toIpAddressStatus(),
    statusMessage: json['StatusMessage'] as String?,
    subnetId: json['SubnetId'] as String?,
  );
}