/// <summary> /// Returns true if StoredSampleGPSResponseBodyCollection instances are equal /// </summary> /// <param name="input">Instance of StoredSampleGPSResponseBodyCollection to be compared</param> /// <returns>Boolean</returns> public bool Equals(StoredSampleGPSResponseBodyCollection input) { if (input == null) { return(false); } return(base.Equals(input)); }
/// <summary> /// Initializes a new instance of the <see cref="SamplegpsGetSamplesGPSBatchResponseBody" /> class. /// </summary> /// <param name="hasMore">The value is set to true if there is more samples GPS to retrieve (required).</param> /// <param name="samples">samples (required).</param> public SamplegpsGetSamplesGPSBatchResponseBody(bool?hasMore = default(bool?), StoredSampleGPSResponseBodyCollection samples = default(StoredSampleGPSResponseBodyCollection)) { // to ensure "hasMore" is required (not null) if (hasMore == null) { throw new InvalidDataException("hasMore is a required property for SamplegpsGetSamplesGPSBatchResponseBody 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 SamplegpsGetSamplesGPSBatchResponseBody and cannot be null"); } else { this.Samples = samples; } }