CustomDataset.java

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

package com.azure.analytics.synapse.artifacts.models;

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

/** The custom dataset. */
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type")
@JsonTypeName("CustomDataset")
@Fluent
public final class CustomDataset extends Dataset {
    /*
     * Custom dataset properties.
     */
    @JsonProperty(value = "typeProperties")
    private Object typeProperties;

    /**
     * Get the typeProperties property: Custom dataset properties.
     *
     * @return the typeProperties value.
     */
    public Object getTypeProperties() {
        return this.typeProperties;
    }

    /**
     * Set the typeProperties property: Custom dataset properties.
     *
     * @param typeProperties the typeProperties value to set.
     * @return the CustomDataset object itself.
     */
    public CustomDataset setTypeProperties(Object typeProperties) {
        this.typeProperties = typeProperties;
        return this;
    }
}