Class: MicrosoftGraph::Models::LogicAppTriggerEndpointConfiguration

Inherits:
CustomExtensionEndpointConfiguration show all
Includes:
MicrosoftKiotaAbstractions::Parsable
Defined in:
lib/models/logic_app_trigger_endpoint_configuration.rb

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from CustomExtensionEndpointConfiguration

#additional_data, #additional_data=, #odata_type, #odata_type=

Constructor Details

#initializeObject

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

Parameters:

  • parse_node

    The parse node to use to read the discriminator value and create the object

Returns:

  • a logic_app_trigger_endpoint_configuration

Raises:

  • (StandardError)


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_deserializersObject

The deserialization information for the current model

Returns:

  • a i_dictionary



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_nameObject

Gets the logicAppWorkflowName property value. The name of the logic app.

Returns:

  • a string



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.

Parameters:

  • value

    Value to set for the logicAppWorkflowName property.

Returns:

  • a void



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_nameObject

Gets the resourceGroupName property value. The Azure resource group name for the logic app.

Returns:

  • a string



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.

Parameters:

  • value

    Value to set for the resourceGroupName property.

Returns:

  • a void



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

Parameters:

  • writer

    Serialization writer to use to serialize this model

Returns:

  • a void

Raises:

  • (StandardError)


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_idObject

Gets the subscriptionId property value. Identifier of the Azure subscription for the logic app.

Returns:

  • a string



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.

Parameters:

  • value

    Value to set for the subscriptionId property.

Returns:

  • a void



105
106
107
# File 'lib/models/logic_app_trigger_endpoint_configuration.rb', line 105

def subscription_id=(value)
    @subscription_id = value
end

#urlObject

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.

Returns:

  • a string



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.

Parameters:

  • value

    Value to set for the url property.

Returns:

  • a void



120
121
122
# File 'lib/models/logic_app_trigger_endpoint_configuration.rb', line 120

def url=(value)
    @url = value
end