All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.azure.storage.blob.models.PageRange Maven / Gradle / Ivy

There is a newer version: 12.29.0
Show newest version
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.storage.blob.models;

import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;

/** The PageRange model. */
@JacksonXmlRootElement(localName = "PageRange")
@Fluent
public final class PageRange {
    /*
     * The Start property.
     */
    @JsonProperty(value = "Start", required = true)
    private long start;

    /*
     * The End property.
     */
    @JsonProperty(value = "End", required = true)
    private long end;

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

    /**
     * Get the start property: The Start property.
     *
     * @return the start value.
     */
    public long getStart() {
        return this.start;
    }

    /**
     * Set the start property: The Start property.
     *
     * @param start the start value to set.
     * @return the PageRange object itself.
     */
    public PageRange setStart(long start) {
        this.start = start;
        return this;
    }

    /**
     * Get the end property: The End property.
     *
     * @return the end value.
     */
    public long getEnd() {
        return this.end;
    }

    /**
     * Set the end property: The End property.
     *
     * @param end the end value to set.
     * @return the PageRange object itself.
     */
    public PageRange setEnd(long end) {
        this.end = end;
        return this;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy