Class EncryptRequest

java.lang.Object
com.exoscale.sdk.model.EncryptRequest

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.4.0") public class EncryptRequest extends Object
EncryptRequest
  • Field Details

  • Constructor Details

    • EncryptRequest

      public EncryptRequest()
  • Method Details

    • encryptionContext

      public EncryptRequest encryptionContext(byte[] encryptionContext)
    • getEncryptionContext

      @Nullable public byte[] getEncryptionContext()
      Get encryptionContext
      Returns:
      encryptionContext
    • getEncryptionContext_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<byte[]> getEncryptionContext_JsonNullable()
    • setEncryptionContext_JsonNullable

      public void setEncryptionContext_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<byte[]> encryptionContext)
    • setEncryptionContext

      public void setEncryptionContext(byte[] encryptionContext)
    • plaintext

      public EncryptRequest plaintext(byte[] plaintext)
    • getPlaintext

      @Nonnull public byte[] getPlaintext()
      Get plaintext
      Returns:
      plaintext
    • setPlaintext

      public void setPlaintext(byte[] plaintext)
    • equals

      public boolean equals(Object o)
      Return true if this encrypt-request object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toUrlQueryString

      public String toUrlQueryString()
      Convert the instance into URL query string.
      Returns:
      URL query string
    • toUrlQueryString

      public String toUrlQueryString(String prefix)
      Convert the instance into URL query string.
      Parameters:
      prefix - prefix of the query string
      Returns:
      URL query string