GoogleCloudApigeeV1GraphQLOperationConfig.fromJson constructor

GoogleCloudApigeeV1GraphQLOperationConfig.fromJson(
  1. Map json_
)

Implementation

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