Class: Protocol::Caldav::Filter::Addressbook::TextMatch

Inherits:
Struct
  • Object
show all
Defined in:
lib/protocol/caldav/filter/addressbook.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(value:, collation: 'i;ascii-casemap', match_type: 'contains', negate_condition: false) ⇒ TextMatch

Returns a new instance of TextMatch.



29
30
31
# File 'lib/protocol/caldav/filter/addressbook.rb', line 29

def initialize(value:, collation: 'i;ascii-casemap', match_type: 'contains', negate_condition: false)
  super
end

Instance Attribute Details

#collationObject

Returns the value of attribute collation

Returns:

  • (Object)

    the current value of collation



28
29
30
# File 'lib/protocol/caldav/filter/addressbook.rb', line 28

def collation
  @collation
end

#match_typeObject

Returns the value of attribute match_type

Returns:

  • (Object)

    the current value of match_type



28
29
30
# File 'lib/protocol/caldav/filter/addressbook.rb', line 28

def match_type
  @match_type
end

#negate_conditionObject

Returns the value of attribute negate_condition

Returns:

  • (Object)

    the current value of negate_condition



28
29
30
# File 'lib/protocol/caldav/filter/addressbook.rb', line 28

def negate_condition
  @negate_condition
end

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



28
29
30
# File 'lib/protocol/caldav/filter/addressbook.rb', line 28

def value
  @value
end