v1GetOauth2CredentialRequest.fromJson constructor

v1GetOauth2CredentialRequest.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory v1GetOauth2CredentialRequest.fromJson(Map<String, dynamic> json) {
  final _organizationId = json['organizationId'] as String;
  final _oauth2CredentialId = json['oauth2CredentialId'] as String;
  return v1GetOauth2CredentialRequest(
    organizationId: _organizationId,
    oauth2CredentialId: _oauth2CredentialId,
  );
}