GoogleCloudIntegrationsV1alphaAuthConfig.fromJson constructor

GoogleCloudIntegrationsV1alphaAuthConfig.fromJson(
  1. Map json_
)

Implementation

GoogleCloudIntegrationsV1alphaAuthConfig.fromJson(core.Map json_)
    : this(
        certificateId: json_.containsKey('certificateId')
            ? json_['certificateId'] as core.String
            : null,
        createTime: json_.containsKey('createTime')
            ? json_['createTime'] as core.String
            : null,
        creatorEmail: json_.containsKey('creatorEmail')
            ? json_['creatorEmail'] as core.String
            : null,
        credentialType: json_.containsKey('credentialType')
            ? json_['credentialType'] as core.String
            : null,
        decryptedCredential: json_.containsKey('decryptedCredential')
            ? GoogleCloudIntegrationsV1alphaCredential.fromJson(
                json_['decryptedCredential']
                    as core.Map<core.String, core.dynamic>)
            : null,
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
        encryptedCredential: json_.containsKey('encryptedCredential')
            ? json_['encryptedCredential'] as core.String
            : null,
        expiryNotificationDuration:
            json_.containsKey('expiryNotificationDuration')
                ? (json_['expiryNotificationDuration'] as core.List)
                    .map((value) => value as core.String)
                    .toList()
                : null,
        lastModifierEmail: json_.containsKey('lastModifierEmail')
            ? json_['lastModifierEmail'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        overrideValidTime: json_.containsKey('overrideValidTime')
            ? json_['overrideValidTime'] as core.String
            : null,
        reason: json_.containsKey('reason')
            ? json_['reason'] as core.String
            : null,
        state:
            json_.containsKey('state') ? json_['state'] as core.String : null,
        updateTime: json_.containsKey('updateTime')
            ? json_['updateTime'] as core.String
            : null,
        validTime: json_.containsKey('validTime')
            ? json_['validTime'] as core.String
            : null,
        visibility: json_.containsKey('visibility')
            ? json_['visibility'] as core.String
            : null,
      );