Class RetentionPeriodType
Constants used for properties of type RetentionPeriodType.
public class RetentionPeriodType : ConstantClass
- Inheritance
-
RetentionPeriodType
Constructors
RetentionPeriodType(string)
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 RetentionPeriodType(string value)
Parameters
value
string
Fields
DAYS
Constant DAYS for RetentionPeriodType
public static readonly RetentionPeriodType DAYS
Field Value
HOURS
Constant HOURS for RetentionPeriodType
public static readonly RetentionPeriodType HOURS
Field Value
INFINITE
Constant INFINITE for RetentionPeriodType
public static readonly RetentionPeriodType INFINITE
Field Value
MINUTES
Constant MINUTES for RetentionPeriodType
public static readonly RetentionPeriodType MINUTES
Field Value
MONTHS
Constant MONTHS for RetentionPeriodType
public static readonly RetentionPeriodType MONTHS
Field Value
SECONDS
Constant SECONDS for RetentionPeriodType
public static readonly RetentionPeriodType SECONDS
Field Value
UNSPECIFIED
Constant UNSPECIFIED for RetentionPeriodType
public static readonly RetentionPeriodType UNSPECIFIED
Field Value
YEARS
Constant YEARS for RetentionPeriodType
public static readonly RetentionPeriodType YEARS
Field Value
Methods
FindValue(string)
Finds the constant for the unique value.
public static RetentionPeriodType FindValue(string value)
Parameters
value
stringThe unique value for the constant
Returns
- RetentionPeriodType
The constant for the unique value
Operators
implicit operator RetentionPeriodType(string)
Utility method to convert strings to the constant class.
public static implicit operator RetentionPeriodType(string value)
Parameters
value
stringThe string value to convert to the constant class.