Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
newtork committed Aug 13, 2024
1 parent 9f43b65 commit 5b13086
Show file tree
Hide file tree
Showing 29 changed files with 1,099 additions and 1,099 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
import com.sap.cloud.sdk.services.openapi.core.AbstractOpenApiService;
import com.sap.cloud.sdk.services.openapi.apiclient.ApiClient;

import com.sap.ai.sdk.orchestration.client.model.CompletionPostRequest ; //NOPMD
import com.sap.ai.sdk.orchestration.client.model.CompletionPostResponse ; //NOPMD
import com.sap.ai.sdk.orchestration.client.model.ErrorResponse ; //NOPMD
import com.sap.ai.sdk.orchestration.client.model.CompletionPostRequest;
import com.sap.ai.sdk.orchestration.client.model.CompletionPostResponse;
import com.sap.ai.sdk.orchestration.client.model.ErrorResponse;

import java.util.HashMap;
import java.util.List;
Expand All @@ -32,46 +32,46 @@
import com.sap.cloud.sdk.cloudplatform.connectivity.Destination;

/**
* Internal Orchestration Service API in version 0.0.1.
*
* SAP AI Core - Orchestration Service API
*/

* Internal Orchestration Service API in version 0.0.1.
*
* SAP AI Core - Orchestration Service API
*/
public class OrchestrationCompletionApi extends AbstractOpenApiService {
/**
* Instantiates this API class to invoke operations on the Internal Orchestration Service API.
*
* @param httpDestination The destination that API should be used with
*/
* Instantiates this API class to invoke operations on the Internal Orchestration Service API.
*
* @param httpDestination The destination that API should be used with
*/
public OrchestrationCompletionApi( @Nonnull final Destination httpDestination )
{
super(httpDestination);
}

/**
* Instantiates this API class to invoke operations on the Internal Orchestration Service API based on a given {@link ApiClient}.
*
* @param apiClient
* ApiClient to invoke the API on
*/
* Instantiates this API class to invoke operations on the Internal Orchestration Service API based on a given {@link ApiClient}.
*
* @param apiClient
* ApiClient to invoke the API on
*/
@Beta
public OrchestrationCompletionApi( @Nonnull final ApiClient apiClient )
{
super(apiClient);
}

/**
* <p></p>
*<p></p>
* <p></p>
* <p></p>
* <p><b>200</b> - Successful response
* <p><b>400</b> - Bad Request
* <p><b>0</b> - Common Error
* @param completionPostRequest
The value for the parameter completionPostRequest
* @return CompletionPostResponse
* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
* @param completionPostRequest
* The value for the parameter completionPostRequest
* @return CompletionPostResponse
* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
@Nullable public CompletionPostResponse orchestrationV1EndpointsCreate( @Nonnull final CompletionPostRequest completionPostRequest) throws OpenApiRequestException {
@Nonnull
public CompletionPostResponse orchestrationV1EndpointsCreate( @Nonnull final CompletionPostRequest completionPostRequest) throws OpenApiRequestException {
final Object localVarPostBody = completionPostRequest;

// verify the required parameter 'completionPostRequest' is set
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import com.sap.cloud.sdk.services.openapi.core.AbstractOpenApiService;
import com.sap.cloud.sdk.services.openapi.apiclient.ApiClient;

import com.sap.ai.sdk.orchestration.client.model.OrchestrationV1EndpointsHealthz503Response ; //NOPMD
import com.sap.ai.sdk.orchestration.client.model.OrchestrationV1EndpointsHealthz503Response;

import java.util.HashMap;
import java.util.List;
Expand All @@ -30,43 +30,43 @@
import com.sap.cloud.sdk.cloudplatform.connectivity.Destination;

/**
* Internal Orchestration Service API in version 0.0.1.
*
* SAP AI Core - Orchestration Service API
*/

* Internal Orchestration Service API in version 0.0.1.
*
* SAP AI Core - Orchestration Service API
*/
public class OrchestrationHealthzApi extends AbstractOpenApiService {
/**
* Instantiates this API class to invoke operations on the Internal Orchestration Service API.
*
* @param httpDestination The destination that API should be used with
*/
* Instantiates this API class to invoke operations on the Internal Orchestration Service API.
*
* @param httpDestination The destination that API should be used with
*/
public OrchestrationHealthzApi( @Nonnull final Destination httpDestination )
{
super(httpDestination);
}

/**
* Instantiates this API class to invoke operations on the Internal Orchestration Service API based on a given {@link ApiClient}.
*
* @param apiClient
* ApiClient to invoke the API on
*/
* Instantiates this API class to invoke operations on the Internal Orchestration Service API based on a given {@link ApiClient}.
*
* @param apiClient
* ApiClient to invoke the API on
*/
@Beta
public OrchestrationHealthzApi( @Nonnull final ApiClient apiClient )
{
super(apiClient);
}

/**
* <p></p>
*<p></p>
* <p></p>
* <p></p>
* <p><b>200</b> - Service is up and running.
* <p><b>503</b> - Service is unavailable.
* @return String
* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
* @return String
* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
@Nullable public String orchestrationV1EndpointsHealthz() throws OpenApiRequestException {
@Nonnull
public String orchestrationV1EndpointsHealthz() throws OpenApiRequestException {
final Object localVarPostBody = null;

final String localVarPath = UriComponentsBuilder.fromPath("/healthz").build().toUriString();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
/**
* AzureContentSafety
*/

// CHECKSTYLE:OFF
public class AzureContentSafety
// CHECKSTYLE:ON
Expand All @@ -61,113 +60,113 @@ public class AzureContentSafety
private final Map<String, Object> cloudSdkCustomFields = new LinkedHashMap<>();

/**
* Set the hate of this {@link AzureContentSafety} instance and return the same instance.
*
* @param hate The hate of this {@link AzureContentSafety}
* @return The same instance of this {@link AzureContentSafety} class
*/
* Set the hate of this {@link AzureContentSafety} instance and return the same instance.
*
* @param hate The hate of this {@link AzureContentSafety}
* @return The same instance of this {@link AzureContentSafety} class
*/
@Nonnull public AzureContentSafety hate(@Nonnull final AzureThreshold hate) {
this.hate = hate;
return this;
}

/**
* Get hate
* @return hate The hate of this {@link AzureContentSafety} instance.
**/
* Get hate
* @return hate The hate of this {@link AzureContentSafety} instance.
*/
@Nonnull public AzureThreshold getHate() {
return hate;
}

/**
* Set the hate of this {@link AzureContentSafety} instance.
*
* @param hate The hate of this {@link AzureContentSafety}
*/
* Set the hate of this {@link AzureContentSafety} instance.
*
* @param hate The hate of this {@link AzureContentSafety}
*/
public void setHate( @Nonnull final AzureThreshold hate) {
this.hate = hate;
}

/**
* Set the selfHarm of this {@link AzureContentSafety} instance and return the same instance.
*
* @param selfHarm The selfHarm of this {@link AzureContentSafety}
* @return The same instance of this {@link AzureContentSafety} class
*/
* Set the selfHarm of this {@link AzureContentSafety} instance and return the same instance.
*
* @param selfHarm The selfHarm of this {@link AzureContentSafety}
* @return The same instance of this {@link AzureContentSafety} class
*/
@Nonnull public AzureContentSafety selfHarm(@Nonnull final AzureThreshold selfHarm) {
this.selfHarm = selfHarm;
return this;
}

/**
* Get selfHarm
* @return selfHarm The selfHarm of this {@link AzureContentSafety} instance.
**/
* Get selfHarm
* @return selfHarm The selfHarm of this {@link AzureContentSafety} instance.
*/
@Nonnull public AzureThreshold getSelfHarm() {
return selfHarm;
}

/**
* Set the selfHarm of this {@link AzureContentSafety} instance.
*
* @param selfHarm The selfHarm of this {@link AzureContentSafety}
*/
* Set the selfHarm of this {@link AzureContentSafety} instance.
*
* @param selfHarm The selfHarm of this {@link AzureContentSafety}
*/
public void setSelfHarm( @Nonnull final AzureThreshold selfHarm) {
this.selfHarm = selfHarm;
}

/**
* Set the sexual of this {@link AzureContentSafety} instance and return the same instance.
*
* @param sexual The sexual of this {@link AzureContentSafety}
* @return The same instance of this {@link AzureContentSafety} class
*/
* Set the sexual of this {@link AzureContentSafety} instance and return the same instance.
*
* @param sexual The sexual of this {@link AzureContentSafety}
* @return The same instance of this {@link AzureContentSafety} class
*/
@Nonnull public AzureContentSafety sexual(@Nonnull final AzureThreshold sexual) {
this.sexual = sexual;
return this;
}

/**
* Get sexual
* @return sexual The sexual of this {@link AzureContentSafety} instance.
**/
* Get sexual
* @return sexual The sexual of this {@link AzureContentSafety} instance.
*/
@Nonnull public AzureThreshold getSexual() {
return sexual;
}

/**
* Set the sexual of this {@link AzureContentSafety} instance.
*
* @param sexual The sexual of this {@link AzureContentSafety}
*/
* Set the sexual of this {@link AzureContentSafety} instance.
*
* @param sexual The sexual of this {@link AzureContentSafety}
*/
public void setSexual( @Nonnull final AzureThreshold sexual) {
this.sexual = sexual;
}

/**
* Set the violence of this {@link AzureContentSafety} instance and return the same instance.
*
* @param violence The violence of this {@link AzureContentSafety}
* @return The same instance of this {@link AzureContentSafety} class
*/
* Set the violence of this {@link AzureContentSafety} instance and return the same instance.
*
* @param violence The violence of this {@link AzureContentSafety}
* @return The same instance of this {@link AzureContentSafety} class
*/
@Nonnull public AzureContentSafety violence(@Nonnull final AzureThreshold violence) {
this.violence = violence;
return this;
}

/**
* Get violence
* @return violence The violence of this {@link AzureContentSafety} instance.
**/
* Get violence
* @return violence The violence of this {@link AzureContentSafety} instance.
*/
@Nonnull public AzureThreshold getViolence() {
return violence;
}

/**
* Set the violence of this {@link AzureContentSafety} instance.
*
* @param violence The violence of this {@link AzureContentSafety}
*/
* Set the violence of this {@link AzureContentSafety} instance.
*
* @param violence The violence of this {@link AzureContentSafety}
*/
public void setViolence( @Nonnull final AzureThreshold violence) {
this.violence = violence;
}
Expand Down Expand Up @@ -254,5 +253,6 @@ private String toIndentedString(final java.lang.Object o) {
return o.toString().replace("\n", "\n ");
}


}

Loading

0 comments on commit 5b13086

Please sign in to comment.