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

io.blockfrost.sdk.api.model.UsageMetric Maven / Gradle / Ivy

package io.blockfrost.sdk.api.model;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.databind.PropertyNamingStrategies;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import lombok.*;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode
@ToString
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonNaming(PropertyNamingStrategies.SnakeCaseStrategy.class)
public class UsageMetric {

    /**
     * Starting time of the call count interval (ends midnight UTC) in UNIX time.
     */
    Long time;
    /**
     * Sum of all calls for a particular day and endpoint.
     */
    Long calls;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy