/* * 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 codecommit-2015-04-13.normal.json service model. */ using System; using Amazon.Runtime; namespace Amazon.CodeCommit { /// /// Constants used for properties of type ApprovalState. /// public class ApprovalState : ConstantClass { /// /// Constant APPROVE for ApprovalState /// public static readonly ApprovalState APPROVE = new ApprovalState("APPROVE"); /// /// Constant REVOKE for ApprovalState /// public static readonly ApprovalState REVOKE = new ApprovalState("REVOKE"); /// /// 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 ApprovalState(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 ApprovalState 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 ApprovalState(string value) { return FindValue(value); } } /// /// Constants used for properties of type ChangeTypeEnum. /// public class ChangeTypeEnum : ConstantClass { /// /// Constant A for ChangeTypeEnum /// public static readonly ChangeTypeEnum A = new ChangeTypeEnum("A"); /// /// Constant D for ChangeTypeEnum /// public static readonly ChangeTypeEnum D = new ChangeTypeEnum("D"); /// /// Constant M for ChangeTypeEnum /// public static readonly ChangeTypeEnum M = new ChangeTypeEnum("M"); /// /// 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 ChangeTypeEnum(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 ChangeTypeEnum 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 ChangeTypeEnum(string value) { return FindValue(value); } } /// /// Constants used for properties of type ConflictDetailLevelTypeEnum. /// public class ConflictDetailLevelTypeEnum : ConstantClass { /// /// Constant FILE_LEVEL for ConflictDetailLevelTypeEnum /// public static readonly ConflictDetailLevelTypeEnum FILE_LEVEL = new ConflictDetailLevelTypeEnum("FILE_LEVEL"); /// /// Constant LINE_LEVEL for ConflictDetailLevelTypeEnum /// public static readonly ConflictDetailLevelTypeEnum LINE_LEVEL = new ConflictDetailLevelTypeEnum("LINE_LEVEL"); /// /// 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 ConflictDetailLevelTypeEnum(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 ConflictDetailLevelTypeEnum 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 ConflictDetailLevelTypeEnum(string value) { return FindValue(value); } } /// /// Constants used for properties of type ConflictResolutionStrategyTypeEnum. /// public class ConflictResolutionStrategyTypeEnum : ConstantClass { /// /// Constant ACCEPT_DESTINATION for ConflictResolutionStrategyTypeEnum /// public static readonly ConflictResolutionStrategyTypeEnum ACCEPT_DESTINATION = new ConflictResolutionStrategyTypeEnum("ACCEPT_DESTINATION"); /// /// Constant ACCEPT_SOURCE for ConflictResolutionStrategyTypeEnum /// public static readonly ConflictResolutionStrategyTypeEnum ACCEPT_SOURCE = new ConflictResolutionStrategyTypeEnum("ACCEPT_SOURCE"); /// /// Constant AUTOMERGE for ConflictResolutionStrategyTypeEnum /// public static readonly ConflictResolutionStrategyTypeEnum AUTOMERGE = new ConflictResolutionStrategyTypeEnum("AUTOMERGE"); /// /// Constant NONE for ConflictResolutionStrategyTypeEnum /// public static readonly ConflictResolutionStrategyTypeEnum NONE = new ConflictResolutionStrategyTypeEnum("NONE"); /// /// 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 ConflictResolutionStrategyTypeEnum(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 ConflictResolutionStrategyTypeEnum 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 ConflictResolutionStrategyTypeEnum(string value) { return FindValue(value); } } /// /// Constants used for properties of type FileModeTypeEnum. /// public class FileModeTypeEnum : ConstantClass { /// /// Constant EXECUTABLE for FileModeTypeEnum /// public static readonly FileModeTypeEnum EXECUTABLE = new FileModeTypeEnum("EXECUTABLE"); /// /// Constant NORMAL for FileModeTypeEnum /// public static readonly FileModeTypeEnum NORMAL = new FileModeTypeEnum("NORMAL"); /// /// Constant SYMLINK for FileModeTypeEnum /// public static readonly FileModeTypeEnum SYMLINK = new FileModeTypeEnum("SYMLINK"); /// /// 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 FileModeTypeEnum(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 FileModeTypeEnum 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 FileModeTypeEnum(string value) { return FindValue(value); } } /// /// Constants used for properties of type MergeOptionTypeEnum. /// public class MergeOptionTypeEnum : ConstantClass { /// /// Constant FAST_FORWARD_MERGE for MergeOptionTypeEnum /// public static readonly MergeOptionTypeEnum FAST_FORWARD_MERGE = new MergeOptionTypeEnum("FAST_FORWARD_MERGE"); /// /// Constant SQUASH_MERGE for MergeOptionTypeEnum /// public static readonly MergeOptionTypeEnum SQUASH_MERGE = new MergeOptionTypeEnum("SQUASH_MERGE"); /// /// Constant THREE_WAY_MERGE for MergeOptionTypeEnum /// public static readonly MergeOptionTypeEnum THREE_WAY_MERGE = new MergeOptionTypeEnum("THREE_WAY_MERGE"); /// /// 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 MergeOptionTypeEnum(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 MergeOptionTypeEnum 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 MergeOptionTypeEnum(string value) { return FindValue(value); } } /// /// Constants used for properties of type ObjectTypeEnum. /// public class ObjectTypeEnum : ConstantClass { /// /// Constant DIRECTORY for ObjectTypeEnum /// public static readonly ObjectTypeEnum DIRECTORY = new ObjectTypeEnum("DIRECTORY"); /// /// Constant FILE for ObjectTypeEnum /// public static readonly ObjectTypeEnum FILE = new ObjectTypeEnum("FILE"); /// /// Constant GIT_LINK for ObjectTypeEnum /// public static readonly ObjectTypeEnum GIT_LINK = new ObjectTypeEnum("GIT_LINK"); /// /// Constant SYMBOLIC_LINK for ObjectTypeEnum /// public static readonly ObjectTypeEnum SYMBOLIC_LINK = new ObjectTypeEnum("SYMBOLIC_LINK"); /// /// 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 ObjectTypeEnum(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 ObjectTypeEnum 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 ObjectTypeEnum(string value) { return FindValue(value); } } /// /// Constants used for properties of type OrderEnum. /// public class OrderEnum : ConstantClass { /// /// Constant Ascending for OrderEnum /// public static readonly OrderEnum Ascending = new OrderEnum("ascending"); /// /// Constant Descending for OrderEnum /// public static readonly OrderEnum Descending = new OrderEnum("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 OrderEnum(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 OrderEnum 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 OrderEnum(string value) { return FindValue(value); } } /// /// Constants used for properties of type OverrideStatus. /// public class OverrideStatus : ConstantClass { /// /// Constant OVERRIDE for OverrideStatus /// public static readonly OverrideStatus OVERRIDE = new OverrideStatus("OVERRIDE"); /// /// Constant REVOKE for OverrideStatus /// public static readonly OverrideStatus REVOKE = new OverrideStatus("REVOKE"); /// /// 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 OverrideStatus(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 OverrideStatus 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 OverrideStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type PullRequestEventType. /// public class PullRequestEventType : ConstantClass { /// /// Constant PULL_REQUEST_APPROVAL_RULE_CREATED for PullRequestEventType /// public static readonly PullRequestEventType PULL_REQUEST_APPROVAL_RULE_CREATED = new PullRequestEventType("PULL_REQUEST_APPROVAL_RULE_CREATED"); /// /// Constant PULL_REQUEST_APPROVAL_RULE_DELETED for PullRequestEventType /// public static readonly PullRequestEventType PULL_REQUEST_APPROVAL_RULE_DELETED = new PullRequestEventType("PULL_REQUEST_APPROVAL_RULE_DELETED"); /// /// Constant PULL_REQUEST_APPROVAL_RULE_OVERRIDDEN for PullRequestEventType /// public static readonly PullRequestEventType PULL_REQUEST_APPROVAL_RULE_OVERRIDDEN = new PullRequestEventType("PULL_REQUEST_APPROVAL_RULE_OVERRIDDEN"); /// /// Constant PULL_REQUEST_APPROVAL_RULE_UPDATED for PullRequestEventType /// public static readonly PullRequestEventType PULL_REQUEST_APPROVAL_RULE_UPDATED = new PullRequestEventType("PULL_REQUEST_APPROVAL_RULE_UPDATED"); /// /// Constant PULL_REQUEST_APPROVAL_STATE_CHANGED for PullRequestEventType /// public static readonly PullRequestEventType PULL_REQUEST_APPROVAL_STATE_CHANGED = new PullRequestEventType("PULL_REQUEST_APPROVAL_STATE_CHANGED"); /// /// Constant PULL_REQUEST_CREATED for PullRequestEventType /// public static readonly PullRequestEventType PULL_REQUEST_CREATED = new PullRequestEventType("PULL_REQUEST_CREATED"); /// /// Constant PULL_REQUEST_MERGE_STATE_CHANGED for PullRequestEventType /// public static readonly PullRequestEventType PULL_REQUEST_MERGE_STATE_CHANGED = new PullRequestEventType("PULL_REQUEST_MERGE_STATE_CHANGED"); /// /// Constant PULL_REQUEST_SOURCE_REFERENCE_UPDATED for PullRequestEventType /// public static readonly PullRequestEventType PULL_REQUEST_SOURCE_REFERENCE_UPDATED = new PullRequestEventType("PULL_REQUEST_SOURCE_REFERENCE_UPDATED"); /// /// Constant PULL_REQUEST_STATUS_CHANGED for PullRequestEventType /// public static readonly PullRequestEventType PULL_REQUEST_STATUS_CHANGED = new PullRequestEventType("PULL_REQUEST_STATUS_CHANGED"); /// /// 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 PullRequestEventType(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 PullRequestEventType 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 PullRequestEventType(string value) { return FindValue(value); } } /// /// Constants used for properties of type PullRequestStatusEnum. /// public class PullRequestStatusEnum : ConstantClass { /// /// Constant CLOSED for PullRequestStatusEnum /// public static readonly PullRequestStatusEnum CLOSED = new PullRequestStatusEnum("CLOSED"); /// /// Constant OPEN for PullRequestStatusEnum /// public static readonly PullRequestStatusEnum OPEN = new PullRequestStatusEnum("OPEN"); /// /// 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 PullRequestStatusEnum(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 PullRequestStatusEnum 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 PullRequestStatusEnum(string value) { return FindValue(value); } } /// /// Constants used for properties of type RelativeFileVersionEnum. /// public class RelativeFileVersionEnum : ConstantClass { /// /// Constant AFTER for RelativeFileVersionEnum /// public static readonly RelativeFileVersionEnum AFTER = new RelativeFileVersionEnum("AFTER"); /// /// Constant BEFORE for RelativeFileVersionEnum /// public static readonly RelativeFileVersionEnum BEFORE = new RelativeFileVersionEnum("BEFORE"); /// /// 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 RelativeFileVersionEnum(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 RelativeFileVersionEnum 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 RelativeFileVersionEnum(string value) { return FindValue(value); } } /// /// Constants used for properties of type ReplacementTypeEnum. /// public class ReplacementTypeEnum : ConstantClass { /// /// Constant KEEP_BASE for ReplacementTypeEnum /// public static readonly ReplacementTypeEnum KEEP_BASE = new ReplacementTypeEnum("KEEP_BASE"); /// /// Constant KEEP_DESTINATION for ReplacementTypeEnum /// public static readonly ReplacementTypeEnum KEEP_DESTINATION = new ReplacementTypeEnum("KEEP_DESTINATION"); /// /// Constant KEEP_SOURCE for ReplacementTypeEnum /// public static readonly ReplacementTypeEnum KEEP_SOURCE = new ReplacementTypeEnum("KEEP_SOURCE"); /// /// Constant USE_NEW_CONTENT for ReplacementTypeEnum /// public static readonly ReplacementTypeEnum USE_NEW_CONTENT = new ReplacementTypeEnum("USE_NEW_CONTENT"); /// /// 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 ReplacementTypeEnum(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 ReplacementTypeEnum 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 ReplacementTypeEnum(string value) { return FindValue(value); } } /// /// Constants used for properties of type RepositoryTriggerEventEnum. /// public class RepositoryTriggerEventEnum : ConstantClass { /// /// Constant All for RepositoryTriggerEventEnum /// public static readonly RepositoryTriggerEventEnum All = new RepositoryTriggerEventEnum("all"); /// /// Constant CreateReference for RepositoryTriggerEventEnum /// public static readonly RepositoryTriggerEventEnum CreateReference = new RepositoryTriggerEventEnum("createReference"); /// /// Constant DeleteReference for RepositoryTriggerEventEnum /// public static readonly RepositoryTriggerEventEnum DeleteReference = new RepositoryTriggerEventEnum("deleteReference"); /// /// Constant UpdateReference for RepositoryTriggerEventEnum /// public static readonly RepositoryTriggerEventEnum UpdateReference = new RepositoryTriggerEventEnum("updateReference"); /// /// 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 RepositoryTriggerEventEnum(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 RepositoryTriggerEventEnum 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 RepositoryTriggerEventEnum(string value) { return FindValue(value); } } /// /// Constants used for properties of type SortByEnum. /// public class SortByEnum : ConstantClass { /// /// Constant LastModifiedDate for SortByEnum /// public static readonly SortByEnum LastModifiedDate = new SortByEnum("lastModifiedDate"); /// /// Constant RepositoryName for SortByEnum /// public static readonly SortByEnum RepositoryName = new SortByEnum("repositoryName"); /// /// 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 SortByEnum(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 SortByEnum 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 SortByEnum(string value) { return FindValue(value); } } }