toValue method
Implementation
String toValue() {
switch (this) {
case GatewayType.virtualPrivateGateway:
return 'virtualPrivateGateway';
case GatewayType.transitGateway:
return 'transitGateway';
}
}
String toValue() {
switch (this) {
case GatewayType.virtualPrivateGateway:
return 'virtualPrivateGateway';
case GatewayType.transitGateway:
return 'transitGateway';
}
}