// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.datafactory.fluent.models;

import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;

/** Dynamics CRM entity dataset properties. */
@Fluent
public final class DynamicsCrmEntityDatasetTypeProperties {
    /*
     * The logical name of the entity. Type: string (or Expression with resultType string).
     */
    @JsonProperty(value = "entityName")
    private Object entityName;

    /** Creates an instance of DynamicsCrmEntityDatasetTypeProperties class. */
    public DynamicsCrmEntityDatasetTypeProperties() {
    }

    /**
     * Get the entityName property: The logical name of the entity. Type: string (or Expression with resultType string).
     *
     * @return the entityName value.
     */
    public Object entityName() {
        return this.entityName;
    }

    /**
     * Set the entityName property: The logical name of the entity. Type: string (or Expression with resultType string).
     *
     * @param entityName the entityName value to set.
     * @return the DynamicsCrmEntityDatasetTypeProperties object itself.
     */
    public DynamicsCrmEntityDatasetTypeProperties withEntityName(Object entityName) {
        this.entityName = entityName;
        return this;
    }

    /**
     * Validates the instance.
     *
     * @throws IllegalArgumentException thrown if the instance is not valid.
     */
    public void validate() {
    }
}
