All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.microsoft.graph.generated.models.LogicAppTriggerEndpointConfiguration Maven / Gradle / Ivy

There is a newer version: 6.20.0
Show newest version
package com.microsoft.graph.models;

import com.microsoft.kiota.serialization.Parsable;
import com.microsoft.kiota.serialization.ParseNode;
import com.microsoft.kiota.serialization.SerializationWriter;
import java.util.HashMap;
import java.util.Map;
import java.util.Objects;
@jakarta.annotation.Generated("com.microsoft.kiota")
public class LogicAppTriggerEndpointConfiguration extends CustomExtensionEndpointConfiguration implements Parsable {
    /**
     * Instantiates a new {@link LogicAppTriggerEndpointConfiguration} and sets the default values.
     */
    public LogicAppTriggerEndpointConfiguration() {
        super();
        this.setOdataType("#microsoft.graph.logicAppTriggerEndpointConfiguration");
    }
    /**
     * Creates a new instance of the appropriate class based on discriminator value
     * @param parseNode The parse node to use to read the discriminator value and create the object
     * @return a {@link LogicAppTriggerEndpointConfiguration}
     */
    @jakarta.annotation.Nonnull
    public static LogicAppTriggerEndpointConfiguration createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) {
        Objects.requireNonNull(parseNode);
        return new LogicAppTriggerEndpointConfiguration();
    }
    /**
     * The deserialization information for the current model
     * @return a {@link Map>}
     */
    @jakarta.annotation.Nonnull
    public Map> getFieldDeserializers() {
        final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers());
        deserializerMap.put("logicAppWorkflowName", (n) -> { this.setLogicAppWorkflowName(n.getStringValue()); });
        deserializerMap.put("resourceGroupName", (n) -> { this.setResourceGroupName(n.getStringValue()); });
        deserializerMap.put("subscriptionId", (n) -> { this.setSubscriptionId(n.getStringValue()); });
        deserializerMap.put("url", (n) -> { this.setUrl(n.getStringValue()); });
        return deserializerMap;
    }
    /**
     * Gets the logicAppWorkflowName property value. The name of the logic app.
     * @return a {@link String}
     */
    @jakarta.annotation.Nullable
    public String getLogicAppWorkflowName() {
        return this.backingStore.get("logicAppWorkflowName");
    }
    /**
     * Gets the resourceGroupName property value. The Azure resource group name for the logic app.
     * @return a {@link String}
     */
    @jakarta.annotation.Nullable
    public String getResourceGroupName() {
        return this.backingStore.get("resourceGroupName");
    }
    /**
     * Gets the subscriptionId property value. Identifier of the Azure subscription for the logic app.
     * @return a {@link String}
     */
    @jakarta.annotation.Nullable
    public String getSubscriptionId() {
        return this.backingStore.get("subscriptionId");
    }
    /**
     * 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.
     * @return a {@link String}
     */
    @jakarta.annotation.Nullable
    public String getUrl() {
        return this.backingStore.get("url");
    }
    /**
     * Serializes information the current object
     * @param writer Serialization writer to use to serialize this model
     */
    public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) {
        Objects.requireNonNull(writer);
        super.serialize(writer);
        writer.writeStringValue("logicAppWorkflowName", this.getLogicAppWorkflowName());
        writer.writeStringValue("resourceGroupName", this.getResourceGroupName());
        writer.writeStringValue("subscriptionId", this.getSubscriptionId());
        writer.writeStringValue("url", this.getUrl());
    }
    /**
     * Sets the logicAppWorkflowName property value. The name of the logic app.
     * @param value Value to set for the logicAppWorkflowName property.
     */
    public void setLogicAppWorkflowName(@jakarta.annotation.Nullable final String value) {
        this.backingStore.set("logicAppWorkflowName", value);
    }
    /**
     * Sets the resourceGroupName property value. The Azure resource group name for the logic app.
     * @param value Value to set for the resourceGroupName property.
     */
    public void setResourceGroupName(@jakarta.annotation.Nullable final String value) {
        this.backingStore.set("resourceGroupName", value);
    }
    /**
     * Sets the subscriptionId property value. Identifier of the Azure subscription for the logic app.
     * @param value Value to set for the subscriptionId property.
     */
    public void setSubscriptionId(@jakarta.annotation.Nullable final String value) {
        this.backingStore.set("subscriptionId", value);
    }
    /**
     * 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.
     * @param value Value to set for the url property.
     */
    public void setUrl(@jakarta.annotation.Nullable final String value) {
        this.backingStore.set("url", value);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy