GoogleCloudIntegrationsV1alphaOAuth2AuthorizationCode.fromJson constructor

GoogleCloudIntegrationsV1alphaOAuth2AuthorizationCode.fromJson(
  1. Map json_
)

Implementation

GoogleCloudIntegrationsV1alphaOAuth2AuthorizationCode.fromJson(core.Map json_)
    : this(
        accessToken: json_.containsKey('accessToken')
            ? GoogleCloudIntegrationsV1alphaAccessToken.fromJson(
                json_['accessToken'] as core.Map<core.String, core.dynamic>)
            : null,
        applyReauthPolicy: json_.containsKey('applyReauthPolicy')
            ? json_['applyReauthPolicy'] as core.bool
            : null,
        authCode: json_.containsKey('authCode')
            ? json_['authCode'] as core.String
            : null,
        authEndpoint: json_.containsKey('authEndpoint')
            ? json_['authEndpoint'] as core.String
            : null,
        authParams: json_.containsKey('authParams')
            ? GoogleCloudIntegrationsV1alphaParameterMap.fromJson(
                json_['authParams'] 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,
      );