Class OperationTemplateCreateRequest

java.lang.Object
com.wultra.security.powerauth.client.model.request.OperationTemplateCreateRequest

public class OperationTemplateCreateRequest extends Object
Request to create a new operation template.
Author:
Petr Dvorak, petr@wultra.com
  • Constructor Details

    • OperationTemplateCreateRequest

      public OperationTemplateCreateRequest()
  • Method Details

    • getTemplateName

      public String getTemplateName()
      The name of the operation template.
    • getOperationType

      public String getOperationType()
      The type of the operation that is created based on the template.
    • getDataTemplate

      public String getDataTemplate()
      Template for the operation data.
    • getSignatureType

      public List<@NotNull SignatureType> getSignatureType()
      Allowed signature types.
    • getMaxFailureCount

      public Long getMaxFailureCount()
      How many failed attempts should be allowed for the operation.
    • getExpiration

      public Long getExpiration()
      Operation expiration period in seconds.
    • getRiskFlags

      public String getRiskFlags()
      Risk flags for offline QR code. Uppercase letters without separator, e.g. XFC.
    • isProximityCheckEnabled

      public boolean isProximityCheckEnabled()
      Whether proximity check is enabled and TOTP seed should be generated.
    • setTemplateName

      public void setTemplateName(String templateName)
      The name of the operation template.
    • setOperationType

      public void setOperationType(String operationType)
      The type of the operation that is created based on the template.
    • setDataTemplate

      public void setDataTemplate(String dataTemplate)
      Template for the operation data.
    • setMaxFailureCount

      public void setMaxFailureCount(Long maxFailureCount)
      How many failed attempts should be allowed for the operation.
    • setExpiration

      public void setExpiration(Long expiration)
      Operation expiration period in seconds.
    • setRiskFlags

      public void setRiskFlags(String riskFlags)
      Risk flags for offline QR code. Uppercase letters without separator, e.g. XFC.
    • setProximityCheckEnabled

      public void setProximityCheckEnabled(boolean proximityCheckEnabled)
      Whether proximity check is enabled and TOTP seed should be generated.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object