| POST | /warranty/v1/GetBrandPrivacyPolicy |
|---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class GetBrandPrivacyPolicy extends BaseRequest<String>
{
public String countryId = null;
public String languageId = null;
public String brandTrigram = null;
public Integer posId = null;
public String getCountryId() { return countryId; }
public GetBrandPrivacyPolicy setCountryId(String value) { this.countryId = value; return this; }
public String getLanguageId() { return languageId; }
public GetBrandPrivacyPolicy setLanguageId(String value) { this.languageId = value; return this; }
public String getBrandTrigram() { return brandTrigram; }
public GetBrandPrivacyPolicy setBrandTrigram(String value) { this.brandTrigram = value; return this; }
public Integer getPosId() { return posId; }
public GetBrandPrivacyPolicy setPosId(Integer value) { this.posId = value; return this; }
}
public static class BaseRequest<TResponse> implements IRequest
{
public String sid = null;
public String app = null;
public String _os = null;
public String _appVersion = null;
public String _searchMethod = null;
public String getSid() { return sid; }
public BaseRequest<TResponse> setSid(String value) { this.sid = value; return this; }
public String getApp() { return app; }
public BaseRequest<TResponse> setApp(String value) { this.app = value; return this; }
public String getOs() { return _os; }
public BaseRequest<TResponse> setOs(String value) { this._os = value; return this; }
public String getAppVersion() { return _appVersion; }
public BaseRequest<TResponse> setAppVersion(String value) { this._appVersion = value; return this; }
public String getSearchMethod() { return _searchMethod; }
public BaseRequest<TResponse> setSearchMethod(String value) { this._searchMethod = value; return this; }
}
}
Java GetBrandPrivacyPolicy DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /warranty/v1/GetBrandPrivacyPolicy HTTP/1.1
Host: qp-microservices-booster.richemont.com
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"countryId":"String","languageId":"String","brandTrigram":"String","posId":0,"sid":"String","app":"String","_os":"String","_appVersion":"String","_searchMethod":"String"}
HTTP/1.1 200 OK Content-Type: text/jsonl Content-Length: length (string)