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,
sig/knockapi/models/users/guide_get_channel_response.rbs
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 /*).
-
#search ⇒ String?
The search query params to match.
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, dashboard_url: 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.
- #to_hash ⇒ {
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, dashboard_url: 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.
162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 |
# File 'lib/knockapi/models/users/guide_get_channel_response.rb', line 162 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 # @!attribute search # The search query params to match # # @return [String, nil] optional :search, String # @!method initialize(directive: nil, pathname: nil, search: nil) # @param directive [String] The directive for the URL pattern ('allow' or 'block') # # @param pathname [String] The pathname pattern to match (supports wildcards like /\*) # # @param search [String] The search query params to match end |
Instance Attribute Details
#directive ⇒ String?
The directive for the URL pattern ('allow' or 'block')
167 |
# File 'lib/knockapi/models/users/guide_get_channel_response.rb', line 167 optional :directive, String |
#pathname ⇒ String?
The pathname pattern to match (supports wildcards like /*)
173 |
# File 'lib/knockapi/models/users/guide_get_channel_response.rb', line 173 optional :pathname, String |
#search ⇒ String?
The search query params to match
179 |
# File 'lib/knockapi/models/users/guide_get_channel_response.rb', line 179 optional :search, String |
Instance Method Details
#to_hash ⇒ {
172 |
# File 'sig/knockapi/models/users/guide_get_channel_response.rbs', line 172
def to_hash: -> {
|