Example #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RoomSearchResults" /> class.
 /// </summary>
 /// <param name="Count">The total number of rooms matched by the search..</param>
 /// <param name="Skip">The number of skipped results..</param>
 /// <param name="Limit">The number of returned results..</param>
 /// <param name="Query">The search query that produced this result..</param>
 /// <param name="Rooms">A list of rooms matched by the query..</param>
 /// <param name="FacetedMatchCount">Detailed counts of matched rooms per search criterion..</param>
 public RoomSearchResults(long?Count = default(long?), int?Skip = default(int?), int?Limit = default(int?), RoomSearchCriteria Query = default(RoomSearchCriteria), List <V2RoomDetail> Rooms = default(List <V2RoomDetail>), List <FacetedMatchCount> FacetedMatchCount = default(List <FacetedMatchCount>))
 {
     this.Count             = Count;
     this.Skip              = Skip;
     this.Limit             = Limit;
     this.Query             = Query;
     this.Rooms             = Rooms;
     this.FacetedMatchCount = FacetedMatchCount;
 }
Example #2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="RoomSearchResults" /> class.
        /// </summary>
        /// <param name="Count">The total number of rooms matched by the search..</param>
        /// <param name="Skip">The number of skipped results..</param>
        /// <param name="Limit">The number of returned results..</param>
        /// <param name="Query">The search query that produced this result..</param>
        /// <param name="Rooms">A list of rooms matched by the query..</param>
        /// <param name="FacetedMatchCount">Detailed counts of matched rooms per search criterion..</param>
        public RoomSearchResults(long?Count = null, int?Skip = null, int?Limit = null, RoomSearchCriteria Query = null, List <V2RoomDetail> Rooms = null, List <FacetedMatchCount> FacetedMatchCount = null)
        {
            this.Count = Count;

            this.Skip = Skip;

            this.Limit = Limit;

            this.Query = Query;

            this.Rooms = Rooms;

            this.FacetedMatchCount = FacetedMatchCount;
        }