toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ConfluencePageFieldName.author:
      return 'AUTHOR';
    case ConfluencePageFieldName.contentStatus:
      return 'CONTENT_STATUS';
    case ConfluencePageFieldName.createdDate:
      return 'CREATED_DATE';
    case ConfluencePageFieldName.displayUrl:
      return 'DISPLAY_URL';
    case ConfluencePageFieldName.itemType:
      return 'ITEM_TYPE';
    case ConfluencePageFieldName.labels:
      return 'LABELS';
    case ConfluencePageFieldName.modifiedDate:
      return 'MODIFIED_DATE';
    case ConfluencePageFieldName.parentId:
      return 'PARENT_ID';
    case ConfluencePageFieldName.spaceKey:
      return 'SPACE_KEY';
    case ConfluencePageFieldName.spaceName:
      return 'SPACE_NAME';
    case ConfluencePageFieldName.url:
      return 'URL';
    case ConfluencePageFieldName.version:
      return 'VERSION';
  }
}