src/main/java/com/ngrok/services/SshCertificateAuthorities.java
public CompletionStage<SshCertificateAuthority> call() {
            return apiClient.sendRequest(
                NgrokApiClient.HttpMethod.POST,
                "/ssh_certificate_authorities",
                Stream.empty(),
                Stream.of(
                    new AbstractMap.SimpleEntry<>("description", Optional.of(this.description)),
                    new AbstractMap.SimpleEntry<>("metadata", Optional.of(this.metadata)),
                    new AbstractMap.SimpleEntry<>("private_key_type", Optional.of(this.privateKeyType)),
                    new AbstractMap.SimpleEntry<>("elliptic_curve", Optional.of(this.ellipticCurve)),
                    new AbstractMap.SimpleEntry<>("key_size", Optional.of(this.keySize))
                ),
                Optional.of(SshCertificateAuthority.class)
            );
        }
/**
         * Initiates the API call asynchronously.
         *
         * @return a {@link CompletionStage} of {@link SshCertificateAuthority}
         */
Initiates the API call asynchronously.
Initiates the API call asynchronously .
public CompletionStage<SshCertificateAuthority> call() {
            return apiClient.sendRequest(
                NgrokApiClient.HttpMethod.POST,
                "/ssh_certificate_authorities",
                Stream.empty(),
                Stream.of(
                    new AbstractMap.SimpleEntry<>("description", Optional.of(this.description)),
                    new AbstractMap.SimpleEntry<>("metadata", Optional.of(this.metadata)),
                    new AbstractMap.SimpleEntry<>("private_key_type", Optional.of(this.privateKeyType)),
                    new AbstractMap.SimpleEntry<>("elliptic_curve", Optional.of(this.ellipticCurve)),
                    new AbstractMap.SimpleEntry<>("key_size", Optional.of(this.keySize))
                ),
                Optional.of(SshCertificateAuthority.class)
            );
        }
public CompletionStage < SshCertificateAuthority > call ( ) { return apiClient . sendRequest ( NgrokApiClient . HttpMethod . POST , "/ssh_certificate_authorities" , Stream . empty ( ) , Stream . of ( new AbstractMap . SimpleEntry < > ( "description" , Optional . of ( this . description ) ) , new AbstractMap . SimpleEntry < > ( "metadata" , Optional . of ( this . metadata ) ) , new AbstractMap . SimpleEntry < > ( "private_key_type" , Optional . of ( this . privateKeyType ) ) , new AbstractMap . SimpleEntry < > ( "elliptic_curve" , Optional . of ( this . ellipticCurve ) ) , new AbstractMap . SimpleEntry < > ( "key_size" , Optional . of ( this . keySize ) ) ) , Optional . of ( SshCertificateAuthority . class ) ) ; }
Initiates the API call asynchronously.
Initiates the API call asynchronously .