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

scouterx.webapp.model.VisitorGroup Maven / Gradle / Ivy

There is a newer version: 2.20.0
Show newest version
package scouterx.webapp.model;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.ToString;
import scouter.lang.pack.MapPack;

/**
 * Created by csk746([email protected]) on 2017. 10. 15..
 */
@Getter
@ToString
@AllArgsConstructor
@Builder
public class VisitorGroup {

    private String time;

    private long value;

    public static VisitorGroup of(MapPack mapPack){
        return VisitorGroup.builder().time(mapPack.getText("time")).value(mapPack.getLong("value")).build();
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy