toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final allowedCaCerts = this.allowedCaCerts;
  final httpMethod = this.httpMethod;
  final oauthConfig = this.oauthConfig;
  final parameterMapping = this.parameterMapping;
  final password = this.password;
  final requestBody = this.requestBody;
  final requestHeaders = this.requestHeaders;
  final secretVersionForUsernamePassword =
      this.secretVersionForUsernamePassword;
  final secretVersionsForRequestHeaders =
      this.secretVersionsForRequestHeaders;
  final serviceAccountAuthConfig = this.serviceAccountAuthConfig;
  final serviceAgentAuth = this.serviceAgentAuth;
  final uri = this.uri;
  final username = this.username;
  final webhookType = this.webhookType;
  return {
    'allowedCaCerts': ?allowedCaCerts,
    'httpMethod': ?httpMethod,
    'oauthConfig': ?oauthConfig,
    'parameterMapping': ?parameterMapping,
    'password': ?password,
    'requestBody': ?requestBody,
    'requestHeaders': ?requestHeaders,
    'secretVersionForUsernamePassword': ?secretVersionForUsernamePassword,
    'secretVersionsForRequestHeaders': ?secretVersionsForRequestHeaders,
    'serviceAccountAuthConfig': ?serviceAccountAuthConfig,
    'serviceAgentAuth': ?serviceAgentAuth,
    'uri': ?uri,
    'username': ?username,
    'webhookType': ?webhookType,
  };
}