Class Form1099ListDataInner

    • Constructor Detail

      • Form1099ListDataInner

        public Form1099ListDataInner()
      • Form1099ListDataInner

        public Form1099ListDataInner​(Object o)
    • Method Detail

      • setActualInstance

        public void setActualInstance​(Object instance)
        Set the instance that matches the oneOf child schema, check the instance parameter is valid against the oneOf child schemas: Form1099K, Form1099Misc, Form1099Nec, Form1099R It could be an instance of the 'oneOf' schemas.
        Overrides:
        setActualInstance in class AbstractOpenApiSchema
        Parameters:
        instance - the actual instance of the schema/object
      • getActualInstance

        public Object getActualInstance()
        Get the actual instance, which can be the following: Form1099K, Form1099Misc, Form1099Nec, Form1099R
        Overrides:
        getActualInstance in class AbstractOpenApiSchema
        Returns:
        The actual instance (Form1099K, Form1099Misc, Form1099Nec, Form1099R)
      • getForm1099K

        public Form1099K getForm1099K()
                               throws ClassCastException
        Get the actual instance of `Form1099K`. If the actual instance is not `Form1099K`, the ClassCastException will be thrown.
        Returns:
        The actual instance of `Form1099K`
        Throws:
        ClassCastException - if the instance is not `Form1099K`
      • getForm1099Misc

        public Form1099Misc getForm1099Misc()
                                     throws ClassCastException
        Get the actual instance of `Form1099Misc`. If the actual instance is not `Form1099Misc`, the ClassCastException will be thrown.
        Returns:
        The actual instance of `Form1099Misc`
        Throws:
        ClassCastException - if the instance is not `Form1099Misc`
      • getForm1099Nec

        public Form1099Nec getForm1099Nec()
                                   throws ClassCastException
        Get the actual instance of `Form1099Nec`. If the actual instance is not `Form1099Nec`, the ClassCastException will be thrown.
        Returns:
        The actual instance of `Form1099Nec`
        Throws:
        ClassCastException - if the instance is not `Form1099Nec`
      • getForm1099R

        public Form1099R getForm1099R()
                               throws ClassCastException
        Get the actual instance of `Form1099R`. If the actual instance is not `Form1099R`, the ClassCastException will be thrown.
        Returns:
        The actual instance of `Form1099R`
        Throws:
        ClassCastException - if the instance is not `Form1099R`
      • 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 Form1099ListDataInner
      • fromJson

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

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