Class: MicrosoftGraph::Models::CustomCalloutExtension
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/custom_callout_extension.rb
Direct Known Subclasses
AccessPackageAssignmentRequestWorkflowExtension, AccessPackageAssignmentWorkflowExtension, IdentityGovernanceCustomTaskExtension
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
-
#authentication_configuration ⇒ Object
Gets the authenticationConfiguration property value.
-
#authentication_configuration=(value) ⇒ Object
Sets the authenticationConfiguration property value.
-
#client_configuration ⇒ Object
Gets the clientConfiguration property value.
-
#client_configuration=(value) ⇒ Object
Sets the clientConfiguration 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.
-
#endpoint_configuration ⇒ Object
Gets the endpointConfiguration property value.
-
#endpoint_configuration=(value) ⇒ Object
Sets the endpointConfiguration property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#initialize ⇒ Object
constructor
Instantiates a new customCalloutExtension and sets the default values.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
Methods inherited from Entity
#additional_data, #additional_data=, #id, #id=, #odata_type, #odata_type=
Constructor Details
#initialize ⇒ Object
Instantiates a new customCalloutExtension and sets the default values.
58 59 60 |
# File 'lib/models/custom_callout_extension.rb', line 58 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
66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 |
# File 'lib/models/custom_callout_extension.rb', line 66 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? mapping_value_node = parse_node.get_child_node("@odata.type") unless mapping_value_node.nil? then mapping_value = mapping_value_node.get_string_value case mapping_value when "#microsoft.graph.accessPackageAssignmentRequestWorkflowExtension" return AccessPackageAssignmentRequestWorkflowExtension.new when "#microsoft.graph.accessPackageAssignmentWorkflowExtension" return AccessPackageAssignmentWorkflowExtension.new when "#microsoft.graph.identityGovernance.customTaskExtension" return IdentityGovernanceCustomTaskExtension.new end end return CustomCalloutExtension.new end |
Instance Method Details
#authentication_configuration ⇒ Object
Gets the authenticationConfiguration property value. Configuration for securing the API call to the logic app. For example, using OAuth client credentials flow.
28 29 30 |
# File 'lib/models/custom_callout_extension.rb', line 28 def authentication_configuration return @authentication_configuration end |
#authentication_configuration=(value) ⇒ Object
Sets the authenticationConfiguration property value. Configuration for securing the API call to the logic app. For example, using OAuth client credentials flow.
36 37 38 |
# File 'lib/models/custom_callout_extension.rb', line 36 def authentication_configuration=(value) @authentication_configuration = value end |
#client_configuration ⇒ Object
Gets the clientConfiguration property value. HTTP connection settings that define how long Azure AD can wait for a connection to a logic app, how many times you can retry a timed-out connection and the exception scenarios when retries are allowed.
43 44 45 |
# File 'lib/models/custom_callout_extension.rb', line 43 def client_configuration return @client_configuration end |
#client_configuration=(value) ⇒ Object
Sets the clientConfiguration property value. HTTP connection settings that define how long Azure AD can wait for a connection to a logic app, how many times you can retry a timed-out connection and the exception scenarios when retries are allowed.
51 52 53 |
# File 'lib/models/custom_callout_extension.rb', line 51 def client_configuration=(value) @client_configuration = value end |
#description ⇒ Object
Gets the description property value. Description for the customCalloutExtension object.
86 87 88 |
# File 'lib/models/custom_callout_extension.rb', line 86 def description return @description end |
#description=(value) ⇒ Object
Sets the description property value. Description for the customCalloutExtension object.
94 95 96 |
# File 'lib/models/custom_callout_extension.rb', line 94 def description=(value) @description = value end |
#display_name ⇒ Object
Gets the displayName property value. Display name for the customCalloutExtension object.
101 102 103 |
# File 'lib/models/custom_callout_extension.rb', line 101 def display_name return @display_name end |
#display_name=(value) ⇒ Object
Sets the displayName property value. Display name for the customCalloutExtension object.
109 110 111 |
# File 'lib/models/custom_callout_extension.rb', line 109 def display_name=(value) @display_name = value end |
#endpoint_configuration ⇒ Object
Gets the endpointConfiguration property value. The type and details for configuring the endpoint to call the logic app’s workflow.
116 117 118 |
# File 'lib/models/custom_callout_extension.rb', line 116 def endpoint_configuration return @endpoint_configuration end |
#endpoint_configuration=(value) ⇒ Object
Sets the endpointConfiguration property value. The type and details for configuring the endpoint to call the logic app’s workflow.
124 125 126 |
# File 'lib/models/custom_callout_extension.rb', line 124 def endpoint_configuration=(value) @endpoint_configuration = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
131 132 133 134 135 136 137 138 139 |
# File 'lib/models/custom_callout_extension.rb', line 131 def get_field_deserializers() return super.merge({ "authenticationConfiguration" => lambda {|n| @authentication_configuration = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::CustomExtensionAuthenticationConfiguration.create_from_discriminator_value(pn) }) }, "clientConfiguration" => lambda {|n| @client_configuration = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::CustomExtensionClientConfiguration.create_from_discriminator_value(pn) }) }, "description" => lambda {|n| @description = n.get_string_value() }, "displayName" => lambda {|n| @display_name = n.get_string_value() }, "endpointConfiguration" => lambda {|n| @endpoint_configuration = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::CustomExtensionEndpointConfiguration.create_from_discriminator_value(pn) }) }, }) end |
#serialize(writer) ⇒ Object
Serializes information the current object
145 146 147 148 149 150 151 152 153 |
# File 'lib/models/custom_callout_extension.rb', line 145 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? super writer.write_object_value("authenticationConfiguration", @authentication_configuration) writer.write_object_value("clientConfiguration", @client_configuration) writer.write_string_value("description", @description) writer.write_string_value("displayName", @display_name) writer.write_object_value("endpointConfiguration", @endpoint_configuration) end |