/* * 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 greengrassv2-2020-11-30.normal.json service model. */ using System; using Amazon.Runtime; namespace Amazon.GreengrassV2 { /// /// Constants used for properties of type CloudComponentState. /// public class CloudComponentState : ConstantClass { /// /// Constant DEPLOYABLE for CloudComponentState /// public static readonly CloudComponentState DEPLOYABLE = new CloudComponentState("DEPLOYABLE"); /// /// Constant DEPRECATED for CloudComponentState /// public static readonly CloudComponentState DEPRECATED = new CloudComponentState("DEPRECATED"); /// /// Constant FAILED for CloudComponentState /// public static readonly CloudComponentState FAILED = new CloudComponentState("FAILED"); /// /// Constant INITIATED for CloudComponentState /// public static readonly CloudComponentState INITIATED = new CloudComponentState("INITIATED"); /// /// Constant REQUESTED for CloudComponentState /// public static readonly CloudComponentState REQUESTED = new CloudComponentState("REQUESTED"); /// /// 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 CloudComponentState(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 CloudComponentState 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 CloudComponentState(string value) { return FindValue(value); } } /// /// Constants used for properties of type ComponentDependencyType. /// public class ComponentDependencyType : ConstantClass { /// /// Constant HARD for ComponentDependencyType /// public static readonly ComponentDependencyType HARD = new ComponentDependencyType("HARD"); /// /// Constant SOFT for ComponentDependencyType /// public static readonly ComponentDependencyType SOFT = new ComponentDependencyType("SOFT"); /// /// 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 ComponentDependencyType(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 ComponentDependencyType 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 ComponentDependencyType(string value) { return FindValue(value); } } /// /// Constants used for properties of type ComponentVisibilityScope. /// public class ComponentVisibilityScope : ConstantClass { /// /// Constant PRIVATE for ComponentVisibilityScope /// public static readonly ComponentVisibilityScope PRIVATE = new ComponentVisibilityScope("PRIVATE"); /// /// Constant PUBLIC for ComponentVisibilityScope /// public static readonly ComponentVisibilityScope PUBLIC = new ComponentVisibilityScope("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 ComponentVisibilityScope(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 ComponentVisibilityScope 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 ComponentVisibilityScope(string value) { return FindValue(value); } } /// /// Constants used for properties of type CoreDeviceStatus. /// public class CoreDeviceStatus : ConstantClass { /// /// Constant HEALTHY for CoreDeviceStatus /// public static readonly CoreDeviceStatus HEALTHY = new CoreDeviceStatus("HEALTHY"); /// /// Constant UNHEALTHY for CoreDeviceStatus /// public static readonly CoreDeviceStatus UNHEALTHY = new CoreDeviceStatus("UNHEALTHY"); /// /// 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 CoreDeviceStatus(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 CoreDeviceStatus 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 CoreDeviceStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type DeploymentComponentUpdatePolicyAction. /// public class DeploymentComponentUpdatePolicyAction : ConstantClass { /// /// Constant NOTIFY_COMPONENTS for DeploymentComponentUpdatePolicyAction /// public static readonly DeploymentComponentUpdatePolicyAction NOTIFY_COMPONENTS = new DeploymentComponentUpdatePolicyAction("NOTIFY_COMPONENTS"); /// /// Constant SKIP_NOTIFY_COMPONENTS for DeploymentComponentUpdatePolicyAction /// public static readonly DeploymentComponentUpdatePolicyAction SKIP_NOTIFY_COMPONENTS = new DeploymentComponentUpdatePolicyAction("SKIP_NOTIFY_COMPONENTS"); /// /// 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 DeploymentComponentUpdatePolicyAction(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 DeploymentComponentUpdatePolicyAction 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 DeploymentComponentUpdatePolicyAction(string value) { return FindValue(value); } } /// /// Constants used for properties of type DeploymentFailureHandlingPolicy. /// public class DeploymentFailureHandlingPolicy : ConstantClass { /// /// Constant DO_NOTHING for DeploymentFailureHandlingPolicy /// public static readonly DeploymentFailureHandlingPolicy DO_NOTHING = new DeploymentFailureHandlingPolicy("DO_NOTHING"); /// /// Constant ROLLBACK for DeploymentFailureHandlingPolicy /// public static readonly DeploymentFailureHandlingPolicy ROLLBACK = new DeploymentFailureHandlingPolicy("ROLLBACK"); /// /// 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 DeploymentFailureHandlingPolicy(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 DeploymentFailureHandlingPolicy 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 DeploymentFailureHandlingPolicy(string value) { return FindValue(value); } } /// /// Constants used for properties of type DeploymentHistoryFilter. /// public class DeploymentHistoryFilter : ConstantClass { /// /// Constant ALL for DeploymentHistoryFilter /// public static readonly DeploymentHistoryFilter ALL = new DeploymentHistoryFilter("ALL"); /// /// Constant LATEST_ONLY for DeploymentHistoryFilter /// public static readonly DeploymentHistoryFilter LATEST_ONLY = new DeploymentHistoryFilter("LATEST_ONLY"); /// /// 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 DeploymentHistoryFilter(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 DeploymentHistoryFilter 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 DeploymentHistoryFilter(string value) { return FindValue(value); } } /// /// Constants used for properties of type DeploymentStatus. /// public class DeploymentStatus : ConstantClass { /// /// Constant ACTIVE for DeploymentStatus /// public static readonly DeploymentStatus ACTIVE = new DeploymentStatus("ACTIVE"); /// /// Constant CANCELED for DeploymentStatus /// public static readonly DeploymentStatus CANCELED = new DeploymentStatus("CANCELED"); /// /// Constant COMPLETED for DeploymentStatus /// public static readonly DeploymentStatus COMPLETED = new DeploymentStatus("COMPLETED"); /// /// Constant FAILED for DeploymentStatus /// public static readonly DeploymentStatus FAILED = new DeploymentStatus("FAILED"); /// /// Constant INACTIVE for DeploymentStatus /// public static readonly DeploymentStatus INACTIVE = new DeploymentStatus("INACTIVE"); /// /// 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 DeploymentStatus(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 DeploymentStatus 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 DeploymentStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type EffectiveDeploymentExecutionStatus. /// public class EffectiveDeploymentExecutionStatus : ConstantClass { /// /// Constant CANCELED for EffectiveDeploymentExecutionStatus /// public static readonly EffectiveDeploymentExecutionStatus CANCELED = new EffectiveDeploymentExecutionStatus("CANCELED"); /// /// Constant COMPLETED for EffectiveDeploymentExecutionStatus /// public static readonly EffectiveDeploymentExecutionStatus COMPLETED = new EffectiveDeploymentExecutionStatus("COMPLETED"); /// /// Constant FAILED for EffectiveDeploymentExecutionStatus /// public static readonly EffectiveDeploymentExecutionStatus FAILED = new EffectiveDeploymentExecutionStatus("FAILED"); /// /// Constant IN_PROGRESS for EffectiveDeploymentExecutionStatus /// public static readonly EffectiveDeploymentExecutionStatus IN_PROGRESS = new EffectiveDeploymentExecutionStatus("IN_PROGRESS"); /// /// Constant QUEUED for EffectiveDeploymentExecutionStatus /// public static readonly EffectiveDeploymentExecutionStatus QUEUED = new EffectiveDeploymentExecutionStatus("QUEUED"); /// /// Constant REJECTED for EffectiveDeploymentExecutionStatus /// public static readonly EffectiveDeploymentExecutionStatus REJECTED = new EffectiveDeploymentExecutionStatus("REJECTED"); /// /// Constant SUCCEEDED for EffectiveDeploymentExecutionStatus /// public static readonly EffectiveDeploymentExecutionStatus SUCCEEDED = new EffectiveDeploymentExecutionStatus("SUCCEEDED"); /// /// Constant TIMED_OUT for EffectiveDeploymentExecutionStatus /// public static readonly EffectiveDeploymentExecutionStatus TIMED_OUT = new EffectiveDeploymentExecutionStatus("TIMED_OUT"); /// /// 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 EffectiveDeploymentExecutionStatus(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 EffectiveDeploymentExecutionStatus 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 EffectiveDeploymentExecutionStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type InstalledComponentLifecycleState. /// public class InstalledComponentLifecycleState : ConstantClass { /// /// Constant BROKEN for InstalledComponentLifecycleState /// public static readonly InstalledComponentLifecycleState BROKEN = new InstalledComponentLifecycleState("BROKEN"); /// /// Constant ERRORED for InstalledComponentLifecycleState /// public static readonly InstalledComponentLifecycleState ERRORED = new InstalledComponentLifecycleState("ERRORED"); /// /// Constant FINISHED for InstalledComponentLifecycleState /// public static readonly InstalledComponentLifecycleState FINISHED = new InstalledComponentLifecycleState("FINISHED"); /// /// Constant INSTALLED for InstalledComponentLifecycleState /// public static readonly InstalledComponentLifecycleState INSTALLED = new InstalledComponentLifecycleState("INSTALLED"); /// /// Constant NEW for InstalledComponentLifecycleState /// public static readonly InstalledComponentLifecycleState NEW = new InstalledComponentLifecycleState("NEW"); /// /// Constant RUNNING for InstalledComponentLifecycleState /// public static readonly InstalledComponentLifecycleState RUNNING = new InstalledComponentLifecycleState("RUNNING"); /// /// Constant STARTING for InstalledComponentLifecycleState /// public static readonly InstalledComponentLifecycleState STARTING = new InstalledComponentLifecycleState("STARTING"); /// /// Constant STOPPING for InstalledComponentLifecycleState /// public static readonly InstalledComponentLifecycleState STOPPING = new InstalledComponentLifecycleState("STOPPING"); /// /// 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 InstalledComponentLifecycleState(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 InstalledComponentLifecycleState 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 InstalledComponentLifecycleState(string value) { return FindValue(value); } } /// /// Constants used for properties of type InstalledComponentTopologyFilter. /// public class InstalledComponentTopologyFilter : ConstantClass { /// /// Constant ALL for InstalledComponentTopologyFilter /// public static readonly InstalledComponentTopologyFilter ALL = new InstalledComponentTopologyFilter("ALL"); /// /// Constant ROOT for InstalledComponentTopologyFilter /// public static readonly InstalledComponentTopologyFilter ROOT = new InstalledComponentTopologyFilter("ROOT"); /// /// 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 InstalledComponentTopologyFilter(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 InstalledComponentTopologyFilter 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 InstalledComponentTopologyFilter(string value) { return FindValue(value); } } /// /// Constants used for properties of type IoTJobAbortAction. /// public class IoTJobAbortAction : ConstantClass { /// /// Constant CANCEL for IoTJobAbortAction /// public static readonly IoTJobAbortAction CANCEL = new IoTJobAbortAction("CANCEL"); /// /// 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 IoTJobAbortAction(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 IoTJobAbortAction 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 IoTJobAbortAction(string value) { return FindValue(value); } } /// /// Constants used for properties of type IoTJobExecutionFailureType. /// public class IoTJobExecutionFailureType : ConstantClass { /// /// Constant ALL for IoTJobExecutionFailureType /// public static readonly IoTJobExecutionFailureType ALL = new IoTJobExecutionFailureType("ALL"); /// /// Constant FAILED for IoTJobExecutionFailureType /// public static readonly IoTJobExecutionFailureType FAILED = new IoTJobExecutionFailureType("FAILED"); /// /// Constant REJECTED for IoTJobExecutionFailureType /// public static readonly IoTJobExecutionFailureType REJECTED = new IoTJobExecutionFailureType("REJECTED"); /// /// Constant TIMED_OUT for IoTJobExecutionFailureType /// public static readonly IoTJobExecutionFailureType TIMED_OUT = new IoTJobExecutionFailureType("TIMED_OUT"); /// /// 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 IoTJobExecutionFailureType(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 IoTJobExecutionFailureType 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 IoTJobExecutionFailureType(string value) { return FindValue(value); } } /// /// Constants used for properties of type LambdaEventSourceType. /// public class LambdaEventSourceType : ConstantClass { /// /// Constant IOT_CORE for LambdaEventSourceType /// public static readonly LambdaEventSourceType IOT_CORE = new LambdaEventSourceType("IOT_CORE"); /// /// Constant PUB_SUB for LambdaEventSourceType /// public static readonly LambdaEventSourceType PUB_SUB = new LambdaEventSourceType("PUB_SUB"); /// /// 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 LambdaEventSourceType(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 LambdaEventSourceType 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 LambdaEventSourceType(string value) { return FindValue(value); } } /// /// Constants used for properties of type LambdaFilesystemPermission. /// public class LambdaFilesystemPermission : ConstantClass { /// /// Constant Ro for LambdaFilesystemPermission /// public static readonly LambdaFilesystemPermission Ro = new LambdaFilesystemPermission("ro"); /// /// Constant Rw for LambdaFilesystemPermission /// public static readonly LambdaFilesystemPermission Rw = new LambdaFilesystemPermission("rw"); /// /// 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 LambdaFilesystemPermission(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 LambdaFilesystemPermission 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 LambdaFilesystemPermission(string value) { return FindValue(value); } } /// /// Constants used for properties of type LambdaInputPayloadEncodingType. /// public class LambdaInputPayloadEncodingType : ConstantClass { /// /// Constant Binary for LambdaInputPayloadEncodingType /// public static readonly LambdaInputPayloadEncodingType Binary = new LambdaInputPayloadEncodingType("binary"); /// /// Constant Json for LambdaInputPayloadEncodingType /// public static readonly LambdaInputPayloadEncodingType Json = new LambdaInputPayloadEncodingType("json"); /// /// 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 LambdaInputPayloadEncodingType(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 LambdaInputPayloadEncodingType 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 LambdaInputPayloadEncodingType(string value) { return FindValue(value); } } /// /// Constants used for properties of type LambdaIsolationMode. /// public class LambdaIsolationMode : ConstantClass { /// /// Constant GreengrassContainer for LambdaIsolationMode /// public static readonly LambdaIsolationMode GreengrassContainer = new LambdaIsolationMode("GreengrassContainer"); /// /// Constant NoContainer for LambdaIsolationMode /// public static readonly LambdaIsolationMode NoContainer = new LambdaIsolationMode("NoContainer"); /// /// 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 LambdaIsolationMode(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 LambdaIsolationMode 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 LambdaIsolationMode(string value) { return FindValue(value); } } /// /// Constants used for properties of type RecipeOutputFormat. /// public class RecipeOutputFormat : ConstantClass { /// /// Constant JSON for RecipeOutputFormat /// public static readonly RecipeOutputFormat JSON = new RecipeOutputFormat("JSON"); /// /// Constant YAML for RecipeOutputFormat /// public static readonly RecipeOutputFormat YAML = new RecipeOutputFormat("YAML"); /// /// 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 RecipeOutputFormat(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 RecipeOutputFormat 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 RecipeOutputFormat(string value) { return FindValue(value); } } /// /// Constants used for properties of type ValidationExceptionReason. /// public class ValidationExceptionReason : ConstantClass { /// /// Constant CANNOT_PARSE for ValidationExceptionReason /// public static readonly ValidationExceptionReason CANNOT_PARSE = new ValidationExceptionReason("CANNOT_PARSE"); /// /// Constant FIELD_VALIDATION_FAILED for ValidationExceptionReason /// public static readonly ValidationExceptionReason FIELD_VALIDATION_FAILED = new ValidationExceptionReason("FIELD_VALIDATION_FAILED"); /// /// Constant OTHER for ValidationExceptionReason /// public static readonly ValidationExceptionReason OTHER = new ValidationExceptionReason("OTHER"); /// /// Constant UNKNOWN_OPERATION for ValidationExceptionReason /// public static readonly ValidationExceptionReason UNKNOWN_OPERATION = new ValidationExceptionReason("UNKNOWN_OPERATION"); /// /// 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 ValidationExceptionReason(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 ValidationExceptionReason 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 ValidationExceptionReason(string value) { return FindValue(value); } } /// /// Constants used for properties of type VendorGuidance. /// public class VendorGuidance : ConstantClass { /// /// Constant ACTIVE for VendorGuidance /// public static readonly VendorGuidance ACTIVE = new VendorGuidance("ACTIVE"); /// /// Constant DELETED for VendorGuidance /// public static readonly VendorGuidance DELETED = new VendorGuidance("DELETED"); /// /// Constant DISCONTINUED for VendorGuidance /// public static readonly VendorGuidance DISCONTINUED = new VendorGuidance("DISCONTINUED"); /// /// 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 VendorGuidance(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 VendorGuidance 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 VendorGuidance(string value) { return FindValue(value); } } }