toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case DocumentType.command:
      return 'Command';
    case DocumentType.policy:
      return 'Policy';
    case DocumentType.automation:
      return 'Automation';
    case DocumentType.session:
      return 'Session';
    case DocumentType.package:
      return 'Package';
    case DocumentType.applicationConfiguration:
      return 'ApplicationConfiguration';
    case DocumentType.applicationConfigurationSchema:
      return 'ApplicationConfigurationSchema';
    case DocumentType.deploymentStrategy:
      return 'DeploymentStrategy';
    case DocumentType.changeCalendar:
      return 'ChangeCalendar';
    case DocumentType.automationChangeTemplate:
      return 'Automation.ChangeTemplate';
  }
}