toValue method
Implementation
String toValue() {
switch (this) {
case VirtualInterfaceState.confirming:
return 'confirming';
case VirtualInterfaceState.verifying:
return 'verifying';
case VirtualInterfaceState.pending:
return 'pending';
case VirtualInterfaceState.available:
return 'available';
case VirtualInterfaceState.down:
return 'down';
case VirtualInterfaceState.deleting:
return 'deleting';
case VirtualInterfaceState.deleted:
return 'deleted';
case VirtualInterfaceState.rejected:
return 'rejected';
case VirtualInterfaceState.unknown:
return 'unknown';
}
}