toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (allowedCaCerts != null) 'allowedCaCerts': allowedCaCerts!,
  if (httpMethod != null) 'httpMethod': httpMethod!,
  if (oauthConfig != null) 'oauthConfig': oauthConfig!,
  if (parameterMapping != null) 'parameterMapping': parameterMapping!,
  if (password != null) 'password': password!,
  if (requestBody != null) 'requestBody': requestBody!,
  if (requestHeaders != null) 'requestHeaders': requestHeaders!,
  if (secretVersionForUsernamePassword != null)
    'secretVersionForUsernamePassword': secretVersionForUsernamePassword!,
  if (secretVersionsForRequestHeaders != null)
    'secretVersionsForRequestHeaders': secretVersionsForRequestHeaders!,
  if (serviceAgentAuth != null) 'serviceAgentAuth': serviceAgentAuth!,
  if (uri != null) 'uri': uri!,
  if (username != null) 'username': username!,
  if (webhookType != null) 'webhookType': webhookType!,
};