GoogleCloudApihubV1ApiView.fromJson constructor

GoogleCloudApihubV1ApiView.fromJson(
  1. Map json_
)

Implementation

GoogleCloudApihubV1ApiView.fromJson(core.Map json_)
  : this(
      mcpServerView: json_.containsKey('mcpServerView')
          ? GoogleCloudApihubV1FlattenedApiVersionDeploymentView.fromJson(
              json_['mcpServerView'] as core.Map<core.String, core.dynamic>,
            )
          : null,
      mcpToolView: json_.containsKey('mcpToolView')
          ? GoogleCloudApihubV1FlattenedApiVersionOperationDeploymentView.fromJson(
              json_['mcpToolView'] as core.Map<core.String, core.dynamic>,
            )
          : null,
    );