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

package com.microsoft.azure.storage.blob.models;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;
import java.util.ArrayList;
import java.util.List;

/**
 * The BlockLookupList model.
 */
@JacksonXmlRootElement(localName = "BlockList")
public final class BlockLookupList {
    /**
     * The committed property.
     */
    @JsonProperty("Committed")
    private List<String> committed = new ArrayList<>();

    /**
     * The uncommitted property.
     */
    @JsonProperty("Uncommitted")
    private List<String> uncommitted = new ArrayList<>();

    /**
     * The latest property.
     */
    @JsonProperty("Latest")
    private List<String> latest = new ArrayList<>();

    /**
     * Get the committed value.
     *
     * @return the committed value.
     */
    public List<String> committed() {
        return this.committed;
    }

    /**
     * Set the committed value.
     *
     * @param committed the committed value to set.
     * @return the BlockLookupList object itself.
     */
    public BlockLookupList withCommitted(List<String> committed) {
        this.committed = committed;
        return this;
    }

    /**
     * Get the uncommitted value.
     *
     * @return the uncommitted value.
     */
    public List<String> uncommitted() {
        return this.uncommitted;
    }

    /**
     * Set the uncommitted value.
     *
     * @param uncommitted the uncommitted value to set.
     * @return the BlockLookupList object itself.
     */
    public BlockLookupList withUncommitted(List<String> uncommitted) {
        this.uncommitted = uncommitted;
        return this;
    }

    /**
     * Get the latest value.
     *
     * @return the latest value.
     */
    public List<String> latest() {
        return this.latest;
    }

    /**
     * Set the latest value.
     *
     * @param latest the latest value to set.
     * @return the BlockLookupList object itself.
     */
    public BlockLookupList withLatest(List<String> latest) {
        this.latest = latest;
        return this;
    }
}
