Class: MicrosoftGraph::Models::MembershipOutlierInsight
- Inherits:
-
GovernanceInsight
- Object
- Entity
- GovernanceInsight
- MicrosoftGraph::Models::MembershipOutlierInsight
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/membership_outlier_insight.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
-
#container ⇒ Object
Gets the container property value.
-
#container=(value) ⇒ Object
Sets the container property value.
-
#container_id ⇒ Object
Gets the containerId property value.
-
#container_id=(value) ⇒ Object
Sets the containerId property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#initialize ⇒ Object
constructor
Instantiates a new membershipOutlierInsight and sets the default values.
-
#last_modified_by ⇒ Object
Gets the lastModifiedBy property value.
-
#last_modified_by=(value) ⇒ Object
Sets the lastModifiedBy property value.
-
#member ⇒ Object
Gets the member property value.
-
#member=(value) ⇒ Object
Sets the member property value.
-
#member_id ⇒ Object
Gets the memberId property value.
-
#member_id=(value) ⇒ Object
Sets the memberId property value.
-
#outlier_container_type ⇒ Object
Gets the outlierContainerType property value.
-
#outlier_container_type=(value) ⇒ Object
Sets the outlierContainerType property value.
-
#outlier_member_type ⇒ Object
Gets the outlierMemberType property value.
-
#outlier_member_type=(value) ⇒ Object
Sets the outlierMemberType property value.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
Methods inherited from GovernanceInsight
#insight_created_date_time, #insight_created_date_time=
Methods inherited from Entity
#additional_data, #additional_data=, #id, #id=, #odata_type, #odata_type=
Constructor Details
#initialize ⇒ Object
Instantiates a new membershipOutlierInsight and sets the default values.
34 35 36 37 |
# File 'lib/models/membership_outlier_insight.rb', line 34 def initialize() super @odata_type = "#microsoft.graph.membershipOutlierInsight" end |
Class Method Details
.create_from_discriminator_value(parse_node) ⇒ Object
Creates a new instance of the appropriate class based on discriminator value
73 74 75 76 |
# File 'lib/models/membership_outlier_insight.rb', line 73 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return MembershipOutlierInsight.new end |
Instance Method Details
#container ⇒ Object
Gets the container property value. Navigation link to the container directory object. For example, to a group.
42 43 44 |
# File 'lib/models/membership_outlier_insight.rb', line 42 def container return @container end |
#container=(value) ⇒ Object
Sets the container property value. Navigation link to the container directory object. For example, to a group.
50 51 52 |
# File 'lib/models/membership_outlier_insight.rb', line 50 def container=(value) @container = value end |
#container_id ⇒ Object
Gets the containerId property value. Indicates the identifier of the container, for example, a group ID.
57 58 59 |
# File 'lib/models/membership_outlier_insight.rb', line 57 def container_id return @container_id end |
#container_id=(value) ⇒ Object
Sets the containerId property value. Indicates the identifier of the container, for example, a group ID.
65 66 67 |
# File 'lib/models/membership_outlier_insight.rb', line 65 def container_id=(value) @container_id = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
81 82 83 84 85 86 87 88 89 90 91 |
# File 'lib/models/membership_outlier_insight.rb', line 81 def get_field_deserializers() return super.merge({ "container" => lambda {|n| @container = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::DirectoryObject.create_from_discriminator_value(pn) }) }, "containerId" => lambda {|n| @container_id = n.get_string_value() }, "lastModifiedBy" => lambda {|n| @last_modified_by = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::User.create_from_discriminator_value(pn) }) }, "member" => lambda {|n| @member = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::DirectoryObject.create_from_discriminator_value(pn) }) }, "memberId" => lambda {|n| @member_id = n.get_string_value() }, "outlierContainerType" => lambda {|n| @outlier_container_type = n.get_enum_value(MicrosoftGraph::Models::OutlierContainerType) }, "outlierMemberType" => lambda {|n| @outlier_member_type = n.get_enum_value(MicrosoftGraph::Models::OutlierMemberType) }, }) end |
#last_modified_by ⇒ Object
Gets the lastModifiedBy property value. Navigation link to a member object who modified the record. For example, to a user.
96 97 98 |
# File 'lib/models/membership_outlier_insight.rb', line 96 def last_modified_by return @last_modified_by end |
#last_modified_by=(value) ⇒ Object
Sets the lastModifiedBy property value. Navigation link to a member object who modified the record. For example, to a user.
104 105 106 |
# File 'lib/models/membership_outlier_insight.rb', line 104 def last_modified_by=(value) @last_modified_by = value end |
#member ⇒ Object
Gets the member property value. Navigation link to a member object. For example, to a user.
111 112 113 |
# File 'lib/models/membership_outlier_insight.rb', line 111 def member return @member end |
#member=(value) ⇒ Object
Sets the member property value. Navigation link to a member object. For example, to a user.
119 120 121 |
# File 'lib/models/membership_outlier_insight.rb', line 119 def member=(value) @member = value end |
#member_id ⇒ Object
Gets the memberId property value. Indicates the identifier of the user.
126 127 128 |
# File 'lib/models/membership_outlier_insight.rb', line 126 def member_id return @member_id end |
#member_id=(value) ⇒ Object
Sets the memberId property value. Indicates the identifier of the user.
134 135 136 |
# File 'lib/models/membership_outlier_insight.rb', line 134 def member_id=(value) @member_id = value end |
#outlier_container_type ⇒ Object
Gets the outlierContainerType property value. The outlierContainerType property
141 142 143 |
# File 'lib/models/membership_outlier_insight.rb', line 141 def outlier_container_type return @outlier_container_type end |
#outlier_container_type=(value) ⇒ Object
Sets the outlierContainerType property value. The outlierContainerType property
149 150 151 |
# File 'lib/models/membership_outlier_insight.rb', line 149 def outlier_container_type=(value) @outlier_container_type = value end |
#outlier_member_type ⇒ Object
Gets the outlierMemberType property value. The outlierMemberType property
156 157 158 |
# File 'lib/models/membership_outlier_insight.rb', line 156 def outlier_member_type return @outlier_member_type end |
#outlier_member_type=(value) ⇒ Object
Sets the outlierMemberType property value. The outlierMemberType property
164 165 166 |
# File 'lib/models/membership_outlier_insight.rb', line 164 def outlier_member_type=(value) @outlier_member_type = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
172 173 174 175 176 177 178 179 180 181 182 |
# File 'lib/models/membership_outlier_insight.rb', line 172 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? super writer.write_object_value("container", @container) writer.write_string_value("containerId", @container_id) writer.write_object_value("lastModifiedBy", @last_modified_by) writer.write_object_value("member", @member) writer.write_string_value("memberId", @member_id) writer.write_enum_value("outlierContainerType", @outlier_container_type) writer.write_enum_value("outlierMemberType", @outlier_member_type) end |