/** * Execute the PassInSingleEnumeratedValue operation. * * @param enumeratedValue * enumeration value * @return An empty service response */ void passInSingleEnumeratedValue(@Param("enumeratedValue") SimpleDomainEnumeration enumeratedValue);
/** * An operation that demonstrates some important business function. Returns the altered domain... * * @param someBusinessEntity * The entity on which we should perform some business operation * @param otherImportantData * Critical data to supplement the business entity * @return A service response-wrapped instance of {@link SimpleDomain} */ SimpleDomain someBusinessOperation(SimpleDomain someBusinessEntity, @Param("otherImportantData") String otherImportantData);
/** * 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);
/** * 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);
/** * @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;
/** * 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);
/** * Execute the CreateAndPropagateErrorMessages operation. * * @param numErrorMessagesToGenerate * @return An empty service response */ @RequestLine("POST /SimpleDomainManagerService/createAndPropagateErrorMessages?numErrorMessagesToGenerate={numErrorMessagesToGenerate}") @Headers({ "Content-Type: " + MediaType.APPLICATION_JSON }) public VoidServiceResponse createAndPropagateErrorMessages( @Param("numErrorMessagesToGenerate") Integer numErrorMessagesToGenerate);