Class: OnebusawaySDK::Models::References::Situation::ActiveWindow
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OnebusawaySDK::Models::References::Situation::ActiveWindow
- Defined in:
- lib/onebusaway_sdk/models/references.rb
Instance Attribute Summary collapse
-
#from ⇒ Integer?
Start time of the active window as a Unix timestamp.
-
#to ⇒ Integer?
End time of the active window as a Unix timestamp.
Instance Method Summary collapse
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(id: , creation_time: , active_windows: nil, all_affects: nil, consequence_message: nil, consequences: nil, description: nil, publication_windows: nil, reason: nil, severity: nil, summary: nil, url: nil) ⇒ Object
278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 |
# File 'lib/onebusaway_sdk/models/references.rb', line 278 class ActiveWindow < OnebusawaySDK::Internal::Type::BaseModel # @!attribute from # Start time of the active window as a Unix timestamp. # # @return [Integer, nil] optional :from, Integer # @!attribute to # End time of the active window as a Unix timestamp. # # @return [Integer, nil] optional :to, Integer # @!method initialize(from: nil, to: nil) # @param from [Integer] Start time of the active window as a Unix timestamp. # # @param to [Integer] End time of the active window as a Unix timestamp. end |
Instance Attribute Details
#from ⇒ Integer?
Start time of the active window as a Unix timestamp.
283 |
# File 'lib/onebusaway_sdk/models/references.rb', line 283 optional :from, Integer |
#to ⇒ Integer?
End time of the active window as a Unix timestamp.
289 |
# File 'lib/onebusaway_sdk/models/references.rb', line 289 optional :to, Integer |