Class: Protocol::Caldav::Filter::Calendar::TextMatch

Inherits:
Struct
  • Object
show all
Defined in:
lib/protocol/caldav/filter/calendar.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.



51
52
53
# File 'lib/protocol/caldav/filter/calendar.rb', line 51

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



44
45
46
# File 'lib/protocol/caldav/filter/calendar.rb', line 44

def collation
  @collation
end

#match_typeObject

Returns the value of attribute match_type

Returns:

  • (Object)

    the current value of match_type



44
45
46
# File 'lib/protocol/caldav/filter/calendar.rb', line 44

def match_type
  @match_type
end

#negate_conditionObject

Returns the value of attribute negate_condition

Returns:

  • (Object)

    the current value of negate_condition



44
45
46
# File 'lib/protocol/caldav/filter/calendar.rb', line 44

def negate_condition
  @negate_condition
end

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



44
45
46
# File 'lib/protocol/caldav/filter/calendar.rb', line 44

def value
  @value
end