package org.example.tampoposerverdtram.resources;
import com.fasterxml.jackson.annotation.JsonIgnore;
import java.util.*;
public class Pair {
private String user0Id;
private String user1Id;
@JsonIgnore
private Friends friends;
public Map<String, Object> getValue() {
Map temp_nil11 = new HashMap<>();
temp_nil11.put("user1Id",this.getUser1Id());
temp_nil11.put("user0Id",this.getUser0Id());
return temp_nil11;
}
public String getUser0Id() {
return user0Id;
}
public String getUser1Id() {
return user1Id;
}
public Pair(String pairId, String user0Id, String user1Id, Friends friends) {
this.user0Id = user0Id;
this.user1Id = user1Id;
this.friends = friends;
this.friends.updateUsersFromPair(pairId, this.getValue());
}
}