Class Network.trustTokenOperationDone

    • Field Summary

       
      Serializable ID
      Modifier and Type Field
      protected static long serialVersionUID
      For Object Serialization.
       
      Event Properties
      Modifier and Type Field
      Integer issuedTokenCount
      The number of obtained Trust Tokens on a successful "Issuance" operation.
      String issuerOrigin
      Origin of the issuer in case of a "Issuance" or "Redemption" operation.
      String requestId
      [No Description Provided by Google]
      String status
      Detailed success or error status of the operation.
      String topLevelOrigin
      Top level origin.
      String type
      [No Description Provided by Google]
    • Constructor Summary

      Constructors 
      Constructor Description
      trustTokenOperationDone​(String status, String type, String requestId, String topLevelOrigin, String issuerOrigin, Integer issuedTokenCount)
      Constructor
      trustTokenOperationDone​(JsonObject jo)
      JSON Object Constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean[] optionals()
      Implementing this method allows sub-classes to specify which JSON Properties may be absent or null.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • status

        🡅  🡇    
        public final java.lang.String status
        Detailed success or error status of the operation. 'AlreadyExists' also signifies a successful operation, as the result of the operation already exists und thus, the operation was abort preemptively (e.g. a cache hit).
      • type

        🡅  🡇    
        public final java.lang.String type
        [No Description Provided by Google]
      • topLevelOrigin

        🡅  🡇    
        public final java.lang.String topLevelOrigin
        Top level origin. The context in which the operation was attempted.

        OPTIONAL
      • issuerOrigin

        🡅  🡇    
        public final java.lang.String issuerOrigin
        Origin of the issuer in case of a "Issuance" or "Redemption" operation.

        OPTIONAL
      • issuedTokenCount

        🡅  🡇    
        public final java.lang.Integer issuedTokenCount
        The number of obtained Trust Tokens on a successful "Issuance" operation.

        OPTIONAL
    • Constructor Detail

      • trustTokenOperationDone

        🡅  🡇    
        public trustTokenOperationDone​(java.lang.String status,
                                       java.lang.String type,
                                       java.lang.String requestId,
                                       java.lang.String topLevelOrigin,
                                       java.lang.String issuerOrigin,
                                       java.lang.Integer issuedTokenCount)
        Constructor
        Parameters:
        status - Detailed success or error status of the operation. 'AlreadyExists' also signifies a successful operation, as the result of the operation already exists und thus, the operation was abort preemptively (e.g. a cache hit).
        Acceptable Values: ["Ok", "InvalidArgument", "FailedPrecondition", "ResourceExhausted", "AlreadyExists", "Unavailable", "BadResponse", "InternalError", "UnknownError", "FulfilledLocally"]
        type - -
        requestId - -
        topLevelOrigin - Top level origin. The context in which the operation was attempted.
        OPTIONAL
        issuerOrigin - Origin of the issuer in case of a "Issuance" or "Redemption" operation.
        OPTIONAL
        issuedTokenCount - The number of obtained Trust Tokens on a successful "Issuance" operation.
        OPTIONAL
    • Method Detail

      • optionals

        🡅    
        public boolean[] optionals()
        Description copied from class: BaseType
        Implementing this method allows sub-classes to specify which JSON Properties may be absent or null. When binding a JsonObject to a Java-Object, if some of the expected fields for the Java-Object map to Properties which might be left-out or omitted, then that may be indicated by setting that fields array position TRUE.

        NOTE: This array should have a length equal to the number of fields contained by the Java Object. The first boolean in the array should specify whether the first Object Field may by absent. The second boolean should specify whether the second Object Field is optional in the JSON - and so on and so forth...
        Specified by:
        optionals in class BaseType
        Returns:
        A boolean[] array whose length is precisely equal to the number of fields in the Java Object.