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

package com.azure.resourcemanager.automation.models;

import com.azure.resourcemanager.automation.fluent.models.JobCollectionItemInner;
import java.time.OffsetDateTime;
import java.util.UUID;

/** An immutable client-side representation of JobCollectionItem. */
public interface JobCollectionItem {
    /**
     * Gets the id property: Fully qualified resource Id for the resource.
     *
     * @return the id value.
     */
    String id();

    /**
     * Gets the name property: The name of the resource.
     *
     * @return the name value.
     */
    String name();

    /**
     * Gets the type property: The type of the resource.
     *
     * @return the type value.
     */
    String type();

    /**
     * Gets the runbook property: The runbook association.
     *
     * @return the runbook value.
     */
    RunbookAssociationProperty runbook();

    /**
     * Gets the jobId property: The id of the job.
     *
     * @return the jobId value.
     */
    UUID jobId();

    /**
     * Gets the creationTime property: The creation time of the job.
     *
     * @return the creationTime value.
     */
    OffsetDateTime creationTime();

    /**
     * Gets the status property: The status of the job.
     *
     * @return the status value.
     */
    JobStatus status();

    /**
     * Gets the startTime property: The start time of the job.
     *
     * @return the startTime value.
     */
    OffsetDateTime startTime();

    /**
     * Gets the endTime property: The end time of the job.
     *
     * @return the endTime value.
     */
    OffsetDateTime endTime();

    /**
     * Gets the lastModifiedTime property: The last modified time of the job.
     *
     * @return the lastModifiedTime value.
     */
    OffsetDateTime lastModifiedTime();

    /**
     * Gets the provisioningState property: The provisioning state of a resource.
     *
     * @return the provisioningState value.
     */
    String provisioningState();

    /**
     * Gets the runOn property: Specifies the runOn group name where the job was executed.
     *
     * @return the runOn value.
     */
    String runOn();

    /**
     * Gets the inner com.azure.resourcemanager.automation.fluent.models.JobCollectionItemInner object.
     *
     * @return the inner object.
     */
    JobCollectionItemInner innerModel();
}
