Class: Knockapi::Models::Users::GuideGetChannelResponse::Entry::ActivationURLPattern
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Knockapi::Models::Users::GuideGetChannelResponse::Entry::ActivationURLPattern
- Defined in:
- lib/knockapi/models/users/guide_get_channel_response.rb
Instance Attribute Summary collapse
-
#directive ⇒ String?
The directive for the URL pattern (‘allow’ or ‘block’).
-
#pathname ⇒ String?
The pathname pattern to match (supports wildcards like /*).
Instance Method Summary collapse
-
#initialize(id: nil, _typename: nil, activation_url_patterns: nil, activation_url_rules: nil, active: nil, bypass_global_group_limit: nil, channel_id: nil, inserted_at: nil, key: nil, semver: nil, steps: nil, type: nil, updated_at: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see Knockapi::Models::Users::GuideGetChannelResponse::Entry for more details.
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: nil, _typename: nil, activation_url_patterns: nil, activation_url_rules: nil, active: nil, bypass_global_group_limit: nil, channel_id: nil, inserted_at: nil, key: nil, semver: nil, steps: nil, type: nil, updated_at: nil) ⇒ Object
Some parameter documentations has been truncated, see Knockapi::Models::Users::GuideGetChannelResponse::Entry for more details.
145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 |
# File 'lib/knockapi/models/users/guide_get_channel_response.rb', line 145 class ActivationURLPattern < Knockapi::Internal::Type::BaseModel # @!attribute directive # The directive for the URL pattern ('allow' or 'block') # # @return [String, nil] optional :directive, String # @!attribute pathname # The pathname pattern to match (supports wildcards like /\*) # # @return [String, nil] optional :pathname, String # @!method initialize(directive: nil, pathname: nil) # @param directive [String] The directive for the URL pattern ('allow' or 'block') # # @param pathname [String] The pathname pattern to match (supports wildcards like /\*) end |
Instance Attribute Details
#directive ⇒ String?
The directive for the URL pattern (‘allow’ or ‘block’)
150 |
# File 'lib/knockapi/models/users/guide_get_channel_response.rb', line 150 optional :directive, String |
#pathname ⇒ String?
The pathname pattern to match (supports wildcards like /*)
156 |
# File 'lib/knockapi/models/users/guide_get_channel_response.rb', line 156 optional :pathname, String |