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

com.descope.model.user.response.UserHistoryResponse Maven / Gradle / Ivy

The newest version!
package com.descope.model.user.response;

import java.time.Instant;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class UserHistoryResponse {
  String userId;
  Integer loginTime;
  String city;
  String country;
  String ip;

  public Instant getLoginTimeInstant() {
    return Instant.ofEpochSecond(loginTime);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy