Class: Dodopayments::Models::IntegrationConfigResponse::GitHubConfig
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Dodopayments::Models::IntegrationConfigResponse::GitHubConfig
- Defined in:
- lib/dodopayments/models/integration_config_response.rb
Defined Under Namespace
Modules: Permission
Instance Attribute Summary collapse
-
#permission ⇒ Symbol, Dodopayments::Models::IntegrationConfigResponse::GitHubConfig::Permission
Permission to grant on the repository.
-
#target_id ⇒ String
Repository or organisation slug to grant access to.
Instance Method Summary collapse
- #initialize(permission:, target_id:) ⇒ Object constructor
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(permission:, target_id:) ⇒ Object
|
|
# File 'lib/dodopayments/models/integration_config_response.rb', line 41
|
Instance Attribute Details
#permission ⇒ Symbol, Dodopayments::Models::IntegrationConfigResponse::GitHubConfig::Permission
Permission to grant on the repository.
33 |
# File 'lib/dodopayments/models/integration_config_response.rb', line 33 required :permission, enum: -> { Dodopayments::IntegrationConfigResponse::GitHubConfig::Permission } |
#target_id ⇒ String
Repository or organisation slug to grant access to.
39 |
# File 'lib/dodopayments/models/integration_config_response.rb', line 39 required :target_id, String |