GoogleCloudIntegrationsV1alphaOAuth2ClientCredentials.fromJson constructor

GoogleCloudIntegrationsV1alphaOAuth2ClientCredentials.fromJson(
  1. Map json_
)

Implementation

GoogleCloudIntegrationsV1alphaOAuth2ClientCredentials.fromJson(core.Map json_)
    : this(
        accessToken: json_.containsKey('accessToken')
            ? GoogleCloudIntegrationsV1alphaAccessToken.fromJson(
                json_['accessToken'] as core.Map<core.String, core.dynamic>)
            : null,
        clientId: json_.containsKey('clientId')
            ? json_['clientId'] as core.String
            : null,
        clientSecret: json_.containsKey('clientSecret')
            ? json_['clientSecret'] as core.String
            : null,
        requestType: json_.containsKey('requestType')
            ? json_['requestType'] as core.String
            : null,
        scope:
            json_.containsKey('scope') ? json_['scope'] as core.String : null,
        tokenEndpoint: json_.containsKey('tokenEndpoint')
            ? json_['tokenEndpoint'] as core.String
            : null,
        tokenParams: json_.containsKey('tokenParams')
            ? GoogleCloudIntegrationsV1alphaParameterMap.fromJson(
                json_['tokenParams'] as core.Map<core.String, core.dynamic>)
            : null,
      );