Class: Knockapi::Models::Users::GuideGetChannelResponse::Entry::ActivationURLRule

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/knockapi/models/users/guide_get_channel_response.rb,
sig/knockapi/models/users/guide_get_channel_response.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#initializeObject



204
# File 'sig/knockapi/models/users/guide_get_channel_response.rbs', line 204

def initialize: (

Instance Attribute Details

#argumentString?

The value to compare against

Parameters:

  • (String)

Returns:

  • (String, nil)


194
# File 'lib/knockapi/models/users/guide_get_channel_response.rb', line 194

optional :argument, String

#directiveString?

The directive for the URL rule ('allow' or 'block')

Parameters:

  • (String)

Returns:

  • (String, nil)


200
# File 'lib/knockapi/models/users/guide_get_channel_response.rb', line 200

optional :directive, String

#operatorString?

The comparison operator ('contains' or 'equal_to')

Parameters:

  • (String)

Returns:

  • (String, nil)


206
# File 'lib/knockapi/models/users/guide_get_channel_response.rb', line 206

optional :operator, String

#variableString?

The variable to evaluate ('pathname')

Parameters:

  • (String)

Returns:

  • (String, nil)


212
# File 'lib/knockapi/models/users/guide_get_channel_response.rb', line 212

optional :variable, String

Instance Method Details

#to_hash{

Returns:

  • ({)


211
# File 'sig/knockapi/models/users/guide_get_channel_response.rbs', line 211

def to_hash: -> {