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

package com.azure.communication.jobrouter.implementation.models;

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

/** Paged instance of RouterJob. */
@Fluent
public final class RouterJobItemInternal {
    /*
     * A unit of work to be routed
     */
    @JsonProperty(value = "job")
    private RouterJobInternal job;

    /*
     * (Optional) The Concurrency Token.
     */
    @JsonProperty(value = "etag")
    private String etag;

    /** Creates an instance of RouterJobItemInternal class. */
    public RouterJobItemInternal() {}

    /**
     * Get the job property: A unit of work to be routed.
     *
     * @return the job value.
     */
    public RouterJobInternal getJob() {
        return this.job;
    }

    /**
     * Set the job property: A unit of work to be routed.
     *
     * @param job the job value to set.
     * @return the RouterJobItemInternal object itself.
     */
    public RouterJobItemInternal setJob(RouterJobInternal job) {
        this.job = job;
        return this;
    }

    /**
     * Get the etag property: (Optional) The Concurrency Token.
     *
     * @return the etag value.
     */
    public String getEtag() {
        return this.etag;
    }

    /**
     * Set the etag property: (Optional) The Concurrency Token.
     *
     * @param etag the etag value to set.
     * @return the RouterJobItemInternal object itself.
     */
    public RouterJobItemInternal setEtag(String etag) {
        this.etag = etag;
        return this;
    }
}
