osdm-sys 0.1.0-alpha.2

Specifications for the OSDM API standard. The OSDM specification supports two modes of operation: Retailer Mode and Distributor Mode. The API works identically in both modes, except that in distributor mode the API also returns fare information. The following resources are key to get started: - [Processes](https://osdm.io/spec/processes/) - [Models](https://osdm.io/spec/models/) - [Getting started](https://osdm.io/spec/getting-started/)
Documentation
# CompartmentAvailability

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**service_class** | **String** | Type of quality level, finer grained than the comfort class. Values from the [Service Class Code List]https://osdm.io/spec/catalog-of-code-lists/#ServiceClass Listed values here are examples.  | 
**accommodation_type** | **String** | Accommodation type definition out of the  [Accommodation Type Code List]https://osdm.io/spec/catalog-of-code-lists/#AccomodationType Listed values here are examples.  | [default to SEAT]
**accommodation_sub_type** | **String** | Accommodation sub type definition out of the  [Accommodation Sub Type Code List]https://osdm.io/spec/catalog-of-code-lists/#PlaceProperty Listed values here are examples.  | [default to ANY_SEAT]
**places** | [**Vec<models::SpecificPlaceAvailability>**]SpecificPlaceAvailability.md | Seats or bicycle hooks in a coach compartment that are covered by a requested reservation fare/offerPart/bookingPart. No place availabilities must be returned for places that are NOT covered by a requested offer.  | 
**is_selectable** | **bool** | Indicates whether the compartment is selectable as a whole only.  | [default to false]
**number** | Option<**String**> | Compartment number as indicated at the compartment in the coach. A compartment number must be set if the compartment is selectable as a whole only.  | [optional]
**status** | Option<[**models::AvailabilityStatus**]AvailabilityStatus.md> |  | [optional]
**reservation_refs** | Option<[**Vec<models::ReservationReference>**]ReservationReference.md> | reservationRefs must be set if the compartment is selectable as a whole only  | [optional]
**selection_fee** | Option<[**models::SelectionFee**]SelectionFee.md> |  | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)