GoogleCloudApigeeV1GraphQLOperationConfigResponse.fromMap constructor

GoogleCloudApigeeV1GraphQLOperationConfigResponse.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory GoogleCloudApigeeV1GraphQLOperationConfigResponse.fromMap(Map<String, dynamic> map) {
  return GoogleCloudApigeeV1GraphQLOperationConfigResponse(
    apiSource: pulumi.Input.fromValue(map['apiSource'] as String),
    attributes: pulumi.Input.fromValue(pulumi.Input.decodeList<GoogleCloudApigeeV1AttributeResponse>(map['attributes']!, (value) => GoogleCloudApigeeV1AttributeResponse.fromMap((value as Map).cast<String, dynamic>()))),
    operations: pulumi.Input.fromValue(pulumi.Input.decodeList<GoogleCloudApigeeV1GraphQLOperationResponse>(map['operations']!, (value) => GoogleCloudApigeeV1GraphQLOperationResponse.fromMap((value as Map).cast<String, dynamic>()))),
    quota: pulumi.Input.fromValue(GoogleCloudApigeeV1QuotaResponse.fromMap((map['quota']! as Map).cast<String, dynamic>())),
  );
}