Class: MicrosoftGraph::Models::SecurityEdiscoveryReviewTag
- Inherits:
-
SecurityTag
- Object
- Entity
- SecurityTag
- MicrosoftGraph::Models::SecurityEdiscoveryReviewTag
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/security_ediscovery_review_tag.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
-
#child_selectability ⇒ Object
Gets the childSelectability property value.
-
#child_selectability=(value) ⇒ Object
Sets the childSelectability property value.
-
#child_tags ⇒ Object
Gets the childTags property value.
-
#child_tags=(value) ⇒ Object
Sets the childTags property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#initialize ⇒ Object
constructor
Instantiates a new securityEdiscoveryReviewTag and sets the default values.
-
#parent ⇒ Object
Gets the parent property value.
-
#parent=(value) ⇒ Object
Sets the parent property value.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
Methods inherited from SecurityTag
#created_by, #created_by=, #description, #description=, #display_name, #display_name=, #last_modified_date_time, #last_modified_date_time=
Methods inherited from Entity
#additional_data, #additional_data=, #id, #id=, #odata_type, #odata_type=
Constructor Details
#initialize ⇒ Object
Instantiates a new securityEdiscoveryReviewTag and sets the default values.
52 53 54 55 |
# File 'lib/models/security_ediscovery_review_tag.rb', line 52 def initialize() super @odata_type = "#microsoft.graph.security.ediscoveryReviewTag" end |
Class Method Details
.create_from_discriminator_value(parse_node) ⇒ Object
Creates a new instance of the appropriate class based on discriminator value
61 62 63 64 |
# File 'lib/models/security_ediscovery_review_tag.rb', line 61 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return SecurityEdiscoveryReviewTag.new end |
Instance Method Details
#child_selectability ⇒ Object
Gets the childSelectability property value. Indicates whether a single or multiple child tags can be associated with a document. Possible values are: One, Many. This value controls whether the UX presents the tags as checkboxes or a radio button group.
22 23 24 |
# File 'lib/models/security_ediscovery_review_tag.rb', line 22 def child_selectability return @child_selectability end |
#child_selectability=(value) ⇒ Object
Sets the childSelectability property value. Indicates whether a single or multiple child tags can be associated with a document. Possible values are: One, Many. This value controls whether the UX presents the tags as checkboxes or a radio button group.
30 31 32 |
# File 'lib/models/security_ediscovery_review_tag.rb', line 30 def child_selectability=(value) @child_selectability = value end |
#child_tags ⇒ Object
Gets the childTags property value. Returns the tags that are a child of a tag.
37 38 39 |
# File 'lib/models/security_ediscovery_review_tag.rb', line 37 def return end |
#child_tags=(value) ⇒ Object
Sets the childTags property value. Returns the tags that are a child of a tag.
45 46 47 |
# File 'lib/models/security_ediscovery_review_tag.rb', line 45 def (value) = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
69 70 71 72 73 74 75 |
# File 'lib/models/security_ediscovery_review_tag.rb', line 69 def get_field_deserializers() return super.merge({ "childSelectability" => lambda {|n| @child_selectability = n.get_enum_value(MicrosoftGraph::Models::SecurityChildSelectability) }, "childTags" => lambda {|n| = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::SecurityEdiscoveryReviewTag.create_from_discriminator_value(pn) }) }, "parent" => lambda {|n| @parent = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::SecurityEdiscoveryReviewTag.create_from_discriminator_value(pn) }) }, }) end |
#parent ⇒ Object
Gets the parent property value. Returns the parent tag of the specified tag.
80 81 82 |
# File 'lib/models/security_ediscovery_review_tag.rb', line 80 def parent return @parent end |
#parent=(value) ⇒ Object
Sets the parent property value. Returns the parent tag of the specified tag.
88 89 90 |
# File 'lib/models/security_ediscovery_review_tag.rb', line 88 def parent=(value) @parent = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
96 97 98 99 100 101 102 |
# File 'lib/models/security_ediscovery_review_tag.rb', line 96 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? super writer.write_enum_value("childSelectability", @child_selectability) writer.write_collection_of_object_values("childTags", ) writer.write_object_value("parent", @parent) end |