Class: MicrosoftGraph::Models::AccessPackageAssignmentRequestWorkflowExtension
- Inherits:
-
CustomCalloutExtension
- Object
- Entity
- CustomCalloutExtension
- MicrosoftGraph::Models::AccessPackageAssignmentRequestWorkflowExtension
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/access_package_assignment_request_workflow_extension.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
-
#callback_configuration ⇒ Object
Gets the callbackConfiguration property value.
-
#callback_configuration=(value) ⇒ Object
Sets the callbackConfiguration 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.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#initialize ⇒ Object
constructor
Instantiates a new accessPackageAssignmentRequestWorkflowExtension and sets the default values.
-
#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.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
Methods inherited from CustomCalloutExtension
#authentication_configuration, #authentication_configuration=, #client_configuration, #client_configuration=, #description, #description=, #display_name, #display_name=, #endpoint_configuration, #endpoint_configuration=
Methods inherited from Entity
#additional_data, #additional_data=, #id, #id=, #odata_type, #odata_type=
Constructor Details
#initialize ⇒ Object
Instantiates a new accessPackageAssignmentRequestWorkflowExtension and sets the default values.
44 45 46 47 |
# File 'lib/models/access_package_assignment_request_workflow_extension.rb', line 44 def initialize() super @odata_type = "#microsoft.graph.accessPackageAssignmentRequestWorkflowExtension" end |
Class Method Details
.create_from_discriminator_value(parse_node) ⇒ Object
Creates a new instance of the appropriate class based on discriminator value
83 84 85 86 |
# File 'lib/models/access_package_assignment_request_workflow_extension.rb', line 83 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return AccessPackageAssignmentRequestWorkflowExtension.new end |
Instance Method Details
#callback_configuration ⇒ Object
Gets the callbackConfiguration property value. The callback configuration for a custom extension.
29 30 31 |
# File 'lib/models/access_package_assignment_request_workflow_extension.rb', line 29 def callback_configuration return @callback_configuration end |
#callback_configuration=(value) ⇒ Object
Sets the callbackConfiguration property value. The callback configuration for a custom extension.
37 38 39 |
# File 'lib/models/access_package_assignment_request_workflow_extension.rb', line 37 def callback_configuration=(value) @callback_configuration = value end |
#created_by ⇒ Object
Gets the createdBy property value. The userPrincipalName of the user or identity of the subject that created this resource. Read-only.
52 53 54 |
# File 'lib/models/access_package_assignment_request_workflow_extension.rb', line 52 def created_by return @created_by end |
#created_by=(value) ⇒ Object
Sets the createdBy property value. The userPrincipalName of the user or identity of the subject that created this resource. Read-only.
60 61 62 |
# File 'lib/models/access_package_assignment_request_workflow_extension.rb', line 60 def created_by=(value) @created_by = value end |
#created_date_time ⇒ Object
Gets the createdDateTime property value. When the object was created.
67 68 69 |
# File 'lib/models/access_package_assignment_request_workflow_extension.rb', line 67 def created_date_time return @created_date_time end |
#created_date_time=(value) ⇒ Object
Sets the createdDateTime property value. When the object was created.
75 76 77 |
# File 'lib/models/access_package_assignment_request_workflow_extension.rb', line 75 def created_date_time=(value) @created_date_time = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
91 92 93 94 95 96 97 98 99 |
# File 'lib/models/access_package_assignment_request_workflow_extension.rb', line 91 def get_field_deserializers() return super.merge({ "callbackConfiguration" => lambda {|n| @callback_configuration = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::CustomExtensionCallbackConfiguration.create_from_discriminator_value(pn) }) }, "createdBy" => lambda {|n| @created_by = n.get_string_value() }, "createdDateTime" => lambda {|n| @created_date_time = n.get_date_time_value() }, "lastModifiedBy" => lambda {|n| @last_modified_by = n.get_string_value() }, "lastModifiedDateTime" => lambda {|n| @last_modified_date_time = n.get_date_time_value() }, }) end |
#last_modified_by ⇒ Object
Gets the lastModifiedBy property value. The userPrincipalName of the identity that last modified the object.
104 105 106 |
# File 'lib/models/access_package_assignment_request_workflow_extension.rb', line 104 def last_modified_by return @last_modified_by end |
#last_modified_by=(value) ⇒ Object
Sets the lastModifiedBy property value. The userPrincipalName of the identity that last modified the object.
112 113 114 |
# File 'lib/models/access_package_assignment_request_workflow_extension.rb', line 112 def last_modified_by=(value) @last_modified_by = value end |
#last_modified_date_time ⇒ Object
Gets the lastModifiedDateTime property value. When the object was last modified.
119 120 121 |
# File 'lib/models/access_package_assignment_request_workflow_extension.rb', line 119 def last_modified_date_time return @last_modified_date_time end |
#last_modified_date_time=(value) ⇒ Object
Sets the lastModifiedDateTime property value. When the object was last modified.
127 128 129 |
# File 'lib/models/access_package_assignment_request_workflow_extension.rb', line 127 def last_modified_date_time=(value) @last_modified_date_time = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
135 136 137 138 139 140 141 142 143 |
# File 'lib/models/access_package_assignment_request_workflow_extension.rb', line 135 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? super writer.write_object_value("callbackConfiguration", @callback_configuration) writer.write_string_value("createdBy", @created_by) writer.write_date_time_value("createdDateTime", @created_date_time) writer.write_string_value("lastModifiedBy", @last_modified_by) writer.write_date_time_value("lastModifiedDateTime", @last_modified_date_time) end |