/**
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License. See License.txt in the project root for
 * license information.
 *
 * Code generated by Microsoft (R) AutoRest Code Generator.
 */

package com.microsoft.azure.cognitiveservices.vision.customvision.training.models;

import java.util.UUID;
import org.joda.time.DateTime;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * Represents a project.
 */
public class Project {
    /**
     * Gets the project id.
     */
    @JsonProperty(value = "id", access = JsonProperty.Access.WRITE_ONLY)
    private UUID id;

    /**
     * Gets or sets the name of the project.
     */
    @JsonProperty(value = "name", required = true)
    private String name;

    /**
     * Gets or sets the description of the project.
     */
    @JsonProperty(value = "description", required = true)
    private String description;

    /**
     * Gets or sets the project settings.
     */
    @JsonProperty(value = "settings", required = true)
    private ProjectSettings settings;

    /**
     * Gets the date this project was created.
     */
    @JsonProperty(value = "created", access = JsonProperty.Access.WRITE_ONLY)
    private DateTime created;

    /**
     * Gets the date this project was last modified.
     */
    @JsonProperty(value = "lastModified", access = JsonProperty.Access.WRITE_ONLY)
    private DateTime lastModified;

    /**
     * Gets the thumbnail url representing the image.
     */
    @JsonProperty(value = "thumbnailUri", access = JsonProperty.Access.WRITE_ONLY)
    private String thumbnailUri;

    /**
     * Gets if the DR mode is on.
     */
    @JsonProperty(value = "drModeEnabled", access = JsonProperty.Access.WRITE_ONLY)
    private Boolean drModeEnabled;

    /**
     * Get the id value.
     *
     * @return the id value
     */
    public UUID id() {
        return this.id;
    }

    /**
     * Get the name value.
     *
     * @return the name value
     */
    public String name() {
        return this.name;
    }

    /**
     * Set the name value.
     *
     * @param name the name value to set
     * @return the Project object itself.
     */
    public Project withName(String name) {
        this.name = name;
        return this;
    }

    /**
     * Get the description value.
     *
     * @return the description value
     */
    public String description() {
        return this.description;
    }

    /**
     * Set the description value.
     *
     * @param description the description value to set
     * @return the Project object itself.
     */
    public Project withDescription(String description) {
        this.description = description;
        return this;
    }

    /**
     * Get the settings value.
     *
     * @return the settings value
     */
    public ProjectSettings settings() {
        return this.settings;
    }

    /**
     * Set the settings value.
     *
     * @param settings the settings value to set
     * @return the Project object itself.
     */
    public Project withSettings(ProjectSettings settings) {
        this.settings = settings;
        return this;
    }

    /**
     * Get the created value.
     *
     * @return the created value
     */
    public DateTime created() {
        return this.created;
    }

    /**
     * Get the lastModified value.
     *
     * @return the lastModified value
     */
    public DateTime lastModified() {
        return this.lastModified;
    }

    /**
     * Get the thumbnailUri value.
     *
     * @return the thumbnailUri value
     */
    public String thumbnailUri() {
        return this.thumbnailUri;
    }

    /**
     * Get the drModeEnabled value.
     *
     * @return the drModeEnabled value
     */
    public Boolean drModeEnabled() {
        return this.drModeEnabled;
    }

}
