Class: MicrosoftGraph::Models::SubjectRightsRequestHistory
- Inherits:
-
Object
- Object
- MicrosoftGraph::Models::SubjectRightsRequestHistory
- Includes:
- MicrosoftKiotaAbstractions::AdditionalDataHolder, MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/subject_rights_request_history.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
-
#additional_data ⇒ Object
Gets the additionalData property value.
-
#additional_data=(value) ⇒ Object
Sets the additionalData property value.
-
#changed_by ⇒ Object
Gets the changedBy property value.
-
#changed_by=(value) ⇒ Object
Sets the changedBy property value.
-
#event_date_time ⇒ Object
Gets the eventDateTime property value.
-
#event_date_time=(value) ⇒ Object
Sets the eventDateTime property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#initialize ⇒ Object
constructor
Instantiates a new subjectRightsRequestHistory and sets the default values.
-
#odata_type ⇒ Object
Gets the @odata.type property value.
-
#odata_type=(value) ⇒ Object
Sets the @odata.type property value.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
-
#stage ⇒ Object
Gets the stage property value.
-
#stage=(value) ⇒ Object
Sets the stage property value.
-
#stage_status ⇒ Object
Gets the stageStatus property value.
-
#stage_status=(value) ⇒ Object
Sets the stageStatus property value.
-
#type ⇒ Object
Gets the type property value.
-
#type=(value) ⇒ Object
Sets the type property value.
Constructor Details
#initialize ⇒ Object
Instantiates a new subjectRightsRequestHistory and sets the default values.
65 66 67 |
# File 'lib/models/subject_rights_request_history.rb', line 65 def initialize() @additional_data = Hash.new 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/subject_rights_request_history.rb', line 73 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return SubjectRightsRequestHistory.new end |
Instance Method Details
#additional_data ⇒ Object
Gets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
35 36 37 |
# File 'lib/models/subject_rights_request_history.rb', line 35 def additional_data return @additional_data end |
#additional_data=(value) ⇒ Object
Sets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
43 44 45 |
# File 'lib/models/subject_rights_request_history.rb', line 43 def additional_data=(value) @additional_data = value end |
#changed_by ⇒ Object
Gets the changedBy property value. Identity of the user who changed the subject rights request.
50 51 52 |
# File 'lib/models/subject_rights_request_history.rb', line 50 def changed_by return @changed_by end |
#changed_by=(value) ⇒ Object
Sets the changedBy property value. Identity of the user who changed the subject rights request.
58 59 60 |
# File 'lib/models/subject_rights_request_history.rb', line 58 def changed_by=(value) @changed_by = value end |
#event_date_time ⇒ Object
Gets the eventDateTime property value. Data and time when the entity was changed.
81 82 83 |
# File 'lib/models/subject_rights_request_history.rb', line 81 def event_date_time return @event_date_time end |
#event_date_time=(value) ⇒ Object
Sets the eventDateTime property value. Data and time when the entity was changed.
89 90 91 |
# File 'lib/models/subject_rights_request_history.rb', line 89 def event_date_time=(value) @event_date_time = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
96 97 98 99 100 101 102 103 104 105 |
# File 'lib/models/subject_rights_request_history.rb', line 96 def get_field_deserializers() return { "changedBy" => lambda {|n| @changed_by = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::IdentitySet.create_from_discriminator_value(pn) }) }, "eventDateTime" => lambda {|n| @event_date_time = n.get_date_time_value() }, "@odata.type" => lambda {|n| @odata_type = n.get_string_value() }, "stage" => lambda {|n| @stage = n.get_enum_value(MicrosoftGraph::Models::SubjectRightsRequestStage) }, "stageStatus" => lambda {|n| @stage_status = n.get_enum_value(MicrosoftGraph::Models::SubjectRightsRequestStageStatus) }, "type" => lambda {|n| @type = n.get_string_value() }, } end |
#odata_type ⇒ Object
Gets the @odata.type property value. The OdataType property
110 111 112 |
# File 'lib/models/subject_rights_request_history.rb', line 110 def odata_type return @odata_type end |
#odata_type=(value) ⇒ Object
Sets the @odata.type property value. The OdataType property
118 119 120 |
# File 'lib/models/subject_rights_request_history.rb', line 118 def odata_type=(value) @odata_type = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
126 127 128 129 130 131 132 133 134 135 |
# File 'lib/models/subject_rights_request_history.rb', line 126 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? writer.write_object_value("changedBy", @changed_by) writer.write_date_time_value("eventDateTime", @event_date_time) writer.write_string_value("@odata.type", @odata_type) writer.write_enum_value("stage", @stage) writer.write_enum_value("stageStatus", @stage_status) writer.write_string_value("type", @type) writer.write_additional_data(@additional_data) end |
#stage ⇒ Object
Gets the stage property value. The stage when the entity was changed. Possible values are: contentRetrieval, contentReview, generateReport, contentDeletion, caseResolved, unknownFutureValue.
140 141 142 |
# File 'lib/models/subject_rights_request_history.rb', line 140 def stage return @stage end |
#stage=(value) ⇒ Object
Sets the stage property value. The stage when the entity was changed. Possible values are: contentRetrieval, contentReview, generateReport, contentDeletion, caseResolved, unknownFutureValue.
148 149 150 |
# File 'lib/models/subject_rights_request_history.rb', line 148 def stage=(value) @stage = value end |
#stage_status ⇒ Object
Gets the stageStatus property value. The status of the stage when the entity was changed. Possible values are: notStarted, current, completed, failed, unknownFutureValue.
155 156 157 |
# File 'lib/models/subject_rights_request_history.rb', line 155 def stage_status return @stage_status end |
#stage_status=(value) ⇒ Object
Sets the stageStatus property value. The status of the stage when the entity was changed. Possible values are: notStarted, current, completed, failed, unknownFutureValue.
163 164 165 |
# File 'lib/models/subject_rights_request_history.rb', line 163 def stage_status=(value) @stage_status = value end |
#type ⇒ Object
Gets the type property value. Type of history.
170 171 172 |
# File 'lib/models/subject_rights_request_history.rb', line 170 def type return @type end |
#type=(value) ⇒ Object
Sets the type property value. Type of history.
178 179 180 |
# File 'lib/models/subject_rights_request_history.rb', line 178 def type=(value) @type = value end |