toConfluencePageFieldName method
Implementation
ConfluencePageFieldName toConfluencePageFieldName() {
switch (this) {
case 'AUTHOR':
return ConfluencePageFieldName.author;
case 'CONTENT_STATUS':
return ConfluencePageFieldName.contentStatus;
case 'CREATED_DATE':
return ConfluencePageFieldName.createdDate;
case 'DISPLAY_URL':
return ConfluencePageFieldName.displayUrl;
case 'ITEM_TYPE':
return ConfluencePageFieldName.itemType;
case 'LABELS':
return ConfluencePageFieldName.labels;
case 'MODIFIED_DATE':
return ConfluencePageFieldName.modifiedDate;
case 'PARENT_ID':
return ConfluencePageFieldName.parentId;
case 'SPACE_KEY':
return ConfluencePageFieldName.spaceKey;
case 'SPACE_NAME':
return ConfluencePageFieldName.spaceName;
case 'URL':
return ConfluencePageFieldName.url;
case 'VERSION':
return ConfluencePageFieldName.version;
}
throw Exception('$this is not known in enum ConfluencePageFieldName');
}