TUpdateOauth2CredentialBody.fromJson constructor
TUpdateOauth2CredentialBody.fromJson(
- Map<String, dynamic> json
)
Implementation
factory TUpdateOauth2CredentialBody.fromJson(Map<String, dynamic> json) {
final _timestampMs = json['timestampMs'] as String?;
final _organizationId = json['organizationId'] as String?;
final _oauth2CredentialId = json['oauth2CredentialId'] as String;
final _provider = v1Oauth2ProviderFromJson(json['provider']);
final _clientId = json['clientId'] as String;
final _encryptedClientSecret = json['encryptedClientSecret'] as String;
return TUpdateOauth2CredentialBody(
timestampMs: _timestampMs,
organizationId: _organizationId,
oauth2CredentialId: _oauth2CredentialId,
provider: _provider,
clientId: _clientId,
encryptedClientSecret: _encryptedClientSecret,
);
}