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

com.github.dockerjava.api.model.ThrottlingDataConfig Maven / Gradle / Ivy

There is a newer version: 3.4.0_1
Show newest version
package com.github.dockerjava.api.model;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;

import javax.annotation.CheckForNull;
import java.io.Serializable;

/**
 * Used in {@link Statistics}
 *
 * @author Yuting Liu
 */
@JsonIgnoreProperties(ignoreUnknown = true)
public class ThrottlingDataConfig implements Serializable {
    private static final long serialVersionUID = 1L;

    @JsonProperty("periods")
    private Long periods;

    @JsonProperty("throttled_periods")
    private Long throttledPeriods;

    @JsonProperty("throttled_time")
    private Long throttledTime;

    /**
     * @see #periods
     */
    @CheckForNull
    public Long getPeriods() {
        return periods;
    }

    /**
     * @see #throttledPeriods
     */
    @CheckForNull
    public Long getThrottledPeriods() {
        return throttledPeriods;
    }

    /**
     * @see #throttledTime
     */
    @CheckForNull
    public Long getThrottledTime() {
        return throttledTime;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy