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

            return(base.Equals(input));
        }
 /// <summary>
 /// Initializes a new instance of the <see cref="SampleimageGetSamplesImageBatchByStreamResponseBody" /> 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 SampleimageGetSamplesImageBatchByStreamResponseBody(bool?hasMore = default(bool?), StoredSampleImageResponseBodyCollection samples = default(StoredSampleImageResponseBodyCollection))
 {
     // to ensure "hasMore" is required (not null)
     if (hasMore == null)
     {
         throw new InvalidDataException("hasMore is a required property for SampleimageGetSamplesImageBatchByStreamResponseBody 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 SampleimageGetSamplesImageBatchByStreamResponseBody and cannot be null");
     }
     else
     {
         this.Samples = samples;
     }
 }