Class: StackOne::Models::Shared::AuthConfig
- Inherits:
-
Object
- Object
- StackOne::Models::Shared::AuthConfig
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/stack_one/models/shared/authconfig.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(active:, categories:, connector_key:, connector_label:, created_at:, default:, id:, logo_url:, name:, release_stage:, updated_at:, authentication_config_key: nil, authentication_config_label: nil, connector_owner: nil, connector_pinned_version: nil, connector_version: nil, environment: nil) ⇒ AuthConfig
constructor
A new instance of AuthConfig.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(active:, categories:, connector_key:, connector_label:, created_at:, default:, id:, logo_url:, name:, release_stage:, updated_at:, authentication_config_key: nil, authentication_config_label: nil, connector_owner: nil, connector_pinned_version: nil, connector_version: nil, environment: nil) ⇒ AuthConfig
Returns a new instance of AuthConfig.
51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 |
# File 'lib/stack_one/models/shared/authconfig.rb', line 51 def initialize(active:, categories:, connector_key:, connector_label:, created_at:, default:, id:, logo_url:, name:, release_stage:, updated_at:, authentication_config_key: nil, authentication_config_label: nil, connector_owner: nil, connector_pinned_version: nil, connector_version: nil, environment: nil) @active = active @categories = categories @connector_key = connector_key @connector_label = connector_label @created_at = created_at @default = default @id = id @logo_url = logo_url @name = name @release_stage = release_stage @updated_at = updated_at @authentication_config_key = authentication_config_key @authentication_config_label = authentication_config_label @connector_owner = connector_owner @connector_pinned_version = connector_pinned_version @connector_version = connector_version @environment = environment end |
Instance Method Details
#==(other) ⇒ Object
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 |
# File 'lib/stack_one/models/shared/authconfig.rb', line 72 def ==(other) return false unless other.is_a? self.class return false unless @active == other.active return false unless @categories == other.categories return false unless @connector_key == other.connector_key return false unless @connector_label == other.connector_label return false unless @created_at == other.created_at return false unless @default == other.default return false unless @id == other.id return false unless @logo_url == other.logo_url return false unless @name == other.name return false unless @release_stage == other.release_stage return false unless @updated_at == other.updated_at return false unless @authentication_config_key == other.authentication_config_key return false unless @authentication_config_label == other.authentication_config_label return false unless @connector_owner == other.connector_owner return false unless @connector_pinned_version == other.connector_pinned_version return false unless @connector_version == other.connector_version return false unless @environment == other.environment true end |