Class: MicrosoftGraph::Models::FilterOperatorSchema
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/filter_operator_schema.rb
Class Method Summary collapse
-
.create_from_discriminator_value(parse_node) ⇒ Object
Creates a new instance of the appropriate class based on discriminator value.
Instance Method Summary collapse
-
#arity ⇒ Object
Gets the arity property value.
-
#arity=(value) ⇒ Object
Sets the arity property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#initialize ⇒ Object
constructor
Instantiates a new filterOperatorSchema and sets the default values.
-
#multivalued_comparison_type ⇒ Object
Gets the multivaluedComparisonType property value.
-
#multivalued_comparison_type=(value) ⇒ Object
Sets the multivaluedComparisonType property value.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
-
#supported_attribute_types ⇒ Object
Gets the supportedAttributeTypes property value.
-
#supported_attribute_types=(value) ⇒ Object
Sets the supportedAttributeTypes property value.
Methods inherited from Entity
#additional_data, #additional_data=, #id, #id=, #odata_type, #odata_type=
Constructor Details
#initialize ⇒ Object
Instantiates a new filterOperatorSchema and sets the default values.
37 38 39 |
# File 'lib/models/filter_operator_schema.rb', line 37 def initialize() super end |
Class Method Details
.create_from_discriminator_value(parse_node) ⇒ Object
Creates a new instance of the appropriate class based on discriminator value
45 46 47 48 |
# File 'lib/models/filter_operator_schema.rb', line 45 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return FilterOperatorSchema.new end |
Instance Method Details
#arity ⇒ Object
Gets the arity property value. The arity property
22 23 24 |
# File 'lib/models/filter_operator_schema.rb', line 22 def arity return @arity end |
#arity=(value) ⇒ Object
Sets the arity property value. The arity property
30 31 32 |
# File 'lib/models/filter_operator_schema.rb', line 30 def arity=(value) @arity = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
53 54 55 56 57 58 59 |
# File 'lib/models/filter_operator_schema.rb', line 53 def get_field_deserializers() return super.merge({ "arity" => lambda {|n| @arity = n.get_enum_value(MicrosoftGraph::Models::ScopeOperatorType) }, "multivaluedComparisonType" => lambda {|n| @multivalued_comparison_type = n.get_enum_value(MicrosoftGraph::Models::ScopeOperatorMultiValuedComparisonType) }, "supportedAttributeTypes" => lambda {|n| @supported_attribute_types = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::AttributeType.create_from_discriminator_value(pn) }) }, }) end |
#multivalued_comparison_type ⇒ Object
Gets the multivaluedComparisonType property value. The multivaluedComparisonType property
64 65 66 |
# File 'lib/models/filter_operator_schema.rb', line 64 def multivalued_comparison_type return @multivalued_comparison_type end |
#multivalued_comparison_type=(value) ⇒ Object
Sets the multivaluedComparisonType property value. The multivaluedComparisonType property
72 73 74 |
# File 'lib/models/filter_operator_schema.rb', line 72 def multivalued_comparison_type=(value) @multivalued_comparison_type = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
80 81 82 83 84 85 86 |
# File 'lib/models/filter_operator_schema.rb', line 80 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? super writer.write_enum_value("arity", @arity) writer.write_enum_value("multivaluedComparisonType", @multivalued_comparison_type) writer.write_collection_of_object_values("supportedAttributeTypes", @supported_attribute_types) end |
#supported_attribute_types ⇒ Object
Gets the supportedAttributeTypes property value. Attribute types supported by the operator. Possible values are: Boolean, Binary, Reference, Integer, String.
91 92 93 |
# File 'lib/models/filter_operator_schema.rb', line 91 def supported_attribute_types return @supported_attribute_types end |
#supported_attribute_types=(value) ⇒ Object
Sets the supportedAttributeTypes property value. Attribute types supported by the operator. Possible values are: Boolean, Binary, Reference, Integer, String.
99 100 101 |
# File 'lib/models/filter_operator_schema.rb', line 99 def supported_attribute_types=(value) @supported_attribute_types = value end |