GoogleCloudApigeeV1Instance.fromJson constructor

GoogleCloudApigeeV1Instance.fromJson(
  1. Map json_
)

Implementation

GoogleCloudApigeeV1Instance.fromJson(core.Map json_)
    : this(
        accessLoggingConfig: json_.containsKey('accessLoggingConfig')
            ? GoogleCloudApigeeV1AccessLoggingConfig.fromJson(
                json_['accessLoggingConfig']
                    as core.Map<core.String, core.dynamic>)
            : null,
        consumerAcceptList: json_.containsKey('consumerAcceptList')
            ? (json_['consumerAcceptList'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        createdAt: json_.containsKey('createdAt')
            ? json_['createdAt'] as core.String
            : null,
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        diskEncryptionKeyName: json_.containsKey('diskEncryptionKeyName')
            ? json_['diskEncryptionKeyName'] as core.String
            : null,
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
        host: json_.containsKey('host') ? json_['host'] as core.String : null,
        ipRange: json_.containsKey('ipRange')
            ? json_['ipRange'] as core.String
            : null,
        lastModifiedAt: json_.containsKey('lastModifiedAt')
            ? json_['lastModifiedAt'] as core.String
            : null,
        location: json_.containsKey('location')
            ? json_['location'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        peeringCidrRange: json_.containsKey('peeringCidrRange')
            ? json_['peeringCidrRange'] as core.String
            : null,
        port: json_.containsKey('port') ? json_['port'] as core.String : null,
        runtimeVersion: json_.containsKey('runtimeVersion')
            ? json_['runtimeVersion'] as core.String
            : null,
        serviceAttachment: json_.containsKey('serviceAttachment')
            ? json_['serviceAttachment'] as core.String
            : null,
        state:
            json_.containsKey('state') ? json_['state'] as core.String : null,
      );