|
| 1 | +// -------------------------------------------------------------------------------------------------------------------- |
| 2 | +// <copyright company="Aspose Pty Ltd" file="FieldLabel.cs"> |
| 3 | +// Copyright (c) 2003-2020 Aspose Pty Ltd |
| 4 | +// </copyright> |
| 5 | +// <summary> |
| 6 | +// Permission is hereby granted, free of charge, to any person obtaining a copy |
| 7 | +// of this software and associated documentation files (the "Software"), to deal |
| 8 | +// in the Software without restriction, including without limitation the rights |
| 9 | +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
| 10 | +// copies of the Software, and to permit persons to whom the Software is |
| 11 | +// furnished to do so, subject to the following conditions: |
| 12 | +// |
| 13 | +// The above copyright notice and this permission notice shall be included in all |
| 14 | +// copies or substantial portions of the Software. |
| 15 | +// |
| 16 | +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
| 17 | +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
| 18 | +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
| 19 | +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
| 20 | +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
| 21 | +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE |
| 22 | +// SOFTWARE. |
| 23 | +// </summary> |
| 24 | +// -------------------------------------------------------------------------------------------------------------------- |
| 25 | + |
| 26 | +namespace GroupDocs.Conversion.Cloud.Sdk.Model |
| 27 | +{ |
| 28 | + using System; |
| 29 | + using System.Collections; |
| 30 | + using System.Collections.Generic; |
| 31 | + using System.Runtime.Serialization; |
| 32 | + using System.Text; |
| 33 | + using Newtonsoft.Json; |
| 34 | + using Newtonsoft.Json.Converters; |
| 35 | + |
| 36 | + /// <summary> |
| 37 | + /// Represents field label |
| 38 | + /// </summary> |
| 39 | + public class FieldLabel |
| 40 | + { |
| 41 | + /// <summary> |
| 42 | + /// The field name |
| 43 | + /// </summary> |
| 44 | + /// <value>The field name</value> |
| 45 | + [JsonConverter(typeof(StringEnumConverter))] |
| 46 | + public enum FieldEnum |
| 47 | + { |
| 48 | + /// <summary> |
| 49 | + /// Enum Start for "Start" |
| 50 | + /// </summary> |
| 51 | + Start, |
| 52 | + |
| 53 | + /// <summary> |
| 54 | + /// Enum TabField for "TabField" |
| 55 | + /// </summary> |
| 56 | + TabField, |
| 57 | + |
| 58 | + /// <summary> |
| 59 | + /// Enum Subject for "Subject" |
| 60 | + /// </summary> |
| 61 | + Subject, |
| 62 | + |
| 63 | + /// <summary> |
| 64 | + /// Enum ShowTimeAs for "ShowTimeAs" |
| 65 | + /// </summary> |
| 66 | + ShowTimeAs, |
| 67 | + |
| 68 | + /// <summary> |
| 69 | + /// Enum Sent for "Sent" |
| 70 | + /// </summary> |
| 71 | + Sent, |
| 72 | + |
| 73 | + /// <summary> |
| 74 | + /// Enum RequiredAttendees for "RequiredAttendees" |
| 75 | + /// </summary> |
| 76 | + RequiredAttendees, |
| 77 | + |
| 78 | + /// <summary> |
| 79 | + /// Enum RecurrencePattern for "RecurrencePattern" |
| 80 | + /// </summary> |
| 81 | + RecurrencePattern, |
| 82 | + |
| 83 | + /// <summary> |
| 84 | + /// Enum Recurrence for "Recurrence" |
| 85 | + /// </summary> |
| 86 | + Recurrence, |
| 87 | + |
| 88 | + /// <summary> |
| 89 | + /// Enum PageHeader for "PageHeader" |
| 90 | + /// </summary> |
| 91 | + PageHeader, |
| 92 | + |
| 93 | + /// <summary> |
| 94 | + /// Enum Organizer for "Organizer" |
| 95 | + /// </summary> |
| 96 | + Organizer, |
| 97 | + |
| 98 | + /// <summary> |
| 99 | + /// Enum Location for "Location" |
| 100 | + /// </summary> |
| 101 | + Location, |
| 102 | + |
| 103 | + /// <summary> |
| 104 | + /// Enum Importance for "Importance" |
| 105 | + /// </summary> |
| 106 | + Importance, |
| 107 | + |
| 108 | + /// <summary> |
| 109 | + /// Enum From for "From" |
| 110 | + /// </summary> |
| 111 | + From, |
| 112 | + |
| 113 | + /// <summary> |
| 114 | + /// Enum End for "End" |
| 115 | + /// </summary> |
| 116 | + End, |
| 117 | + |
| 118 | + /// <summary> |
| 119 | + /// Enum Bcc for "Bcc" |
| 120 | + /// </summary> |
| 121 | + Bcc, |
| 122 | + |
| 123 | + /// <summary> |
| 124 | + /// Enum Attachments for "Attachments" |
| 125 | + /// </summary> |
| 126 | + Attachments, |
| 127 | + |
| 128 | + /// <summary> |
| 129 | + /// Enum To for "To" |
| 130 | + /// </summary> |
| 131 | + To |
| 132 | + } |
| 133 | + |
| 134 | + /// <summary> |
| 135 | + /// The field name |
| 136 | + /// </summary> |
| 137 | + public FieldEnum? Field { get; set; } |
| 138 | + |
| 139 | + /// <summary> |
| 140 | + /// The label e.g. \"Sender\" |
| 141 | + /// </summary> |
| 142 | + public string Label { get; set; } |
| 143 | + |
| 144 | + /// <summary> |
| 145 | + /// Get the string presentation of the object |
| 146 | + /// </summary> |
| 147 | + /// <returns>String presentation of the object</returns> |
| 148 | + public override string ToString() |
| 149 | + { |
| 150 | + var sb = new StringBuilder(); |
| 151 | + sb.Append("class FieldLabel {\n"); |
| 152 | + sb.Append(" Field: ").Append(this.Field).Append("\n"); |
| 153 | + sb.Append(" Label: ").Append(this.Label).Append("\n"); |
| 154 | + sb.Append("}\n"); |
| 155 | + return sb.ToString(); |
| 156 | + } |
| 157 | + } |
| 158 | +} |
0 commit comments