ValidateConsumerConfigRequest.fromJson constructor

ValidateConsumerConfigRequest.fromJson(
  1. Map json_
)

Implementation

ValidateConsumerConfigRequest.fromJson(core.Map json_)
    : this(
        checkServiceNetworkingUsePermission:
            json_.containsKey('checkServiceNetworkingUsePermission')
                ? json_['checkServiceNetworkingUsePermission'] as core.bool
                : null,
        consumerNetwork: json_.containsKey('consumerNetwork')
            ? json_['consumerNetwork'] as core.String
            : null,
        consumerProject: json_.containsKey('consumerProject')
            ? ConsumerProject.fromJson(json_['consumerProject']
                as core.Map<core.String, core.dynamic>)
            : null,
        rangeReservation: json_.containsKey('rangeReservation')
            ? RangeReservation.fromJson(json_['rangeReservation']
                as core.Map<core.String, core.dynamic>)
            : null,
        validateNetwork: json_.containsKey('validateNetwork')
            ? json_['validateNetwork'] as core.bool
            : null,
      );