GoogleCloudApigeeV1ApiDoc.fromJson constructor

GoogleCloudApigeeV1ApiDoc.fromJson(
  1. Map json_
)

Implementation

GoogleCloudApigeeV1ApiDoc.fromJson(core.Map json_)
    : this(
        anonAllowed: json_.containsKey('anonAllowed')
            ? json_['anonAllowed'] as core.bool
            : null,
        apiProductName: json_.containsKey('apiProductName')
            ? json_['apiProductName'] as core.String
            : null,
        categoryIds: json_.containsKey('categoryIds')
            ? (json_['categoryIds'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        edgeAPIProductName: json_.containsKey('edgeAPIProductName')
            ? json_['edgeAPIProductName'] as core.String
            : null,
        graphqlEndpointUrl: json_.containsKey('graphqlEndpointUrl')
            ? json_['graphqlEndpointUrl'] as core.String
            : null,
        graphqlSchema: json_.containsKey('graphqlSchema')
            ? json_['graphqlSchema'] as core.String
            : null,
        graphqlSchemaDisplayName:
            json_.containsKey('graphqlSchemaDisplayName')
                ? json_['graphqlSchemaDisplayName'] as core.String
                : null,
        id: json_.containsKey('id') ? json_['id'] as core.String : null,
        imageUrl: json_.containsKey('imageUrl')
            ? json_['imageUrl'] as core.String
            : null,
        modified: json_.containsKey('modified')
            ? json_['modified'] as core.String
            : null,
        published: json_.containsKey('published')
            ? json_['published'] as core.bool
            : null,
        requireCallbackUrl: json_.containsKey('requireCallbackUrl')
            ? json_['requireCallbackUrl'] as core.bool
            : null,
        siteId: json_.containsKey('siteId')
            ? json_['siteId'] as core.String
            : null,
        specId: json_.containsKey('specId')
            ? json_['specId'] as core.String
            : null,
        title:
            json_.containsKey('title') ? json_['title'] as core.String : null,
        visibility: json_.containsKey('visibility')
            ? json_['visibility'] as core.bool
            : null,
      );