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