Class MandateDataInputFieldNamespace


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               comments="Generator version: 7.7.0")
    public class MandateDataInputFieldNamespace
    extends Object
    The namespace of the UBL element
    • Constructor Detail

      • MandateDataInputFieldNamespace

        public MandateDataInputFieldNamespace()
    • Method Detail

      • getPrefix

        @Nullable
        public String getPrefix()
        The namespace prefix for the UBL Element
        Returns:
        prefix
      • setPrefix

        public void setPrefix​(String prefix)
      • setValue

        public void setValue​(String value)
      • hashCode

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

        public static void validateJsonElement​(com.google.gson.JsonElement jsonElement)
                                        throws IOException
        Validates the JSON Element and throws an exception if issues found
        Parameters:
        jsonElement - JSON Element
        Throws:
        IOException - if the JSON Element is invalid with respect to MandateDataInputFieldNamespace
      • fromJson

        public static MandateDataInputFieldNamespace fromJson​(String jsonString)
                                                       throws IOException
        Create an instance of MandateDataInputFieldNamespace given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of MandateDataInputFieldNamespace
        Throws:
        IOException - if the JSON string is invalid with respect to MandateDataInputFieldNamespace
      • toJson

        public String toJson()
        Convert an instance of MandateDataInputFieldNamespace to an JSON string
        Returns:
        JSON string