Api constructor

Api({
  1. required String name,
  2. required ProtocolType protocolType,
  3. required String routeSelectionExpression,
  4. String? apiEndpoint,
  5. bool? apiGatewayManaged,
  6. String? apiId,
  7. String? apiKeySelectionExpression,
  8. Cors? corsConfiguration,
  9. DateTime? createdDate,
  10. String? description,
  11. bool? disableExecuteApiEndpoint,
  12. bool? disableSchemaValidation,
  13. List<String>? importInfo,
  14. Map<String, String>? tags,
  15. String? version,
  16. List<String>? warnings,
})

Implementation

Api({
  required this.name,
  required this.protocolType,
  required this.routeSelectionExpression,
  this.apiEndpoint,
  this.apiGatewayManaged,
  this.apiId,
  this.apiKeySelectionExpression,
  this.corsConfiguration,
  this.createdDate,
  this.description,
  this.disableExecuteApiEndpoint,
  this.disableSchemaValidation,
  this.importInfo,
  this.tags,
  this.version,
  this.warnings,
});