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

org.kohsuke.github.JsonRateLimit Maven / Gradle / Ivy

There is a newer version: 2.0.0-alpha-2
Show newest version
package org.kohsuke.github;

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

import java.util.Objects;

import javax.annotation.Nonnull;

// TODO: Auto-generated Javadoc
/**
 * The Class JsonRateLimit.
 *
 * @author Kohsuke Kawaguchi
 */
class JsonRateLimit {

    /** The resources. */
    @Nonnull
    final GHRateLimit resources;

    @JsonCreator
    private JsonRateLimit(@Nonnull @JsonProperty(value = "resources", required = true) GHRateLimit resources) {
        Objects.requireNonNull(resources);
        this.resources = resources;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy