/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the workdocs-2016-05-01.normal.json service model. */ using System; using Amazon.Runtime; namespace Amazon.WorkDocs { /// /// Constants used for properties of type ActivityType. /// public class ActivityType : ConstantClass { /// /// Constant DOCUMENT_ANNOTATION_ADDED for ActivityType /// public static readonly ActivityType DOCUMENT_ANNOTATION_ADDED = new ActivityType("DOCUMENT_ANNOTATION_ADDED"); /// /// Constant DOCUMENT_ANNOTATION_DELETED for ActivityType /// public static readonly ActivityType DOCUMENT_ANNOTATION_DELETED = new ActivityType("DOCUMENT_ANNOTATION_DELETED"); /// /// Constant DOCUMENT_CHECKED_IN for ActivityType /// public static readonly ActivityType DOCUMENT_CHECKED_IN = new ActivityType("DOCUMENT_CHECKED_IN"); /// /// Constant DOCUMENT_CHECKED_OUT for ActivityType /// public static readonly ActivityType DOCUMENT_CHECKED_OUT = new ActivityType("DOCUMENT_CHECKED_OUT"); /// /// Constant DOCUMENT_COMMENT_ADDED for ActivityType /// public static readonly ActivityType DOCUMENT_COMMENT_ADDED = new ActivityType("DOCUMENT_COMMENT_ADDED"); /// /// Constant DOCUMENT_COMMENT_DELETED for ActivityType /// public static readonly ActivityType DOCUMENT_COMMENT_DELETED = new ActivityType("DOCUMENT_COMMENT_DELETED"); /// /// Constant DOCUMENT_MOVED for ActivityType /// public static readonly ActivityType DOCUMENT_MOVED = new ActivityType("DOCUMENT_MOVED"); /// /// Constant DOCUMENT_RECYCLED for ActivityType /// public static readonly ActivityType DOCUMENT_RECYCLED = new ActivityType("DOCUMENT_RECYCLED"); /// /// Constant DOCUMENT_RENAMED for ActivityType /// public static readonly ActivityType DOCUMENT_RENAMED = new ActivityType("DOCUMENT_RENAMED"); /// /// Constant DOCUMENT_RESTORED for ActivityType /// public static readonly ActivityType DOCUMENT_RESTORED = new ActivityType("DOCUMENT_RESTORED"); /// /// Constant DOCUMENT_REVERTED for ActivityType /// public static readonly ActivityType DOCUMENT_REVERTED = new ActivityType("DOCUMENT_REVERTED"); /// /// Constant DOCUMENT_SHARE_PERMISSION_CHANGED for ActivityType /// public static readonly ActivityType DOCUMENT_SHARE_PERMISSION_CHANGED = new ActivityType("DOCUMENT_SHARE_PERMISSION_CHANGED"); /// /// Constant DOCUMENT_SHAREABLE_LINK_CREATED for ActivityType /// public static readonly ActivityType DOCUMENT_SHAREABLE_LINK_CREATED = new ActivityType("DOCUMENT_SHAREABLE_LINK_CREATED"); /// /// Constant DOCUMENT_SHAREABLE_LINK_PERMISSION_CHANGED for ActivityType /// public static readonly ActivityType DOCUMENT_SHAREABLE_LINK_PERMISSION_CHANGED = new ActivityType("DOCUMENT_SHAREABLE_LINK_PERMISSION_CHANGED"); /// /// Constant DOCUMENT_SHAREABLE_LINK_REMOVED for ActivityType /// public static readonly ActivityType DOCUMENT_SHAREABLE_LINK_REMOVED = new ActivityType("DOCUMENT_SHAREABLE_LINK_REMOVED"); /// /// Constant DOCUMENT_SHARED for ActivityType /// public static readonly ActivityType DOCUMENT_SHARED = new ActivityType("DOCUMENT_SHARED"); /// /// Constant DOCUMENT_UNSHARED for ActivityType /// public static readonly ActivityType DOCUMENT_UNSHARED = new ActivityType("DOCUMENT_UNSHARED"); /// /// Constant DOCUMENT_VERSION_DELETED for ActivityType /// public static readonly ActivityType DOCUMENT_VERSION_DELETED = new ActivityType("DOCUMENT_VERSION_DELETED"); /// /// Constant DOCUMENT_VERSION_DOWNLOADED for ActivityType /// public static readonly ActivityType DOCUMENT_VERSION_DOWNLOADED = new ActivityType("DOCUMENT_VERSION_DOWNLOADED"); /// /// Constant DOCUMENT_VERSION_UPLOADED for ActivityType /// public static readonly ActivityType DOCUMENT_VERSION_UPLOADED = new ActivityType("DOCUMENT_VERSION_UPLOADED"); /// /// Constant DOCUMENT_VERSION_VIEWED for ActivityType /// public static readonly ActivityType DOCUMENT_VERSION_VIEWED = new ActivityType("DOCUMENT_VERSION_VIEWED"); /// /// Constant FOLDER_CREATED for ActivityType /// public static readonly ActivityType FOLDER_CREATED = new ActivityType("FOLDER_CREATED"); /// /// Constant FOLDER_DELETED for ActivityType /// public static readonly ActivityType FOLDER_DELETED = new ActivityType("FOLDER_DELETED"); /// /// Constant FOLDER_MOVED for ActivityType /// public static readonly ActivityType FOLDER_MOVED = new ActivityType("FOLDER_MOVED"); /// /// Constant FOLDER_RECYCLED for ActivityType /// public static readonly ActivityType FOLDER_RECYCLED = new ActivityType("FOLDER_RECYCLED"); /// /// Constant FOLDER_RENAMED for ActivityType /// public static readonly ActivityType FOLDER_RENAMED = new ActivityType("FOLDER_RENAMED"); /// /// Constant FOLDER_RESTORED for ActivityType /// public static readonly ActivityType FOLDER_RESTORED = new ActivityType("FOLDER_RESTORED"); /// /// Constant FOLDER_SHARE_PERMISSION_CHANGED for ActivityType /// public static readonly ActivityType FOLDER_SHARE_PERMISSION_CHANGED = new ActivityType("FOLDER_SHARE_PERMISSION_CHANGED"); /// /// Constant FOLDER_SHAREABLE_LINK_CREATED for ActivityType /// public static readonly ActivityType FOLDER_SHAREABLE_LINK_CREATED = new ActivityType("FOLDER_SHAREABLE_LINK_CREATED"); /// /// Constant FOLDER_SHAREABLE_LINK_PERMISSION_CHANGED for ActivityType /// public static readonly ActivityType FOLDER_SHAREABLE_LINK_PERMISSION_CHANGED = new ActivityType("FOLDER_SHAREABLE_LINK_PERMISSION_CHANGED"); /// /// Constant FOLDER_SHAREABLE_LINK_REMOVED for ActivityType /// public static readonly ActivityType FOLDER_SHAREABLE_LINK_REMOVED = new ActivityType("FOLDER_SHAREABLE_LINK_REMOVED"); /// /// Constant FOLDER_SHARED for ActivityType /// public static readonly ActivityType FOLDER_SHARED = new ActivityType("FOLDER_SHARED"); /// /// Constant FOLDER_UNSHARED for ActivityType /// public static readonly ActivityType FOLDER_UNSHARED = new ActivityType("FOLDER_UNSHARED"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public ActivityType(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static ActivityType FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator ActivityType(string value) { return FindValue(value); } } /// /// Constants used for properties of type AdditionalResponseFieldType. /// public class AdditionalResponseFieldType : ConstantClass { /// /// Constant WEBURL for AdditionalResponseFieldType /// public static readonly AdditionalResponseFieldType WEBURL = new AdditionalResponseFieldType("WEBURL"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public AdditionalResponseFieldType(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static AdditionalResponseFieldType FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator AdditionalResponseFieldType(string value) { return FindValue(value); } } /// /// Constants used for properties of type BooleanEnumType. /// public class BooleanEnumType : ConstantClass { /// /// Constant FALSE for BooleanEnumType /// public static readonly BooleanEnumType FALSE = new BooleanEnumType("FALSE"); /// /// Constant TRUE for BooleanEnumType /// public static readonly BooleanEnumType TRUE = new BooleanEnumType("TRUE"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public BooleanEnumType(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static BooleanEnumType FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator BooleanEnumType(string value) { return FindValue(value); } } /// /// Constants used for properties of type CommentStatusType. /// public class CommentStatusType : ConstantClass { /// /// Constant DELETED for CommentStatusType /// public static readonly CommentStatusType DELETED = new CommentStatusType("DELETED"); /// /// Constant DRAFT for CommentStatusType /// public static readonly CommentStatusType DRAFT = new CommentStatusType("DRAFT"); /// /// Constant PUBLISHED for CommentStatusType /// public static readonly CommentStatusType PUBLISHED = new CommentStatusType("PUBLISHED"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public CommentStatusType(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static CommentStatusType FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator CommentStatusType(string value) { return FindValue(value); } } /// /// Constants used for properties of type CommentVisibilityType. /// public class CommentVisibilityType : ConstantClass { /// /// Constant PRIVATE for CommentVisibilityType /// public static readonly CommentVisibilityType PRIVATE = new CommentVisibilityType("PRIVATE"); /// /// Constant PUBLIC for CommentVisibilityType /// public static readonly CommentVisibilityType PUBLIC = new CommentVisibilityType("PUBLIC"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public CommentVisibilityType(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static CommentVisibilityType FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator CommentVisibilityType(string value) { return FindValue(value); } } /// /// Constants used for properties of type ContentCategoryType. /// public class ContentCategoryType : ConstantClass { /// /// Constant AUDIO for ContentCategoryType /// public static readonly ContentCategoryType AUDIO = new ContentCategoryType("AUDIO"); /// /// Constant DOCUMENT for ContentCategoryType /// public static readonly ContentCategoryType DOCUMENT = new ContentCategoryType("DOCUMENT"); /// /// Constant IMAGE for ContentCategoryType /// public static readonly ContentCategoryType IMAGE = new ContentCategoryType("IMAGE"); /// /// Constant OTHER for ContentCategoryType /// public static readonly ContentCategoryType OTHER = new ContentCategoryType("OTHER"); /// /// Constant PDF for ContentCategoryType /// public static readonly ContentCategoryType PDF = new ContentCategoryType("PDF"); /// /// Constant PRESENTATION for ContentCategoryType /// public static readonly ContentCategoryType PRESENTATION = new ContentCategoryType("PRESENTATION"); /// /// Constant SOURCE_CODE for ContentCategoryType /// public static readonly ContentCategoryType SOURCE_CODE = new ContentCategoryType("SOURCE_CODE"); /// /// Constant SPREADSHEET for ContentCategoryType /// public static readonly ContentCategoryType SPREADSHEET = new ContentCategoryType("SPREADSHEET"); /// /// Constant VIDEO for ContentCategoryType /// public static readonly ContentCategoryType VIDEO = new ContentCategoryType("VIDEO"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public ContentCategoryType(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static ContentCategoryType FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator ContentCategoryType(string value) { return FindValue(value); } } /// /// Constants used for properties of type DocumentSourceType. /// public class DocumentSourceType : ConstantClass { /// /// Constant ORIGINAL for DocumentSourceType /// public static readonly DocumentSourceType ORIGINAL = new DocumentSourceType("ORIGINAL"); /// /// Constant WITH_COMMENTS for DocumentSourceType /// public static readonly DocumentSourceType WITH_COMMENTS = new DocumentSourceType("WITH_COMMENTS"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public DocumentSourceType(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static DocumentSourceType FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator DocumentSourceType(string value) { return FindValue(value); } } /// /// Constants used for properties of type DocumentStatusType. /// public class DocumentStatusType : ConstantClass { /// /// Constant ACTIVE for DocumentStatusType /// public static readonly DocumentStatusType ACTIVE = new DocumentStatusType("ACTIVE"); /// /// Constant INITIALIZED for DocumentStatusType /// public static readonly DocumentStatusType INITIALIZED = new DocumentStatusType("INITIALIZED"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public DocumentStatusType(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static DocumentStatusType FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator DocumentStatusType(string value) { return FindValue(value); } } /// /// Constants used for properties of type DocumentThumbnailType. /// public class DocumentThumbnailType : ConstantClass { /// /// Constant LARGE for DocumentThumbnailType /// public static readonly DocumentThumbnailType LARGE = new DocumentThumbnailType("LARGE"); /// /// Constant SMALL for DocumentThumbnailType /// public static readonly DocumentThumbnailType SMALL = new DocumentThumbnailType("SMALL"); /// /// Constant SMALL_HQ for DocumentThumbnailType /// public static readonly DocumentThumbnailType SMALL_HQ = new DocumentThumbnailType("SMALL_HQ"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public DocumentThumbnailType(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static DocumentThumbnailType FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator DocumentThumbnailType(string value) { return FindValue(value); } } /// /// Constants used for properties of type DocumentVersionStatus. /// public class DocumentVersionStatus : ConstantClass { /// /// Constant ACTIVE for DocumentVersionStatus /// public static readonly DocumentVersionStatus ACTIVE = new DocumentVersionStatus("ACTIVE"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public DocumentVersionStatus(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static DocumentVersionStatus FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator DocumentVersionStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type FolderContentType. /// public class FolderContentType : ConstantClass { /// /// Constant ALL for FolderContentType /// public static readonly FolderContentType ALL = new FolderContentType("ALL"); /// /// Constant DOCUMENT for FolderContentType /// public static readonly FolderContentType DOCUMENT = new FolderContentType("DOCUMENT"); /// /// Constant FOLDER for FolderContentType /// public static readonly FolderContentType FOLDER = new FolderContentType("FOLDER"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public FolderContentType(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static FolderContentType FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator FolderContentType(string value) { return FindValue(value); } } /// /// Constants used for properties of type LanguageCodeType. /// public class LanguageCodeType : ConstantClass { /// /// Constant AR for LanguageCodeType /// public static readonly LanguageCodeType AR = new LanguageCodeType("AR"); /// /// Constant BG for LanguageCodeType /// public static readonly LanguageCodeType BG = new LanguageCodeType("BG"); /// /// Constant BN for LanguageCodeType /// public static readonly LanguageCodeType BN = new LanguageCodeType("BN"); /// /// Constant CS for LanguageCodeType /// public static readonly LanguageCodeType CS = new LanguageCodeType("CS"); /// /// Constant DA for LanguageCodeType /// public static readonly LanguageCodeType DA = new LanguageCodeType("DA"); /// /// Constant DE for LanguageCodeType /// public static readonly LanguageCodeType DE = new LanguageCodeType("DE"); /// /// Constant DEFAULT for LanguageCodeType /// public static readonly LanguageCodeType DEFAULT = new LanguageCodeType("DEFAULT"); /// /// Constant EL for LanguageCodeType /// public static readonly LanguageCodeType EL = new LanguageCodeType("EL"); /// /// Constant EN for LanguageCodeType /// public static readonly LanguageCodeType EN = new LanguageCodeType("EN"); /// /// Constant ES for LanguageCodeType /// public static readonly LanguageCodeType ES = new LanguageCodeType("ES"); /// /// Constant FA for LanguageCodeType /// public static readonly LanguageCodeType FA = new LanguageCodeType("FA"); /// /// Constant FI for LanguageCodeType /// public static readonly LanguageCodeType FI = new LanguageCodeType("FI"); /// /// Constant FR for LanguageCodeType /// public static readonly LanguageCodeType FR = new LanguageCodeType("FR"); /// /// Constant HI for LanguageCodeType /// public static readonly LanguageCodeType HI = new LanguageCodeType("HI"); /// /// Constant HU for LanguageCodeType /// public static readonly LanguageCodeType HU = new LanguageCodeType("HU"); /// /// Constant ID for LanguageCodeType /// public static readonly LanguageCodeType ID = new LanguageCodeType("ID"); /// /// Constant IT for LanguageCodeType /// public static readonly LanguageCodeType IT = new LanguageCodeType("IT"); /// /// Constant JA for LanguageCodeType /// public static readonly LanguageCodeType JA = new LanguageCodeType("JA"); /// /// Constant KO for LanguageCodeType /// public static readonly LanguageCodeType KO = new LanguageCodeType("KO"); /// /// Constant LT for LanguageCodeType /// public static readonly LanguageCodeType LT = new LanguageCodeType("LT"); /// /// Constant LV for LanguageCodeType /// public static readonly LanguageCodeType LV = new LanguageCodeType("LV"); /// /// Constant NL for LanguageCodeType /// public static readonly LanguageCodeType NL = new LanguageCodeType("NL"); /// /// Constant NO for LanguageCodeType /// public static readonly LanguageCodeType NO = new LanguageCodeType("NO"); /// /// Constant PT for LanguageCodeType /// public static readonly LanguageCodeType PT = new LanguageCodeType("PT"); /// /// Constant RO for LanguageCodeType /// public static readonly LanguageCodeType RO = new LanguageCodeType("RO"); /// /// Constant RU for LanguageCodeType /// public static readonly LanguageCodeType RU = new LanguageCodeType("RU"); /// /// Constant SV for LanguageCodeType /// public static readonly LanguageCodeType SV = new LanguageCodeType("SV"); /// /// Constant SW for LanguageCodeType /// public static readonly LanguageCodeType SW = new LanguageCodeType("SW"); /// /// Constant TH for LanguageCodeType /// public static readonly LanguageCodeType TH = new LanguageCodeType("TH"); /// /// Constant TR for LanguageCodeType /// public static readonly LanguageCodeType TR = new LanguageCodeType("TR"); /// /// Constant ZH for LanguageCodeType /// public static readonly LanguageCodeType ZH = new LanguageCodeType("ZH"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public LanguageCodeType(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static LanguageCodeType FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator LanguageCodeType(string value) { return FindValue(value); } } /// /// Constants used for properties of type LocaleType. /// public class LocaleType : ConstantClass { /// /// Constant De for LocaleType /// public static readonly LocaleType De = new LocaleType("de"); /// /// Constant Default for LocaleType /// public static readonly LocaleType Default = new LocaleType("default"); /// /// Constant En for LocaleType /// public static readonly LocaleType En = new LocaleType("en"); /// /// Constant Es for LocaleType /// public static readonly LocaleType Es = new LocaleType("es"); /// /// Constant Fr for LocaleType /// public static readonly LocaleType Fr = new LocaleType("fr"); /// /// Constant Ja for LocaleType /// public static readonly LocaleType Ja = new LocaleType("ja"); /// /// Constant Ko for LocaleType /// public static readonly LocaleType Ko = new LocaleType("ko"); /// /// Constant Pt_BR for LocaleType /// public static readonly LocaleType Pt_BR = new LocaleType("pt_BR"); /// /// Constant Ru for LocaleType /// public static readonly LocaleType Ru = new LocaleType("ru"); /// /// Constant Zh_CN for LocaleType /// public static readonly LocaleType Zh_CN = new LocaleType("zh_CN"); /// /// Constant Zh_TW for LocaleType /// public static readonly LocaleType Zh_TW = new LocaleType("zh_TW"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public LocaleType(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static LocaleType FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator LocaleType(string value) { return FindValue(value); } } /// /// Constants used for properties of type OrderByFieldType. /// public class OrderByFieldType : ConstantClass { /// /// Constant CREATED_TIMESTAMP for OrderByFieldType /// public static readonly OrderByFieldType CREATED_TIMESTAMP = new OrderByFieldType("CREATED_TIMESTAMP"); /// /// Constant MODIFIED_TIMESTAMP for OrderByFieldType /// public static readonly OrderByFieldType MODIFIED_TIMESTAMP = new OrderByFieldType("MODIFIED_TIMESTAMP"); /// /// Constant NAME for OrderByFieldType /// public static readonly OrderByFieldType NAME = new OrderByFieldType("NAME"); /// /// Constant RELEVANCE for OrderByFieldType /// public static readonly OrderByFieldType RELEVANCE = new OrderByFieldType("RELEVANCE"); /// /// Constant SIZE for OrderByFieldType /// public static readonly OrderByFieldType SIZE = new OrderByFieldType("SIZE"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public OrderByFieldType(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static OrderByFieldType FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator OrderByFieldType(string value) { return FindValue(value); } } /// /// Constants used for properties of type OrderType. /// public class OrderType : ConstantClass { /// /// Constant ASCENDING for OrderType /// public static readonly OrderType ASCENDING = new OrderType("ASCENDING"); /// /// Constant DESCENDING for OrderType /// public static readonly OrderType DESCENDING = new OrderType("DESCENDING"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public OrderType(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static OrderType FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator OrderType(string value) { return FindValue(value); } } /// /// Constants used for properties of type PrincipalRoleType. /// public class PrincipalRoleType : ConstantClass { /// /// Constant CONTRIBUTOR for PrincipalRoleType /// public static readonly PrincipalRoleType CONTRIBUTOR = new PrincipalRoleType("CONTRIBUTOR"); /// /// Constant COOWNER for PrincipalRoleType /// public static readonly PrincipalRoleType COOWNER = new PrincipalRoleType("COOWNER"); /// /// Constant OWNER for PrincipalRoleType /// public static readonly PrincipalRoleType OWNER = new PrincipalRoleType("OWNER"); /// /// Constant VIEWER for PrincipalRoleType /// public static readonly PrincipalRoleType VIEWER = new PrincipalRoleType("VIEWER"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public PrincipalRoleType(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static PrincipalRoleType FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator PrincipalRoleType(string value) { return FindValue(value); } } /// /// Constants used for properties of type PrincipalType. /// public class PrincipalType : ConstantClass { /// /// Constant ANONYMOUS for PrincipalType /// public static readonly PrincipalType ANONYMOUS = new PrincipalType("ANONYMOUS"); /// /// Constant GROUP for PrincipalType /// public static readonly PrincipalType GROUP = new PrincipalType("GROUP"); /// /// Constant INVITE for PrincipalType /// public static readonly PrincipalType INVITE = new PrincipalType("INVITE"); /// /// Constant ORGANIZATION for PrincipalType /// public static readonly PrincipalType ORGANIZATION = new PrincipalType("ORGANIZATION"); /// /// Constant USER for PrincipalType /// public static readonly PrincipalType USER = new PrincipalType("USER"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public PrincipalType(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static PrincipalType FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator PrincipalType(string value) { return FindValue(value); } } /// /// Constants used for properties of type ResourceCollectionType. /// public class ResourceCollectionType : ConstantClass { /// /// Constant SHARED_WITH_ME for ResourceCollectionType /// public static readonly ResourceCollectionType SHARED_WITH_ME = new ResourceCollectionType("SHARED_WITH_ME"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public ResourceCollectionType(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static ResourceCollectionType FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator ResourceCollectionType(string value) { return FindValue(value); } } /// /// Constants used for properties of type ResourceSortType. /// public class ResourceSortType : ConstantClass { /// /// Constant DATE for ResourceSortType /// public static readonly ResourceSortType DATE = new ResourceSortType("DATE"); /// /// Constant NAME for ResourceSortType /// public static readonly ResourceSortType NAME = new ResourceSortType("NAME"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public ResourceSortType(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static ResourceSortType FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator ResourceSortType(string value) { return FindValue(value); } } /// /// Constants used for properties of type ResourceStateType. /// public class ResourceStateType : ConstantClass { /// /// Constant ACTIVE for ResourceStateType /// public static readonly ResourceStateType ACTIVE = new ResourceStateType("ACTIVE"); /// /// Constant RECYCLED for ResourceStateType /// public static readonly ResourceStateType RECYCLED = new ResourceStateType("RECYCLED"); /// /// Constant RECYCLING for ResourceStateType /// public static readonly ResourceStateType RECYCLING = new ResourceStateType("RECYCLING"); /// /// Constant RESTORING for ResourceStateType /// public static readonly ResourceStateType RESTORING = new ResourceStateType("RESTORING"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public ResourceStateType(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static ResourceStateType FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator ResourceStateType(string value) { return FindValue(value); } } /// /// Constants used for properties of type ResourceType. /// public class ResourceType : ConstantClass { /// /// Constant DOCUMENT for ResourceType /// public static readonly ResourceType DOCUMENT = new ResourceType("DOCUMENT"); /// /// Constant FOLDER for ResourceType /// public static readonly ResourceType FOLDER = new ResourceType("FOLDER"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public ResourceType(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static ResourceType FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator ResourceType(string value) { return FindValue(value); } } /// /// Constants used for properties of type ResponseItemType. /// public class ResponseItemType : ConstantClass { /// /// Constant COMMENT for ResponseItemType /// public static readonly ResponseItemType COMMENT = new ResponseItemType("COMMENT"); /// /// Constant DOCUMENT for ResponseItemType /// public static readonly ResponseItemType DOCUMENT = new ResponseItemType("DOCUMENT"); /// /// Constant DOCUMENT_VERSION for ResponseItemType /// public static readonly ResponseItemType DOCUMENT_VERSION = new ResponseItemType("DOCUMENT_VERSION"); /// /// Constant FOLDER for ResponseItemType /// public static readonly ResponseItemType FOLDER = new ResponseItemType("FOLDER"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public ResponseItemType(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static ResponseItemType FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator ResponseItemType(string value) { return FindValue(value); } } /// /// Constants used for properties of type RolePermissionType. /// public class RolePermissionType : ConstantClass { /// /// Constant DIRECT for RolePermissionType /// public static readonly RolePermissionType DIRECT = new RolePermissionType("DIRECT"); /// /// Constant INHERITED for RolePermissionType /// public static readonly RolePermissionType INHERITED = new RolePermissionType("INHERITED"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public RolePermissionType(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static RolePermissionType FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator RolePermissionType(string value) { return FindValue(value); } } /// /// Constants used for properties of type RoleType. /// public class RoleType : ConstantClass { /// /// Constant CONTRIBUTOR for RoleType /// public static readonly RoleType CONTRIBUTOR = new RoleType("CONTRIBUTOR"); /// /// Constant COOWNER for RoleType /// public static readonly RoleType COOWNER = new RoleType("COOWNER"); /// /// Constant OWNER for RoleType /// public static readonly RoleType OWNER = new RoleType("OWNER"); /// /// Constant VIEWER for RoleType /// public static readonly RoleType VIEWER = new RoleType("VIEWER"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public RoleType(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static RoleType FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator RoleType(string value) { return FindValue(value); } } /// /// Constants used for properties of type SearchCollectionType. /// public class SearchCollectionType : ConstantClass { /// /// Constant OWNED for SearchCollectionType /// public static readonly SearchCollectionType OWNED = new SearchCollectionType("OWNED"); /// /// Constant SHARED_WITH_ME for SearchCollectionType /// public static readonly SearchCollectionType SHARED_WITH_ME = new SearchCollectionType("SHARED_WITH_ME"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public SearchCollectionType(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static SearchCollectionType FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator SearchCollectionType(string value) { return FindValue(value); } } /// /// Constants used for properties of type SearchQueryScopeType. /// public class SearchQueryScopeType : ConstantClass { /// /// Constant CONTENT for SearchQueryScopeType /// public static readonly SearchQueryScopeType CONTENT = new SearchQueryScopeType("CONTENT"); /// /// Constant NAME for SearchQueryScopeType /// public static readonly SearchQueryScopeType NAME = new SearchQueryScopeType("NAME"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public SearchQueryScopeType(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static SearchQueryScopeType FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator SearchQueryScopeType(string value) { return FindValue(value); } } /// /// Constants used for properties of type SearchResourceType. /// public class SearchResourceType : ConstantClass { /// /// Constant COMMENT for SearchResourceType /// public static readonly SearchResourceType COMMENT = new SearchResourceType("COMMENT"); /// /// Constant DOCUMENT for SearchResourceType /// public static readonly SearchResourceType DOCUMENT = new SearchResourceType("DOCUMENT"); /// /// Constant DOCUMENT_VERSION for SearchResourceType /// public static readonly SearchResourceType DOCUMENT_VERSION = new SearchResourceType("DOCUMENT_VERSION"); /// /// Constant FOLDER for SearchResourceType /// public static readonly SearchResourceType FOLDER = new SearchResourceType("FOLDER"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public SearchResourceType(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static SearchResourceType FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator SearchResourceType(string value) { return FindValue(value); } } /// /// Constants used for properties of type ShareStatusType. /// public class ShareStatusType : ConstantClass { /// /// Constant FAILURE for ShareStatusType /// public static readonly ShareStatusType FAILURE = new ShareStatusType("FAILURE"); /// /// Constant SUCCESS for ShareStatusType /// public static readonly ShareStatusType SUCCESS = new ShareStatusType("SUCCESS"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public ShareStatusType(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static ShareStatusType FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator ShareStatusType(string value) { return FindValue(value); } } /// /// Constants used for properties of type SortOrder. /// public class SortOrder : ConstantClass { /// /// Constant ASC for SortOrder /// public static readonly SortOrder ASC = new SortOrder("ASC"); /// /// Constant DESC for SortOrder /// public static readonly SortOrder DESC = new SortOrder("DESC"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public SortOrder(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static SortOrder FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator SortOrder(string value) { return FindValue(value); } } /// /// Constants used for properties of type StorageType. /// public class StorageType : ConstantClass { /// /// Constant QUOTA for StorageType /// public static readonly StorageType QUOTA = new StorageType("QUOTA"); /// /// Constant UNLIMITED for StorageType /// public static readonly StorageType UNLIMITED = new StorageType("UNLIMITED"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public StorageType(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static StorageType FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator StorageType(string value) { return FindValue(value); } } /// /// Constants used for properties of type SubscriptionProtocolType. /// public class SubscriptionProtocolType : ConstantClass { /// /// Constant HTTPS for SubscriptionProtocolType /// public static readonly SubscriptionProtocolType HTTPS = new SubscriptionProtocolType("HTTPS"); /// /// Constant SQS for SubscriptionProtocolType /// public static readonly SubscriptionProtocolType SQS = new SubscriptionProtocolType("SQS"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public SubscriptionProtocolType(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static SubscriptionProtocolType FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator SubscriptionProtocolType(string value) { return FindValue(value); } } /// /// Constants used for properties of type SubscriptionType. /// public class SubscriptionType : ConstantClass { /// /// Constant ALL for SubscriptionType /// public static readonly SubscriptionType ALL = new SubscriptionType("ALL"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public SubscriptionType(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static SubscriptionType FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator SubscriptionType(string value) { return FindValue(value); } } /// /// Constants used for properties of type UserFilterType. /// public class UserFilterType : ConstantClass { /// /// Constant ACTIVE_PENDING for UserFilterType /// public static readonly UserFilterType ACTIVE_PENDING = new UserFilterType("ACTIVE_PENDING"); /// /// Constant ALL for UserFilterType /// public static readonly UserFilterType ALL = new UserFilterType("ALL"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public UserFilterType(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static UserFilterType FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator UserFilterType(string value) { return FindValue(value); } } /// /// Constants used for properties of type UserSortType. /// public class UserSortType : ConstantClass { /// /// Constant FULL_NAME for UserSortType /// public static readonly UserSortType FULL_NAME = new UserSortType("FULL_NAME"); /// /// Constant STORAGE_LIMIT for UserSortType /// public static readonly UserSortType STORAGE_LIMIT = new UserSortType("STORAGE_LIMIT"); /// /// Constant STORAGE_USED for UserSortType /// public static readonly UserSortType STORAGE_USED = new UserSortType("STORAGE_USED"); /// /// Constant USER_NAME for UserSortType /// public static readonly UserSortType USER_NAME = new UserSortType("USER_NAME"); /// /// Constant USER_STATUS for UserSortType /// public static readonly UserSortType USER_STATUS = new UserSortType("USER_STATUS"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public UserSortType(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static UserSortType FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator UserSortType(string value) { return FindValue(value); } } /// /// Constants used for properties of type UserStatusType. /// public class UserStatusType : ConstantClass { /// /// Constant ACTIVE for UserStatusType /// public static readonly UserStatusType ACTIVE = new UserStatusType("ACTIVE"); /// /// Constant INACTIVE for UserStatusType /// public static readonly UserStatusType INACTIVE = new UserStatusType("INACTIVE"); /// /// Constant PENDING for UserStatusType /// public static readonly UserStatusType PENDING = new UserStatusType("PENDING"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public UserStatusType(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static UserStatusType FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator UserStatusType(string value) { return FindValue(value); } } /// /// Constants used for properties of type UserType. /// public class UserType : ConstantClass { /// /// Constant ADMIN for UserType /// public static readonly UserType ADMIN = new UserType("ADMIN"); /// /// Constant MINIMALUSER for UserType /// public static readonly UserType MINIMALUSER = new UserType("MINIMALUSER"); /// /// Constant POWERUSER for UserType /// public static readonly UserType POWERUSER = new UserType("POWERUSER"); /// /// Constant USER for UserType /// public static readonly UserType USER = new UserType("USER"); /// /// Constant WORKSPACESUSER for UserType /// public static readonly UserType WORKSPACESUSER = new UserType("WORKSPACESUSER"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public UserType(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static UserType FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator UserType(string value) { return FindValue(value); } } }