GoogleCloudBaremetalsolutionV2LogicalInterface.fromJson constructor

GoogleCloudBaremetalsolutionV2LogicalInterface.fromJson(
  1. Map json_
)

Implementation

GoogleCloudBaremetalsolutionV2LogicalInterface.fromJson(core.Map json_)
    : this(
        interfaceIndex: json_.containsKey('interfaceIndex')
            ? json_['interfaceIndex'] as core.int
            : null,
        logicalNetworkInterfaces:
            json_.containsKey('logicalNetworkInterfaces')
                ? (json_['logicalNetworkInterfaces'] as core.List)
                    .map((value) => LogicalNetworkInterface.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                    .toList()
                : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
      );