Ejemplo n.º 1
0
        /// <summary>
        /// Returns true if AbTestVersionClicks instances are equal
        /// </summary>
        /// <param name="input">Instance of AbTestVersionClicks to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(AbTestVersionClicks input)
        {
            if (input == null)
            {
                return(false);
            }

            return(base.Equals(input));
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AbTestCampaignResultClickedLinks" /> class.
 /// </summary>
 /// <param name="versionA">versionA (required).</param>
 /// <param name="versionB">versionB (required).</param>
 public AbTestCampaignResultClickedLinks(AbTestVersionClicks versionA = default(AbTestVersionClicks), AbTestVersionClicks versionB = default(AbTestVersionClicks))
 {
     // to ensure "versionA" is required (not null)
     if (versionA == null)
     {
         throw new InvalidDataException("versionA is a required property for AbTestCampaignResultClickedLinks and cannot be null");
     }
     else
     {
         this.VersionA = versionA;
     }
     // to ensure "versionB" is required (not null)
     if (versionB == null)
     {
         throw new InvalidDataException("versionB is a required property for AbTestCampaignResultClickedLinks and cannot be null");
     }
     else
     {
         this.VersionB = versionB;
     }
 }