toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case OperationType.deleteKnownHostKeys:
      return 'DeleteKnownHostKeys';
    case OperationType.deleteInstance:
      return 'DeleteInstance';
    case OperationType.createInstance:
      return 'CreateInstance';
    case OperationType.stopInstance:
      return 'StopInstance';
    case OperationType.startInstance:
      return 'StartInstance';
    case OperationType.rebootInstance:
      return 'RebootInstance';
    case OperationType.openInstancePublicPorts:
      return 'OpenInstancePublicPorts';
    case OperationType.putInstancePublicPorts:
      return 'PutInstancePublicPorts';
    case OperationType.closeInstancePublicPorts:
      return 'CloseInstancePublicPorts';
    case OperationType.allocateStaticIp:
      return 'AllocateStaticIp';
    case OperationType.releaseStaticIp:
      return 'ReleaseStaticIp';
    case OperationType.attachStaticIp:
      return 'AttachStaticIp';
    case OperationType.detachStaticIp:
      return 'DetachStaticIp';
    case OperationType.updateDomainEntry:
      return 'UpdateDomainEntry';
    case OperationType.deleteDomainEntry:
      return 'DeleteDomainEntry';
    case OperationType.createDomain:
      return 'CreateDomain';
    case OperationType.deleteDomain:
      return 'DeleteDomain';
    case OperationType.createInstanceSnapshot:
      return 'CreateInstanceSnapshot';
    case OperationType.deleteInstanceSnapshot:
      return 'DeleteInstanceSnapshot';
    case OperationType.createInstancesFromSnapshot:
      return 'CreateInstancesFromSnapshot';
    case OperationType.createLoadBalancer:
      return 'CreateLoadBalancer';
    case OperationType.deleteLoadBalancer:
      return 'DeleteLoadBalancer';
    case OperationType.attachInstancesToLoadBalancer:
      return 'AttachInstancesToLoadBalancer';
    case OperationType.detachInstancesFromLoadBalancer:
      return 'DetachInstancesFromLoadBalancer';
    case OperationType.updateLoadBalancerAttribute:
      return 'UpdateLoadBalancerAttribute';
    case OperationType.createLoadBalancerTlsCertificate:
      return 'CreateLoadBalancerTlsCertificate';
    case OperationType.deleteLoadBalancerTlsCertificate:
      return 'DeleteLoadBalancerTlsCertificate';
    case OperationType.attachLoadBalancerTlsCertificate:
      return 'AttachLoadBalancerTlsCertificate';
    case OperationType.createDisk:
      return 'CreateDisk';
    case OperationType.deleteDisk:
      return 'DeleteDisk';
    case OperationType.attachDisk:
      return 'AttachDisk';
    case OperationType.detachDisk:
      return 'DetachDisk';
    case OperationType.createDiskSnapshot:
      return 'CreateDiskSnapshot';
    case OperationType.deleteDiskSnapshot:
      return 'DeleteDiskSnapshot';
    case OperationType.createDiskFromSnapshot:
      return 'CreateDiskFromSnapshot';
    case OperationType.createRelationalDatabase:
      return 'CreateRelationalDatabase';
    case OperationType.updateRelationalDatabase:
      return 'UpdateRelationalDatabase';
    case OperationType.deleteRelationalDatabase:
      return 'DeleteRelationalDatabase';
    case OperationType.createRelationalDatabaseFromSnapshot:
      return 'CreateRelationalDatabaseFromSnapshot';
    case OperationType.createRelationalDatabaseSnapshot:
      return 'CreateRelationalDatabaseSnapshot';
    case OperationType.deleteRelationalDatabaseSnapshot:
      return 'DeleteRelationalDatabaseSnapshot';
    case OperationType.updateRelationalDatabaseParameters:
      return 'UpdateRelationalDatabaseParameters';
    case OperationType.startRelationalDatabase:
      return 'StartRelationalDatabase';
    case OperationType.rebootRelationalDatabase:
      return 'RebootRelationalDatabase';
    case OperationType.stopRelationalDatabase:
      return 'StopRelationalDatabase';
    case OperationType.enableAddOn:
      return 'EnableAddOn';
    case OperationType.disableAddOn:
      return 'DisableAddOn';
    case OperationType.putAlarm:
      return 'PutAlarm';
    case OperationType.getAlarms:
      return 'GetAlarms';
    case OperationType.deleteAlarm:
      return 'DeleteAlarm';
    case OperationType.testAlarm:
      return 'TestAlarm';
    case OperationType.createContactMethod:
      return 'CreateContactMethod';
    case OperationType.getContactMethods:
      return 'GetContactMethods';
    case OperationType.sendContactMethodVerification:
      return 'SendContactMethodVerification';
    case OperationType.deleteContactMethod:
      return 'DeleteContactMethod';
    case OperationType.createDistribution:
      return 'CreateDistribution';
    case OperationType.updateDistribution:
      return 'UpdateDistribution';
    case OperationType.deleteDistribution:
      return 'DeleteDistribution';
    case OperationType.resetDistributionCache:
      return 'ResetDistributionCache';
    case OperationType.attachCertificateToDistribution:
      return 'AttachCertificateToDistribution';
    case OperationType.detachCertificateFromDistribution:
      return 'DetachCertificateFromDistribution';
    case OperationType.updateDistributionBundle:
      return 'UpdateDistributionBundle';
    case OperationType.createCertificate:
      return 'CreateCertificate';
    case OperationType.deleteCertificate:
      return 'DeleteCertificate';
    case OperationType.createContainerService:
      return 'CreateContainerService';
    case OperationType.updateContainerService:
      return 'UpdateContainerService';
    case OperationType.deleteContainerService:
      return 'DeleteContainerService';
    case OperationType.createContainerServiceDeployment:
      return 'CreateContainerServiceDeployment';
    case OperationType.createContainerServiceRegistryLogin:
      return 'CreateContainerServiceRegistryLogin';
    case OperationType.registerContainerImage:
      return 'RegisterContainerImage';
    case OperationType.deleteContainerImage:
      return 'DeleteContainerImage';
  }
}