toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ContainerServiceState.pending:
      return 'PENDING';
    case ContainerServiceState.ready:
      return 'READY';
    case ContainerServiceState.running:
      return 'RUNNING';
    case ContainerServiceState.updating:
      return 'UPDATING';
    case ContainerServiceState.deleting:
      return 'DELETING';
    case ContainerServiceState.disabled:
      return 'DISABLED';
  }
}