Class: OdataDuty::FilterPredicate
- Inherits:
-
Object
- Object
- OdataDuty::FilterPredicate
- Defined in:
- lib/odata_duty/filter_predicate.rb
Instance Attribute Summary collapse
-
#operation ⇒ Object
readonly
Returns the value of attribute operation.
-
#property_name ⇒ Object
readonly
Returns the value of attribute property_name.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(property_name:, operation:, value:) ⇒ FilterPredicate
constructor
A new instance of FilterPredicate.
Constructor Details
#initialize(property_name:, operation:, value:) ⇒ FilterPredicate
Returns a new instance of FilterPredicate.
5 6 7 8 9 10 |
# File 'lib/odata_duty/filter_predicate.rb', line 5 def initialize(property_name:, operation:, value:) @property_name = property_name @operation = operation @value = value freeze end |
Instance Attribute Details
#operation ⇒ Object (readonly)
Returns the value of attribute operation.
3 4 5 |
# File 'lib/odata_duty/filter_predicate.rb', line 3 def operation @operation end |
#property_name ⇒ Object (readonly)
Returns the value of attribute property_name.
3 4 5 |
# File 'lib/odata_duty/filter_predicate.rb', line 3 def property_name @property_name end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
3 4 5 |
# File 'lib/odata_duty/filter_predicate.rb', line 3 def value @value end |