Class: StackOne::Models::Shared::ActionsSyncedDatasync
- Inherits:
-
Object
- Object
- StackOne::Models::Shared::ActionsSyncedDatasync
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/stack_one/models/shared/actionssynceddatasync.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(path_params_hash:, request_id:, run_id:, sync_expires_at:, synced_at:) ⇒ ActionsSyncedDatasync
constructor
A new instance of ActionsSyncedDatasync.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(path_params_hash:, request_id:, run_id:, sync_expires_at:, synced_at:) ⇒ ActionsSyncedDatasync
Returns a new instance of ActionsSyncedDatasync.
27 28 29 30 31 32 33 |
# File 'lib/stack_one/models/shared/actionssynceddatasync.rb', line 27 def initialize(path_params_hash:, request_id:, run_id:, sync_expires_at:, synced_at:) @path_params_hash = path_params_hash @request_id = request_id @run_id = run_id @sync_expires_at = sync_expires_at @synced_at = synced_at end |
Instance Method Details
#==(other) ⇒ Object
36 37 38 39 40 41 42 43 44 |
# File 'lib/stack_one/models/shared/actionssynceddatasync.rb', line 36 def ==(other) return false unless other.is_a? self.class return false unless @path_params_hash == other.path_params_hash return false unless @request_id == other.request_id return false unless @run_id == other.run_id return false unless @sync_expires_at == other.sync_expires_at return false unless @synced_at == other.synced_at true end |