GoogleCloudApigeeV1App.fromJson constructor

GoogleCloudApigeeV1App.fromJson(
  1. Map json_
)

Implementation

GoogleCloudApigeeV1App.fromJson(core.Map json_)
    : this(
        apiProducts: json_.containsKey('apiProducts')
            ? (json_['apiProducts'] as core.List)
                .map((value) => GoogleCloudApigeeV1ApiProductRef.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        appGroup: json_.containsKey('appGroup')
            ? json_['appGroup'] 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,
        companyName: json_.containsKey('companyName')
            ? json_['companyName'] 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,
        developerEmail: json_.containsKey('developerEmail')
            ? json_['developerEmail'] as core.String
            : 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,
      );