toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (certificateAuthorityData != null)
        'certificateAuthorityData': certificateAuthorityData!,
      if (clientId != null) 'clientId': clientId!,
      if (clientSecret != null) 'clientSecret': clientSecret!,
      if (deployCloudConsoleProxy != null)
        'deployCloudConsoleProxy': deployCloudConsoleProxy!,
      if (enableAccessToken != null) 'enableAccessToken': enableAccessToken!,
      if (encryptedClientSecret != null)
        'encryptedClientSecret': encryptedClientSecret!,
      if (extraParams != null) 'extraParams': extraParams!,
      if (groupPrefix != null) 'groupPrefix': groupPrefix!,
      if (groupsClaim != null) 'groupsClaim': groupsClaim!,
      if (issuerUri != null) 'issuerUri': issuerUri!,
      if (kubectlRedirectUri != null)
        'kubectlRedirectUri': kubectlRedirectUri!,
      if (scopes != null) 'scopes': scopes!,
      if (userClaim != null) 'userClaim': userClaim!,
      if (userPrefix != null) 'userPrefix': userPrefix!,
    };