/**
 * 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 com.fasterxml.jackson.annotation.JsonProperty;

/**
 * The ImageCreateResult model.
 */
public class ImageCreateResult {
    /**
     * Source URL of the image.
     */
    @JsonProperty(value = "sourceUrl", access = JsonProperty.Access.WRITE_ONLY)
    private String sourceUrl;

    /**
     * Status of the image creation. Possible values include: 'OK',
     * 'OKDuplicate', 'ErrorSource', 'ErrorImageFormat', 'ErrorImageSize',
     * 'ErrorStorage', 'ErrorLimitExceed', 'ErrorTagLimitExceed',
     * 'ErrorRegionLimitExceed', 'ErrorUnknown',
     * 'ErrorNegativeAndRegularTagOnSameImage'.
     */
    @JsonProperty(value = "status", access = JsonProperty.Access.WRITE_ONLY)
    private ImageCreateStatus status;

    /**
     * The image.
     */
    @JsonProperty(value = "image", access = JsonProperty.Access.WRITE_ONLY)
    private Image image;

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

    /**
     * Get the status value.
     *
     * @return the status value
     */
    public ImageCreateStatus status() {
        return this.status;
    }

    /**
     * Get the image value.
     *
     * @return the image value
     */
    public Image image() {
        return this.image;
    }

}
