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.



43
44
45
# File 'lib/protocol/caldav/filter/addressbook.rb', line 43

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



36
37
38
# File 'lib/protocol/caldav/filter/addressbook.rb', line 36

def collation
  @collation
end

#match_typeObject

Returns the value of attribute match_type

Returns:

  • (Object)

    the current value of match_type



36
37
38
# File 'lib/protocol/caldav/filter/addressbook.rb', line 36

def match_type
  @match_type
end

#negate_conditionObject

Returns the value of attribute negate_condition

Returns:

  • (Object)

    the current value of negate_condition



36
37
38
# File 'lib/protocol/caldav/filter/addressbook.rb', line 36

def negate_condition
  @negate_condition
end

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



36
37
38
# File 'lib/protocol/caldav/filter/addressbook.rb', line 36

def value
  @value
end