GoogleCloudApigeeV1GrpcOperationConfig.fromJson constructor

GoogleCloudApigeeV1GrpcOperationConfig.fromJson(
  1. Map json_
)

Implementation

GoogleCloudApigeeV1GrpcOperationConfig.fromJson(core.Map json_)
    : this(
        apiSource: json_.containsKey('apiSource')
            ? json_['apiSource'] as core.String
            : null,
        attributes: json_.containsKey('attributes')
            ? (json_['attributes'] as core.List)
                .map((value) => GoogleCloudApigeeV1Attribute.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        methods: json_.containsKey('methods')
            ? (json_['methods'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        quota: json_.containsKey('quota')
            ? GoogleCloudApigeeV1Quota.fromJson(
                json_['quota'] as core.Map<core.String, core.dynamic>)
            : null,
        service: json_.containsKey('service')
            ? json_['service'] as core.String
            : null,
      );