@RequestLine("GET /greeting") String greeting();
@RequestLine("GET /IdentityKeyedEntity/findByExample") @Headers({ "Content-Type: application/json" }) ValueServiceResponse<PageWrapper<IdentityKeyedEntity>> findByExample( FindByExampleCriteria<IdentityKeyedEntity> criteria); }
@RequestLine("GET /MappedSuperclassOneToManyChild/findByExample") @Headers({ "Content-Type: application/json" }) ValueServiceResponse<PageWrapper<MappedSuperclassOneToManyChild>> findByExample( FindByExampleCriteria<MappedSuperclassOneToManyChild> criteria); }
/** * Execute the ReturnNullEntity operation. * * @return A service response-wrapped instance of {@link SimpleDomain} */ @RequestLine("POST /SimpleDomainManagerService/returnNullEntity") @Headers({ "Content-Type: " + MediaType.APPLICATION_JSON }) ValueServiceResponse<SimpleDomain> returnNullEntity();
/** * Execute the SelectAllSimpleDomainsByType operation. * * @param type * @return A service response-wrapped {@link Collection>} of {@link $ operation.returnManyType}} */ @RequestLine("GET /SimpleDomainManagerService/selectAllSimpleDomainsByType?type={type}") ValueServiceResponse<Collection<SimpleDomain>> selectAllSimpleDomainsByType(@Param("type") String type);
/** * Execute the LogServiceEntityExample operation. * * @return An empty service response */ @RequestLine("POST /ServiceExampleLoggerService/logServiceEntityExample") @Headers({ "Content-Type: " + MediaType.APPLICATION_JSON }) public VoidServiceResponse logServiceEntityExample();
@RequestLine("GET /ForeignKeyColumnConventions/findByExample") @Headers({ "Content-Type: application/json" }) ValueServiceResponse<PageWrapper<ForeignKeyColumnConventions>> findByExample( FindByExampleCriteria<ForeignKeyColumnConventions> criteria); }
/** * Execute the PassInMultipleEnumeratedValues operation. * * @param enumeratedValue * enumeration value * @return An empty service response */ @RequestLine("POST /EnumerationBasedService/passInMultipleEnumeratedValues?enumeratedValue={enumeratedValue}") @Headers({ "Content-Type: " + MediaType.APPLICATION_JSON }) public VoidServiceResponse passInMultipleEnumeratedValues( @Param("enumeratedValue") List<SimpleDomainEnumeration> enumeratedValue);
/** * Returns a list of the given size with each element containing the provided integer * * @param input * @param returnListSize * @return A service response-wrapped {@link Collection>} of {@link $ operation.returnManyType}} */ @RequestLine("POST /SimpleDomainManagerService/returnManyPrimitives?input={input}&returnListSize={returnListSize}") @Headers({ "Content-Type: " + MediaType.APPLICATION_JSON }) ValueServiceResponse<Collection<Integer>> returnManyPrimitives(@Param("input") Integer input, @Param("returnListSize") Integer returnListSize);
@RequestLine("GET /agent/{agentId}/files/download?path={path}") @Headers(HeaderUtils.MESOS_API_SOURCE_HEADER) feign.Response getAgentSandboxFile(@Param("agentId") String agentId, @Param("path") String path) throws DCOSException;
/** * @param namespace - All apps under this group/subgroups will be returned. Example "/products/us-east" * @param embed - Used to retrieve extra information regarding the app to be returned. * @return A {@link GetAppNamespaceResponse} containing all apps under the given namespace. * @throws DCOSException if any error occurs during communication with the api. */ @RequestLine("GET /v2/apps/{namespace}/*?embed={embed}") @Headers(HeaderUtils.MARATHON_API_SOURCE_HEADER) GetAppNamespaceResponse getAppsForNamespace(@Param("namespace") String namespace, @Param("embed") String embed) throws DCOSException;
@RequestLine("DELETE /v2/apps/{appId}?force={force}") @Headers(HeaderUtils.MARATHON_API_SOURCE_HEADER) Result deleteApp(@Param("appId") String appId, @Param("force") boolean force) throws DCOSException;
@RequestLine("POST /v2/groups/{id}?force={force}") @Headers(HeaderUtils.MARATHON_API_SOURCE_HEADER) Group createGroups(@Param("id") String id, @Param("force") boolean force) throws DCOSException;
@RequestLine("GET /openupload?filetype={file_type}&filesize={file_size}&access_token={token}") JsonObject requestUpload( @Param("file_type") String fileType, @Param("file_size") String fileSize, @Param("token") String token); }
@RequestLine("DELETE /v2/apps/{appId}/tasks?host={host}&force={force}") @Headers(HeaderUtils.MARATHON_API_SOURCE_HEADER) DeleteAppTasksResponse deleteAppTasksWithHost(@Param("appId") String appId, @Param("host") String host, @Param("force") boolean force) throws DCOSException;
@RequestLine("DELETE /v2/apps/{appId}/tasks/{taskId}?force={force}") @Headers(HeaderUtils.MARATHON_API_SOURCE_HEADER) DeleteAppTasksResponse deleteAppTasksWithTaskId(@Param("appId") String appId, @Param("taskId") String taskId, @Param("force") boolean force) throws DCOSException;
@RequestLine("DELETE /v2/apps/{appId}/tasks/{taskId}?force={force}&wipe=true") @Headers(HeaderUtils.MARATHON_API_SOURCE_HEADER) DeleteAppTasksResponse deleteAppTasksAndWipeWithTaskId(@Param("appId") String appId, @Param("taskId") String taskId, @Param("force") boolean force) throws DCOSException;
@RequestLine("DELETE /v2/apps/{appId}/tasks/{taskId}?force={force}&wipe=true") @Headers(HeaderUtils.MARATHON_API_SOURCE_HEADER) DeleteAppTasksResponse deleteAppTasksAndWipeWithTaskId(@Param("appId") String appId, @Param("taskId") String taskId, @Param("force") boolean force) throws DCOSException;
@RequestLine("POST /domains") @Body("%7B\"domains\":[%7B\"name\":\"{name}\",\"emailAddress\":\"{email}\",\"ttl\":{ttl}%7D]%7D") @Headers("Content-Type: application/json") Job createDomain(@Param("name") String name, @Param("email") String email, @Param("ttl") int ttl);
@RequestLine("PUT /domains/{domainId}/records/{recordId}") @Body("%7B\"ttl\":\"{ttl}\",\"data\":\"{data}\"%7D") @Headers("Content-Type: application/json") Job updateRecord(@Param("domainId") int domainId, @Param("recordId") String recordId, @Param("ttl") int ttl, @Param("data") String data);