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

            return(base.Equals(input));
        }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SampleGetSamplesScalarBatchBySiteResponseBody" /> class.
 /// </summary>
 /// <param name="hasMore">The value is set to true if there is more samples to retrieve (required).</param>
 /// <param name="samples">samples (required).</param>
 public SampleGetSamplesScalarBatchBySiteResponseBody(bool?hasMore = default(bool?), StoredSampleScalarResponseBodyCollection samples = default(StoredSampleScalarResponseBodyCollection))
 {
     // to ensure "hasMore" is required (not null)
     if (hasMore == null)
     {
         throw new InvalidDataException("hasMore is a required property for SampleGetSamplesScalarBatchBySiteResponseBody and cannot be null");
     }
     else
     {
         this.HasMore = hasMore;
     }
     // to ensure "samples" is required (not null)
     if (samples == null)
     {
         throw new InvalidDataException("samples is a required property for SampleGetSamplesScalarBatchBySiteResponseBody and cannot be null");
     }
     else
     {
         this.Samples = samples;
     }
 }