src/main/java/com/ngrok/services/SshCredentials.java
public CompletionStage<SshCredential> call() {
            return apiClient.sendRequest(
                NgrokApiClient.HttpMethod.PATCH,
                "/ssh_credentials/" + this.id,
                Stream.empty(),
                Stream.of(
                    new AbstractMap.SimpleEntry<>("description", this.description.map(Function.identity())),
                    new AbstractMap.SimpleEntry<>("metadata", this.metadata.map(Function.identity())),
                    new AbstractMap.SimpleEntry<>("acl", this.acl.map(Function.identity()))
                ),
                Optional.of(SshCredential.class)
            );
        }
/**
         * Initiates the API call asynchronously.
         *
         * @return a {@link CompletionStage} of {@link SshCredential}
         */
Initiates the API call asynchronously.
Initiates the API call asynchronously .
public CompletionStage<SshCredential> call() {
            return apiClient.sendRequest(
                NgrokApiClient.HttpMethod.PATCH,
                "/ssh_credentials/" + this.id,
                Stream.empty(),
                Stream.of(
                    new AbstractMap.SimpleEntry<>("description", this.description.map(Function.identity())),
                    new AbstractMap.SimpleEntry<>("metadata", this.metadata.map(Function.identity())),
                    new AbstractMap.SimpleEntry<>("acl", this.acl.map(Function.identity()))
                ),
                Optional.of(SshCredential.class)
            );
        }
public CompletionStage < SshCredential > call ( ) { return apiClient . sendRequest ( NgrokApiClient . HttpMethod . PATCH , "/ssh_credentials/" + this . id , Stream . empty ( ) , Stream . of ( new AbstractMap . SimpleEntry < > ( "description" , this . description . map ( Function . identity ( ) ) ) , new AbstractMap . SimpleEntry < > ( "metadata" , this . metadata . map ( Function . identity ( ) ) ) , new AbstractMap . SimpleEntry < > ( "acl" , this . acl . map ( Function . identity ( ) ) ) ) , Optional . of ( SshCredential . class ) ) ; }
Initiates the API call asynchronously.
Initiates the API call asynchronously .