Commit 18022025
This commit is contained in:
30
src/main/java/ErhaAPI/PhotoResult.java
Normal file
30
src/main/java/ErhaAPI/PhotoResult.java
Normal file
@@ -0,0 +1,30 @@
|
||||
package ErhaAPI;
|
||||
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
@Getter @Setter
|
||||
public class PhotoResult {
|
||||
private final String cameraname;
|
||||
private String fullres;
|
||||
private String compressedfile;
|
||||
private String fullcrop;
|
||||
private String compressedcrop;
|
||||
private String thumbnail;
|
||||
public PhotoResult(String cameraname){
|
||||
this.cameraname = cameraname;
|
||||
this.fullres = "";
|
||||
this.compressedfile = "";
|
||||
this.fullcrop = "";
|
||||
this.compressedcrop = "";
|
||||
this.thumbnail = "";
|
||||
}
|
||||
public PhotoResult(String cameraname,String fullres, String compressedfile, String fullcrop, String compressedcrop, String thumbnail){
|
||||
this.cameraname = cameraname;
|
||||
this.fullres = fullres;
|
||||
this.compressedfile = compressedfile;
|
||||
this.fullcrop = fullcrop;
|
||||
this.compressedcrop = compressedcrop;
|
||||
this.thumbnail = thumbnail;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user