Class: MicrosoftGraph::Models::SubjectRightsRequest
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/subject_rights_request.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
-
#assigned_to ⇒ Object
Gets the assignedTo property value.
-
#assigned_to=(value) ⇒ Object
Sets the assignedTo property value.
-
#closed_date_time ⇒ Object
Gets the closedDateTime property value.
-
#closed_date_time=(value) ⇒ Object
Sets the closedDateTime property value.
-
#created_by ⇒ Object
Gets the createdBy property value.
-
#created_by=(value) ⇒ Object
Sets the createdBy property value.
-
#created_date_time ⇒ Object
Gets the createdDateTime property value.
-
#created_date_time=(value) ⇒ Object
Sets the createdDateTime property value.
-
#data_subject ⇒ Object
Gets the dataSubject property value.
-
#data_subject=(value) ⇒ Object
Sets the dataSubject property value.
-
#data_subject_type ⇒ Object
Gets the dataSubjectType property value.
-
#data_subject_type=(value) ⇒ Object
Sets the dataSubjectType property value.
-
#description ⇒ Object
Gets the description property value.
-
#description=(value) ⇒ Object
Sets the description property value.
-
#display_name ⇒ Object
Gets the displayName property value.
-
#display_name=(value) ⇒ Object
Sets the displayName property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#history ⇒ Object
Gets the history property value.
-
#history=(value) ⇒ Object
Sets the history property value.
-
#initialize ⇒ Object
constructor
Instantiates a new subjectRightsRequest and sets the default values.
-
#insight ⇒ Object
Gets the insight property value.
-
#insight=(value) ⇒ Object
Sets the insight property value.
-
#internal_due_date_time ⇒ Object
Gets the internalDueDateTime property value.
-
#internal_due_date_time=(value) ⇒ Object
Sets the internalDueDateTime property value.
-
#last_modified_by ⇒ Object
Gets the lastModifiedBy property value.
-
#last_modified_by=(value) ⇒ Object
Sets the lastModifiedBy property value.
-
#last_modified_date_time ⇒ Object
Gets the lastModifiedDateTime property value.
-
#last_modified_date_time=(value) ⇒ Object
Sets the lastModifiedDateTime property value.
-
#notes ⇒ Object
Gets the notes property value.
-
#notes=(value) ⇒ Object
Sets the notes property value.
-
#regulations ⇒ Object
Gets the regulations property value.
-
#regulations=(value) ⇒ Object
Sets the regulations property value.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
-
#stages ⇒ Object
Gets the stages property value.
-
#stages=(value) ⇒ Object
Sets the stages property value.
-
#status ⇒ Object
Gets the status property value.
-
#status=(value) ⇒ Object
Sets the status property value.
-
#team ⇒ Object
Gets the team property value.
-
#team=(value) ⇒ Object
Sets the team property value.
-
#type ⇒ Object
Gets the type property value.
-
#type=(value) ⇒ Object
Sets the type property value.
Methods inherited from Entity
#additional_data, #additional_data=, #id, #id=, #odata_type, #odata_type=
Constructor Details
#initialize ⇒ Object
Instantiates a new subjectRightsRequest and sets the default values.
101 102 103 |
# File 'lib/models/subject_rights_request.rb', line 101 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
139 140 141 142 |
# File 'lib/models/subject_rights_request.rb', line 139 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return SubjectRightsRequest.new end |
Instance Method Details
#assigned_to ⇒ Object
Gets the assignedTo property value. Identity that the request is assigned to.
71 72 73 |
# File 'lib/models/subject_rights_request.rb', line 71 def assigned_to return @assigned_to end |
#assigned_to=(value) ⇒ Object
Sets the assignedTo property value. Identity that the request is assigned to.
79 80 81 |
# File 'lib/models/subject_rights_request.rb', line 79 def assigned_to=(value) @assigned_to = value end |
#closed_date_time ⇒ Object
Gets the closedDateTime property value. The date and time when the request was closed. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
86 87 88 |
# File 'lib/models/subject_rights_request.rb', line 86 def closed_date_time return @closed_date_time end |
#closed_date_time=(value) ⇒ Object
Sets the closedDateTime property value. The date and time when the request was closed. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
94 95 96 |
# File 'lib/models/subject_rights_request.rb', line 94 def closed_date_time=(value) @closed_date_time = value end |
#created_by ⇒ Object
Gets the createdBy property value. Identity information for the entity that created the request.
108 109 110 |
# File 'lib/models/subject_rights_request.rb', line 108 def created_by return @created_by end |
#created_by=(value) ⇒ Object
Sets the createdBy property value. Identity information for the entity that created the request.
116 117 118 |
# File 'lib/models/subject_rights_request.rb', line 116 def created_by=(value) @created_by = value end |
#created_date_time ⇒ Object
Gets the createdDateTime property value. The date and time when the request was created. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
123 124 125 |
# File 'lib/models/subject_rights_request.rb', line 123 def created_date_time return @created_date_time end |
#created_date_time=(value) ⇒ Object
Sets the createdDateTime property value. The date and time when the request was created. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
131 132 133 |
# File 'lib/models/subject_rights_request.rb', line 131 def created_date_time=(value) @created_date_time = value end |
#data_subject ⇒ Object
Gets the dataSubject property value. Information about the data subject.
147 148 149 |
# File 'lib/models/subject_rights_request.rb', line 147 def data_subject return @data_subject end |
#data_subject=(value) ⇒ Object
Sets the dataSubject property value. Information about the data subject.
155 156 157 |
# File 'lib/models/subject_rights_request.rb', line 155 def data_subject=(value) @data_subject = value end |
#data_subject_type ⇒ Object
Gets the dataSubjectType property value. The type of the data subject. Possible values are: customer, currentEmployee, formerEmployee, prospectiveEmployee, student, teacher, faculty, other, unknownFutureValue.
162 163 164 |
# File 'lib/models/subject_rights_request.rb', line 162 def data_subject_type return @data_subject_type end |
#data_subject_type=(value) ⇒ Object
Sets the dataSubjectType property value. The type of the data subject. Possible values are: customer, currentEmployee, formerEmployee, prospectiveEmployee, student, teacher, faculty, other, unknownFutureValue.
170 171 172 |
# File 'lib/models/subject_rights_request.rb', line 170 def data_subject_type=(value) @data_subject_type = value end |
#description ⇒ Object
Gets the description property value. Description for the request.
177 178 179 |
# File 'lib/models/subject_rights_request.rb', line 177 def description return @description end |
#description=(value) ⇒ Object
Sets the description property value. Description for the request.
185 186 187 |
# File 'lib/models/subject_rights_request.rb', line 185 def description=(value) @description = value end |
#display_name ⇒ Object
Gets the displayName property value. The name of the request.
192 193 194 |
# File 'lib/models/subject_rights_request.rb', line 192 def display_name return @display_name end |
#display_name=(value) ⇒ Object
Sets the displayName property value. The name of the request.
200 201 202 |
# File 'lib/models/subject_rights_request.rb', line 200 def display_name=(value) @display_name = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 |
# File 'lib/models/subject_rights_request.rb', line 207 def get_field_deserializers() return super.merge({ "assignedTo" => lambda {|n| @assigned_to = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::Identity.create_from_discriminator_value(pn) }) }, "closedDateTime" => lambda {|n| @closed_date_time = n.get_date_time_value() }, "createdBy" => lambda {|n| @created_by = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::IdentitySet.create_from_discriminator_value(pn) }) }, "createdDateTime" => lambda {|n| @created_date_time = n.get_date_time_value() }, "dataSubject" => lambda {|n| @data_subject = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::DataSubject.create_from_discriminator_value(pn) }) }, "dataSubjectType" => lambda {|n| @data_subject_type = n.get_enum_value(MicrosoftGraph::Models::DataSubjectType) }, "description" => lambda {|n| @description = n.get_string_value() }, "displayName" => lambda {|n| @display_name = n.get_string_value() }, "history" => lambda {|n| @history = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::SubjectRightsRequestHistory.create_from_discriminator_value(pn) }) }, "insight" => lambda {|n| @insight = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::SubjectRightsRequestDetail.create_from_discriminator_value(pn) }) }, "internalDueDateTime" => lambda {|n| @internal_due_date_time = n.get_date_time_value() }, "lastModifiedBy" => lambda {|n| @last_modified_by = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::IdentitySet.create_from_discriminator_value(pn) }) }, "lastModifiedDateTime" => lambda {|n| @last_modified_date_time = n.get_date_time_value() }, "notes" => lambda {|n| @notes = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::AuthoredNote.create_from_discriminator_value(pn) }) }, "regulations" => lambda {|n| @regulations = n.get_collection_of_primitive_values(String) }, "stages" => lambda {|n| @stages = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::SubjectRightsRequestStageDetail.create_from_discriminator_value(pn) }) }, "status" => lambda {|n| @status = n.get_enum_value(MicrosoftGraph::Models::SubjectRightsRequestStatus) }, "team" => lambda {|n| @team = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::Team.create_from_discriminator_value(pn) }) }, "type" => lambda {|n| @type = n.get_enum_value(MicrosoftGraph::Models::SubjectRightsRequestType) }, }) end |
#history ⇒ Object
Gets the history property value. Collection of history change events.
234 235 236 |
# File 'lib/models/subject_rights_request.rb', line 234 def history return @history end |
#history=(value) ⇒ Object
Sets the history property value. Collection of history change events.
242 243 244 |
# File 'lib/models/subject_rights_request.rb', line 242 def history=(value) @history = value end |
#insight ⇒ Object
Gets the insight property value. Insight about the request.
249 250 251 |
# File 'lib/models/subject_rights_request.rb', line 249 def insight return @insight end |
#insight=(value) ⇒ Object
Sets the insight property value. Insight about the request.
257 258 259 |
# File 'lib/models/subject_rights_request.rb', line 257 def insight=(value) @insight = value end |
#internal_due_date_time ⇒ Object
Gets the internalDueDateTime property value. The date and time when the request is internally due. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
264 265 266 |
# File 'lib/models/subject_rights_request.rb', line 264 def internal_due_date_time return @internal_due_date_time end |
#internal_due_date_time=(value) ⇒ Object
Sets the internalDueDateTime property value. The date and time when the request is internally due. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
272 273 274 |
# File 'lib/models/subject_rights_request.rb', line 272 def internal_due_date_time=(value) @internal_due_date_time = value end |
#last_modified_by ⇒ Object
Gets the lastModifiedBy property value. Identity information for the entity that last modified the request.
279 280 281 |
# File 'lib/models/subject_rights_request.rb', line 279 def last_modified_by return @last_modified_by end |
#last_modified_by=(value) ⇒ Object
Sets the lastModifiedBy property value. Identity information for the entity that last modified the request.
287 288 289 |
# File 'lib/models/subject_rights_request.rb', line 287 def last_modified_by=(value) @last_modified_by = value end |
#last_modified_date_time ⇒ Object
Gets the lastModifiedDateTime property value. The date and time when the request was last modified. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
294 295 296 |
# File 'lib/models/subject_rights_request.rb', line 294 def last_modified_date_time return @last_modified_date_time end |
#last_modified_date_time=(value) ⇒ Object
Sets the lastModifiedDateTime property value. The date and time when the request was last modified. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
302 303 304 |
# File 'lib/models/subject_rights_request.rb', line 302 def last_modified_date_time=(value) @last_modified_date_time = value end |
#notes ⇒ Object
Gets the notes property value. List of notes associcated with the request.
309 310 311 |
# File 'lib/models/subject_rights_request.rb', line 309 def notes return @notes end |
#notes=(value) ⇒ Object
Sets the notes property value. List of notes associcated with the request.
317 318 319 |
# File 'lib/models/subject_rights_request.rb', line 317 def notes=(value) @notes = value end |
#regulations ⇒ Object
Gets the regulations property value. List of regulations that this request will fulfill.
324 325 326 |
# File 'lib/models/subject_rights_request.rb', line 324 def regulations return @regulations end |
#regulations=(value) ⇒ Object
Sets the regulations property value. List of regulations that this request will fulfill.
332 333 334 |
# File 'lib/models/subject_rights_request.rb', line 332 def regulations=(value) @regulations = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 |
# File 'lib/models/subject_rights_request.rb', line 340 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? super writer.write_object_value("assignedTo", @assigned_to) writer.write_date_time_value("closedDateTime", @closed_date_time) writer.write_object_value("createdBy", @created_by) writer.write_date_time_value("createdDateTime", @created_date_time) writer.write_object_value("dataSubject", @data_subject) writer.write_enum_value("dataSubjectType", @data_subject_type) writer.write_string_value("description", @description) writer.write_string_value("displayName", @display_name) writer.write_collection_of_object_values("history", @history) writer.write_object_value("insight", @insight) writer.write_date_time_value("internalDueDateTime", @internal_due_date_time) writer.write_object_value("lastModifiedBy", @last_modified_by) writer.write_date_time_value("lastModifiedDateTime", @last_modified_date_time) writer.write_collection_of_object_values("notes", @notes) writer.write_collection_of_primitive_values("regulations", @regulations) writer.write_collection_of_object_values("stages", @stages) writer.write_enum_value("status", @status) writer.write_object_value("team", @team) writer.write_enum_value("type", @type) end |
#stages ⇒ Object
Gets the stages property value. Information about the different stages for the request.
367 368 369 |
# File 'lib/models/subject_rights_request.rb', line 367 def stages return @stages end |
#stages=(value) ⇒ Object
Sets the stages property value. Information about the different stages for the request.
375 376 377 |
# File 'lib/models/subject_rights_request.rb', line 375 def stages=(value) @stages = value end |
#status ⇒ Object
Gets the status property value. The status of the request.. Possible values are: active, closed, unknownFutureValue.
382 383 384 |
# File 'lib/models/subject_rights_request.rb', line 382 def status return @status end |
#status=(value) ⇒ Object
Sets the status property value. The status of the request.. Possible values are: active, closed, unknownFutureValue.
390 391 392 |
# File 'lib/models/subject_rights_request.rb', line 390 def status=(value) @status = value end |
#team ⇒ Object
Gets the team property value. Information about the Microsoft Teams team that was created for the request.
397 398 399 |
# File 'lib/models/subject_rights_request.rb', line 397 def team return @team end |
#team=(value) ⇒ Object
Sets the team property value. Information about the Microsoft Teams team that was created for the request.
405 406 407 |
# File 'lib/models/subject_rights_request.rb', line 405 def team=(value) @team = value end |
#type ⇒ Object
Gets the type property value. The type of the request. Possible values are: export, delete, access, tagForAction, unknownFutureValue.
412 413 414 |
# File 'lib/models/subject_rights_request.rb', line 412 def type return @type end |
#type=(value) ⇒ Object
Sets the type property value. The type of the request. Possible values are: export, delete, access, tagForAction, unknownFutureValue.
420 421 422 |
# File 'lib/models/subject_rights_request.rb', line 420 def type=(value) @type = value end |