WebService

<back to all web services

GetKiFewShotRequest

import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    public static class GetKiFewShotRequest
    {
        public String Lizenz = null;
        public Integer MaxAnzahl = null;
        public Integer KategorieId = null;
        
        public String getLizenz() { return Lizenz; }
        public GetKiFewShotRequest setLizenz(String value) { this.Lizenz = value; return this; }
        public Integer getMaxAnzahl() { return MaxAnzahl; }
        public GetKiFewShotRequest setMaxAnzahl(Integer value) { this.MaxAnzahl = value; return this; }
        public Integer getKategorieId() { return KategorieId; }
        public GetKiFewShotRequest setKategorieId(Integer value) { this.KategorieId = value; return this; }
    }

    public static class GetKiFewShotResponse
    {
        public Boolean Status = null;
        public ArrayList<KiFewShotBeispiel> Beispiele = null;
        
        public Boolean isStatus() { return Status; }
        public GetKiFewShotResponse setStatus(Boolean value) { this.Status = value; return this; }
        public ArrayList<KiFewShotBeispiel> getBeispiele() { return Beispiele; }
        public GetKiFewShotResponse setBeispiele(ArrayList<KiFewShotBeispiel> value) { this.Beispiele = value; return this; }
    }

    public static class KiFewShotBeispiel
    {
        public Integer ID = null;
        public String Fehler = null;
        public String Analyse = null;
        public Integer Rating = null;
        
        public Integer getId() { return ID; }
        public KiFewShotBeispiel setId(Integer value) { this.ID = value; return this; }
        public String getFehler() { return Fehler; }
        public KiFewShotBeispiel setFehler(String value) { this.Fehler = value; return this; }
        public String getAnalyse() { return Analyse; }
        public KiFewShotBeispiel setAnalyse(String value) { this.Analyse = value; return this; }
        public Integer getRating() { return Rating; }
        public KiFewShotBeispiel setRating(Integer value) { this.Rating = value; return this; }
    }

}

Java GetKiFewShotRequest DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other

HTTP + OTHER

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /jsonl/reply/GetKiFewShotRequest HTTP/1.1 
Host: 52.142.207.43 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{"Lizenz":"String","MaxAnzahl":0,"KategorieId":0}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"Status":false,"Beispiele":[{"ID":0,"Fehler":"String","Analyse":"String","Rating":0}]}