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
# TravelValidity

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**valid_travel_dates** | Option<[**models::Calendar**]Calendar.md> |  | [optional]
**validity_range** | [**models::ValidityRange**]ValidityRange.md |  | 
**excluded_time_ranges** | Option<[**Vec<models::ExcludedTimeRange>**]ExcludedTimeRange.md> | time ranges excluded from the validity (e.g. off peak fulfillments)  | [optional]
**number_of_travel_days** | Option<**i32**> | number of allowed travel days (e.g. 3 travel days within 2 weeks)  | [optional]
**return_constraint** | Option<[**models::ReturnConstraint**]ReturnConstraint.md> |  | [optional]
**train_validity** | Option<[**models::TrainValidity**]TrainValidity.md> |  | [optional]
**validity_type** | Option<**String**> | Type of usage, either as single trip or multiple trips. Unrestricted fares might be combined into single trips if appropriate. Values from the [Travel Validity Type Code List]https://osdm.io/spec/catalog-of-code-lists/#TravelValidityType  Values from the [Tavel Validity Type Code List]https://osdm.io/spec/catalog-of-code-lists/#TravelValidityType Listed values here are examples.  | [optional]
**trip_allocation_constraint** | Option<[**models::TripAllocationConstraint**]TripAllocationConstraint.md> |  | [optional]
**trip_interruption_constraint** | Option<[**models::TripInterruptionConstraint**]TripInterruptionConstraint.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)