Class: MicrosoftGraph::Models::LogicAppTriggerEndpointConfiguration
- Inherits:
-
CustomExtensionEndpointConfiguration
- Object
- CustomExtensionEndpointConfiguration
- MicrosoftGraph::Models::LogicAppTriggerEndpointConfiguration
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/logic_app_trigger_endpoint_configuration.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
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#initialize ⇒ Object
constructor
Instantiates a new logicAppTriggerEndpointConfiguration and sets the default values.
-
#logic_app_workflow_name ⇒ Object
Gets the logicAppWorkflowName property value.
-
#logic_app_workflow_name=(value) ⇒ Object
Sets the logicAppWorkflowName property value.
-
#resource_group_name ⇒ Object
Gets the resourceGroupName property value.
-
#resource_group_name=(value) ⇒ Object
Sets the resourceGroupName property value.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
-
#subscription_id ⇒ Object
Gets the subscriptionId property value.
-
#subscription_id=(value) ⇒ Object
Sets the subscriptionId property value.
-
#url ⇒ Object
Gets the url property value.
-
#url=(value) ⇒ Object
Sets the url property value.
Methods inherited from CustomExtensionEndpointConfiguration
#additional_data, #additional_data=, #odata_type, #odata_type=
Constructor Details
#initialize ⇒ Object
Instantiates a new logicAppTriggerEndpointConfiguration and sets the default values.
25 26 27 28 |
# File 'lib/models/logic_app_trigger_endpoint_configuration.rb', line 25 def initialize() super @odata_type = "#microsoft.graph.logicAppTriggerEndpointConfiguration" end |
Class Method Details
.create_from_discriminator_value(parse_node) ⇒ Object
Creates a new instance of the appropriate class based on discriminator value
34 35 36 37 |
# File 'lib/models/logic_app_trigger_endpoint_configuration.rb', line 34 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return LogicAppTriggerEndpointConfiguration.new end |
Instance Method Details
#get_field_deserializers ⇒ Object
The deserialization information for the current model
42 43 44 45 46 47 48 49 |
# File 'lib/models/logic_app_trigger_endpoint_configuration.rb', line 42 def get_field_deserializers() return super.merge({ "logicAppWorkflowName" => lambda {|n| @logic_app_workflow_name = n.get_string_value() }, "resourceGroupName" => lambda {|n| @resource_group_name = n.get_string_value() }, "subscriptionId" => lambda {|n| @subscription_id = n.get_string_value() }, "url" => lambda {|n| @url = n.get_string_value() }, }) end |
#logic_app_workflow_name ⇒ Object
Gets the logicAppWorkflowName property value. The name of the logic app.
54 55 56 |
# File 'lib/models/logic_app_trigger_endpoint_configuration.rb', line 54 def logic_app_workflow_name return @logic_app_workflow_name end |
#logic_app_workflow_name=(value) ⇒ Object
Sets the logicAppWorkflowName property value. The name of the logic app.
62 63 64 |
# File 'lib/models/logic_app_trigger_endpoint_configuration.rb', line 62 def logic_app_workflow_name=(value) @logic_app_workflow_name = value end |
#resource_group_name ⇒ Object
Gets the resourceGroupName property value. The Azure resource group name for the logic app.
69 70 71 |
# File 'lib/models/logic_app_trigger_endpoint_configuration.rb', line 69 def resource_group_name return @resource_group_name end |
#resource_group_name=(value) ⇒ Object
Sets the resourceGroupName property value. The Azure resource group name for the logic app.
77 78 79 |
# File 'lib/models/logic_app_trigger_endpoint_configuration.rb', line 77 def resource_group_name=(value) @resource_group_name = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
85 86 87 88 89 90 91 92 |
# File 'lib/models/logic_app_trigger_endpoint_configuration.rb', line 85 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? super writer.write_string_value("logicAppWorkflowName", @logic_app_workflow_name) writer.write_string_value("resourceGroupName", @resource_group_name) writer.write_string_value("subscriptionId", @subscription_id) writer.write_string_value("url", @url) end |
#subscription_id ⇒ Object
Gets the subscriptionId property value. Identifier of the Azure subscription for the logic app.
97 98 99 |
# File 'lib/models/logic_app_trigger_endpoint_configuration.rb', line 97 def subscription_id return @subscription_id end |
#subscription_id=(value) ⇒ Object
Sets the subscriptionId property value. Identifier of the Azure subscription for the logic app.
105 106 107 |
# File 'lib/models/logic_app_trigger_endpoint_configuration.rb', line 105 def subscription_id=(value) @subscription_id = value end |
#url ⇒ Object
Gets the url property value. The URL to the logic app endpoint that will be triggered. Only required for app-only token scenarios where app is creating a customCalloutExtension without a signed-in user.
112 113 114 |
# File 'lib/models/logic_app_trigger_endpoint_configuration.rb', line 112 def url return @url end |
#url=(value) ⇒ Object
Sets the url property value. The URL to the logic app endpoint that will be triggered. Only required for app-only token scenarios where app is creating a customCalloutExtension without a signed-in user.
120 121 122 |
# File 'lib/models/logic_app_trigger_endpoint_configuration.rb', line 120 def url=(value) @url = value end |