Instance.fromJson constructor

Instance.fromJson(
  1. Map json_
)

Implementation

Instance.fromJson(core.Map json_)
    : this(
        adminSettings: json_.containsKey('adminSettings')
            ? AdminSettings.fromJson(
                json_['adminSettings'] as core.Map<core.String, core.dynamic>)
            : null,
        consumerNetwork: json_.containsKey('consumerNetwork')
            ? json_['consumerNetwork'] as core.String
            : null,
        createTime: json_.containsKey('createTime')
            ? json_['createTime'] as core.String
            : null,
        customDomain: json_.containsKey('customDomain')
            ? CustomDomain.fromJson(
                json_['customDomain'] as core.Map<core.String, core.dynamic>)
            : null,
        denyMaintenancePeriod: json_.containsKey('denyMaintenancePeriod')
            ? DenyMaintenancePeriod.fromJson(json_['denyMaintenancePeriod']
                as core.Map<core.String, core.dynamic>)
            : null,
        egressPublicIp: json_.containsKey('egressPublicIp')
            ? json_['egressPublicIp'] as core.String
            : null,
        encryptionConfig: json_.containsKey('encryptionConfig')
            ? EncryptionConfig.fromJson(json_['encryptionConfig']
                as core.Map<core.String, core.dynamic>)
            : null,
        ingressPrivateIp: json_.containsKey('ingressPrivateIp')
            ? json_['ingressPrivateIp'] as core.String
            : null,
        ingressPublicIp: json_.containsKey('ingressPublicIp')
            ? json_['ingressPublicIp'] as core.String
            : null,
        lastDenyMaintenancePeriod:
            json_.containsKey('lastDenyMaintenancePeriod')
                ? DenyMaintenancePeriod.fromJson(
                    json_['lastDenyMaintenancePeriod']
                        as core.Map<core.String, core.dynamic>)
                : null,
        lookerUri: json_.containsKey('lookerUri')
            ? json_['lookerUri'] as core.String
            : null,
        lookerVersion: json_.containsKey('lookerVersion')
            ? json_['lookerVersion'] as core.String
            : null,
        maintenanceSchedule: json_.containsKey('maintenanceSchedule')
            ? MaintenanceSchedule.fromJson(json_['maintenanceSchedule']
                as core.Map<core.String, core.dynamic>)
            : null,
        maintenanceWindow: json_.containsKey('maintenanceWindow')
            ? MaintenanceWindow.fromJson(json_['maintenanceWindow']
                as core.Map<core.String, core.dynamic>)
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        oauthConfig: json_.containsKey('oauthConfig')
            ? OAuthConfig.fromJson(
                json_['oauthConfig'] as core.Map<core.String, core.dynamic>)
            : null,
        platformEdition: json_.containsKey('platformEdition')
            ? json_['platformEdition'] as core.String
            : null,
        privateIpEnabled: json_.containsKey('privateIpEnabled')
            ? json_['privateIpEnabled'] as core.bool
            : null,
        pscConfig: json_.containsKey('pscConfig')
            ? PscConfig.fromJson(
                json_['pscConfig'] as core.Map<core.String, core.dynamic>)
            : null,
        pscEnabled: json_.containsKey('pscEnabled')
            ? json_['pscEnabled'] as core.bool
            : null,
        publicIpEnabled: json_.containsKey('publicIpEnabled')
            ? json_['publicIpEnabled'] as core.bool
            : null,
        reservedRange: json_.containsKey('reservedRange')
            ? json_['reservedRange'] as core.String
            : null,
        state:
            json_.containsKey('state') ? json_['state'] as core.String : null,
        updateTime: json_.containsKey('updateTime')
            ? json_['updateTime'] as core.String
            : null,
        userMetadata: json_.containsKey('userMetadata')
            ? UserMetadata.fromJson(
                json_['userMetadata'] as core.Map<core.String, core.dynamic>)
            : null,
      );