toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ConfluenceAttachmentFieldName.author:
      return 'AUTHOR';
    case ConfluenceAttachmentFieldName.contentType:
      return 'CONTENT_TYPE';
    case ConfluenceAttachmentFieldName.createdDate:
      return 'CREATED_DATE';
    case ConfluenceAttachmentFieldName.displayUrl:
      return 'DISPLAY_URL';
    case ConfluenceAttachmentFieldName.fileSize:
      return 'FILE_SIZE';
    case ConfluenceAttachmentFieldName.itemType:
      return 'ITEM_TYPE';
    case ConfluenceAttachmentFieldName.parentId:
      return 'PARENT_ID';
    case ConfluenceAttachmentFieldName.spaceKey:
      return 'SPACE_KEY';
    case ConfluenceAttachmentFieldName.spaceName:
      return 'SPACE_NAME';
    case ConfluenceAttachmentFieldName.url:
      return 'URL';
    case ConfluenceAttachmentFieldName.version:
      return 'VERSION';
  }
}