/// <summary>
 /// Initializes a new instance of the TaggingCriteria class.
 /// </summary>
 /// <param name="isDefault">Specifies if tag is default.</param>
 /// <param name="taggingPriority">Retention Tag priority.</param>
 /// <param name="tagInfo">Retention tag information</param>
 /// <param name="criteria">Criteria which decides whether the tag can
 /// be applied to a triggered backup.</param>
 public TaggingCriteria(bool isDefault, long taggingPriority, RetentionTag tagInfo, IList <BackupCriteria> criteria = default(IList <BackupCriteria>))
 {
     Criteria        = criteria;
     IsDefault       = isDefault;
     TaggingPriority = taggingPriority;
     TagInfo         = tagInfo;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the AdhocBasedTaggingCriteria class.
 /// </summary>
 /// <param name="tagInfo">Retention tag information</param>
 public AdhocBasedTaggingCriteria(RetentionTag tagInfo = default(RetentionTag))
 {
     TagInfo = tagInfo;
     CustomInit();
 }