ProductFeatureApi
valkyrai-api
All URIs are relative to http://localhost:8080/v1
| Method | HTTP request | Description |
|---|---|---|
| deleteProductFeature | DELETE ProductFeatureApi | Delete a ProductFeature. |
deleteProductFeature
Void
deleteProductFeature(id)
Delete a ProductFeature.
Deletes a specific ProductFeature.
Example
Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.ProductFeatureApi;
ProductFeatureApi apiInstance = new ProductFeatureApi();
UUID id = UUID.randomUUID(); // UUID | Unique identifier for the ProductFeature.
try {
Void result = apiInstance.deleteProductFeature(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ProductFeatureApi#deleteProductFeature");
e.printStackTrace();
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| id | UUID | Unique identifier for the ProductFeature. |
Return type
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept: Not defined
getProductFeature
ProductFeature
getProductFeature(id)
Retrieve a single ProductFeature
Retrieves a single ProductFeature for a specific uid.
Example
Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.ProductFeatureApi;
ProductFeatureApi apiInstance = new ProductFeatureApi();
UUID id = UUID.randomUUID(); // UUID | Unique identifier for the ProductFeature.
try {
ProductFeature result = apiInstance.getProductFeature(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ProductFeatureApi#getProductFeature");
e.printStackTrace();
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| id | UUID | Unique identifier for the ProductFeature. |
Return type
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
getProductFeatureList
ProductFeature
getProductFeatureList(pagesizesort)
Retrieve a list of ProductFeatures
Retrieves a list of ProductFeatures.
Example
Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.ProductFeatureApi;
ProductFeatureApi apiInstance = new ProductFeatureApi();
Integer page = 0; // Integer |
Integer size = 20; // Integer |
List<String> sort = Arrays.asList(); // List<String> |
try {
ProductFeature result = apiInstance.getProductFeatureList(pagesizesort);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ProductFeatureApi#getProductFeatureList");
e.printStackTrace();
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| page | Integer | [optional] [default to 0] | |
| size | Integer | [optional] [default to 20] | |
| sort | List<String> | [optional] |
Return type
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
postProductFeature
ProductFeature
postProductFeature(productFeature)
Create a new ProductFeature
Creates a new ProductFeature.
Example
Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.ProductFeatureApi;
ProductFeatureApi apiInstance = new ProductFeatureApi();
ProductFeature productFeature = new ProductFeature(); // ProductFeature | ProductFeature details.
try {
ProductFeature result = apiInstance.postProductFeature(productFeature);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ProductFeatureApi#postProductFeature");
e.printStackTrace();
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| productFeature | ProductFeature | ProductFeature details. |
Return type
Authorization
No authorization required
HTTP request headers
- Content-Type: application/json
- Accept: application/json
updateProductFeature
ProductFeature
updateProductFeature(idproductFeature)
Update an existing ProductFeature
Updates an existing ProductFeature.
Example
Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.ProductFeatureApi;
ProductFeatureApi apiInstance = new ProductFeatureApi();
UUID id = UUID.randomUUID(); // UUID | Unique identifier for the ProductFeature.
ProductFeature productFeature = new ProductFeature(); // ProductFeature | Updated ProductFeature details.
try {
ProductFeature result = apiInstance.updateProductFeature(idproductFeature);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ProductFeatureApi#updateProductFeature");
e.printStackTrace();
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| id | UUID | Unique identifier for the ProductFeature. | |
| productFeature | ProductFeature | Updated ProductFeature details. |
Return type
Authorization
No authorization required
HTTP request headers
- Content-Type: application/json
- Accept: application/json
Generated Version Details
| ~ | value |
|---|---|
| GENERATOR VERSION | com.valkyrlabs:ValkyrAI API 1.0.1-SNAPSHOT |
| API ARTIFACT | com.valkyrlabs.valkyrai-api.jar |
| GENERATOR VERSION | org.openapitools.openapi-generator:7.5.0 |
| GENERATOR CLASS | org.openapitools.codegen.languages.SpringCodegen |
| GENERATED DATE | 2025-12-03T11:13:18.492704-08:00[America/Los_Angeles] |