GoogleCloudAgentidentitycredentialsV1RetrieveCredentialsResponse.fromJson constructor

GoogleCloudAgentidentitycredentialsV1RetrieveCredentialsResponse.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAgentidentitycredentialsV1RetrieveCredentialsResponse.fromJson(
  core.Map json_,
) : this(
      consentRejected: json_.containsKey('consentRejected')
          ? GoogleCloudAgentidentitycredentialsV1ConsentRejected.fromJson(
              json_['consentRejected'] as core.Map<core.String, core.dynamic>,
            )
          : null,
      pending: json_.containsKey('pending')
          ? GoogleCloudAgentidentitycredentialsV1Pending.fromJson(
              json_['pending'] as core.Map<core.String, core.dynamic>,
            )
          : null,
      success: json_.containsKey('success')
          ? GoogleCloudAgentidentitycredentialsV1Success.fromJson(
              json_['success'] as core.Map<core.String, core.dynamic>,
            )
          : null,
      uriConsentRequired: json_.containsKey('uriConsentRequired')
          ? GoogleCloudAgentidentitycredentialsV1UriConsentRequired.fromJson(
              json_['uriConsentRequired']
                  as core.Map<core.String, core.dynamic>,
            )
          : null,
    );