GoogleCloudApigeeV1SharedFlowRevision.fromJson constructor

GoogleCloudApigeeV1SharedFlowRevision.fromJson(
  1. Map json_
)

Implementation

GoogleCloudApigeeV1SharedFlowRevision.fromJson(core.Map json_)
    : this(
        configurationVersion: json_.containsKey('configurationVersion')
            ? GoogleCloudApigeeV1ConfigVersion.fromJson(
                json_['configurationVersion']
                    as core.Map<core.String, core.dynamic>)
            : null,
        contextInfo: json_.containsKey('contextInfo')
            ? json_['contextInfo'] as core.String
            : null,
        createdAt: json_.containsKey('createdAt')
            ? json_['createdAt'] as core.String
            : null,
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
        entityMetaDataAsProperties:
            json_.containsKey('entityMetaDataAsProperties')
                ? (json_['entityMetaDataAsProperties']
                        as core.Map<core.String, core.dynamic>)
                    .map(
                    (key, value) => core.MapEntry(
                      key,
                      value as core.String,
                    ),
                  )
                : null,
        lastModifiedAt: json_.containsKey('lastModifiedAt')
            ? json_['lastModifiedAt'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        policies: json_.containsKey('policies')
            ? (json_['policies'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        resourceFiles: json_.containsKey('resourceFiles')
            ? GoogleCloudApigeeV1ResourceFiles.fromJson(
                json_['resourceFiles'] as core.Map<core.String, core.dynamic>)
            : null,
        resources: json_.containsKey('resources')
            ? (json_['resources'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        revision: json_.containsKey('revision')
            ? json_['revision'] as core.String
            : null,
        sharedFlows: json_.containsKey('sharedFlows')
            ? (json_['sharedFlows'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        type: json_.containsKey('type') ? json_['type'] as core.String : null,
      );