Class: StackOne::Models::Shared::ConnectorProfilePinnedVersion

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Includes:
Crystalline::MetadataFields
Defined in:
lib/stack_one/models/shared/connectorprofilepinnedversion.rb

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

#field, #fields, included, #marshal_single, #to_dict, #to_json

Constructor Details

#initialize(connector_profile_id:, created_at:, pinned_version:, updated_at:, owner: nil) ⇒ ConnectorProfilePinnedVersion

Returns a new instance of ConnectorProfilePinnedVersion.



27
28
29
30
31
32
33
# File 'lib/stack_one/models/shared/connectorprofilepinnedversion.rb', line 27

def initialize(connector_profile_id:, created_at:, pinned_version:, updated_at:, owner: nil)
  @connector_profile_id = connector_profile_id
  @created_at = created_at
  @pinned_version = pinned_version
  @updated_at = updated_at
  @owner = owner
end

Instance Method Details

#==(other) ⇒ Object



36
37
38
39
40
41
42
43
44
# File 'lib/stack_one/models/shared/connectorprofilepinnedversion.rb', line 36

def ==(other)
  return false unless other.is_a? self.class
  return false unless @connector_profile_id == other.connector_profile_id
  return false unless @created_at == other.created_at
  return false unless @pinned_version == other.pinned_version
  return false unless @updated_at == other.updated_at
  return false unless @owner == other.owner
  true
end