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

com.cognite.client.ThreeD Maven / Gradle / Ivy

There is a newer version: 2.3.3
Show newest version
package com.cognite.client;

import com.google.auto.value.AutoValue;

@AutoValue
public abstract class ThreeD extends ApiBase {

    private static ThreeD.Builder builder() {
        return new AutoValue_ThreeD.Builder();
    }

    /**
     * Constructs a new {@link ThreeD} object using the provided client configuration.
     *
     * This method is intended for internal use--SDK clients should always use {@link CogniteClient}
     * as the entry point to this class.
     *
     * @param client The {@link CogniteClient} to use for configuration settings.
     * @return the assets api object.
     */
    public static ThreeD of(CogniteClient client) {
        return ThreeD.builder()
                .setClient(client)
                .build();
    }

    /**
     * Returns {@link ThreeDModels} representing 3D Models api endpoints.
     *
     * @return The ThreeDModels api endpoints.
     */
    public ThreeDModels models() {
        return ThreeDModels.of(getClient());
    }

    /**
     * Returns {@link ThreeDFiles} 3D Files api endpoints.
     *
     * @return The ThreeDFiles api endpoints.
     */
    public ThreeDFiles files() {
        return ThreeDFiles.of(getClient());
    }

    @AutoValue.Builder
    abstract static class Builder extends ApiBase.Builder {
        abstract ThreeD build();
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy