toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case AttachmentsSourceKey.sourceUrl:
      return 'SourceUrl';
    case AttachmentsSourceKey.s3FileUrl:
      return 'S3FileUrl';
    case AttachmentsSourceKey.attachmentReference:
      return 'AttachmentReference';
  }
}