add cat and dog command
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 36s

This commit is contained in:
Lee
2024-06-27 14:45:08 +01:00
parent 576f7b156d
commit 175c8eba9f
4 changed files with 126 additions and 0 deletions

View File

@ -0,0 +1,20 @@
package cc.fascinated.bat.model.token.dogceo;
import lombok.AllArgsConstructor;
import lombok.Getter;
/**
* @author Fascinated (fascinated7)
*/
@Getter @AllArgsConstructor
public class RandomImage {
/**
* The URL of the image.
*/
private String message;
/**
* The status of the request.
*/
private String status;
}

View File

@ -0,0 +1,30 @@
package cc.fascinated.bat.model.token.thecatapi;
import lombok.AllArgsConstructor;
import lombok.Getter;
/**
* @author Fascinated (fascinated7)
*/
@Getter @AllArgsConstructor
public class CatImageToken {
/**
* The ID of the image.
*/
private String id;
/**
* The URL of the image.
*/
private String url;
/**
* The width of the image.
*/
private int width;
/**
* The height of the image.
*/
private int height;
}