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