GoogleCloudApigeeV1DeveloperApp.fromJson constructor

GoogleCloudApigeeV1DeveloperApp.fromJson(
  1. Map json_
)

Implementation

GoogleCloudApigeeV1DeveloperApp.fromJson(core.Map json_)
    : this(
        apiProducts: json_.containsKey('apiProducts')
            ? (json_['apiProducts'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        appFamily: json_.containsKey('appFamily')
            ? json_['appFamily'] as core.String
            : null,
        appId:
            json_.containsKey('appId') ? json_['appId'] 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,
        callbackUrl: json_.containsKey('callbackUrl')
            ? json_['callbackUrl'] as core.String
            : null,
        createdAt: json_.containsKey('createdAt')
            ? json_['createdAt'] as core.String
            : null,
        credentials: json_.containsKey('credentials')
            ? (json_['credentials'] as core.List)
                .map((value) => GoogleCloudApigeeV1Credential.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        developerId: json_.containsKey('developerId')
            ? json_['developerId'] as core.String
            : null,
        keyExpiresIn: json_.containsKey('keyExpiresIn')
            ? json_['keyExpiresIn'] as core.String
            : null,
        lastModifiedAt: json_.containsKey('lastModifiedAt')
            ? json_['lastModifiedAt'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        scopes: json_.containsKey('scopes')
            ? (json_['scopes'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        status: json_.containsKey('status')
            ? json_['status'] as core.String
            : null,
      );