toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ConfluenceBlogFieldName.author:
      return 'AUTHOR';
    case ConfluenceBlogFieldName.displayUrl:
      return 'DISPLAY_URL';
    case ConfluenceBlogFieldName.itemType:
      return 'ITEM_TYPE';
    case ConfluenceBlogFieldName.labels:
      return 'LABELS';
    case ConfluenceBlogFieldName.publishDate:
      return 'PUBLISH_DATE';
    case ConfluenceBlogFieldName.spaceKey:
      return 'SPACE_KEY';
    case ConfluenceBlogFieldName.spaceName:
      return 'SPACE_NAME';
    case ConfluenceBlogFieldName.url:
      return 'URL';
    case ConfluenceBlogFieldName.version:
      return 'VERSION';
  }
}