Api constructor
Api({
- required String name,
- required ProtocolType protocolType,
- required String routeSelectionExpression,
- String? apiEndpoint,
- bool? apiGatewayManaged,
- String? apiId,
- String? apiKeySelectionExpression,
- Cors? corsConfiguration,
- DateTime? createdDate,
- String? description,
- bool? disableExecuteApiEndpoint,
- bool? disableSchemaValidation,
- List<
String> ? importInfo, - Map<
String, String> ? tags, - String? version,
- 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,
});