Class BulkUpsert1099FormsRequest

    • Constructor Detail

      • BulkUpsert1099FormsRequest

        public BulkUpsert1099FormsRequest()
      • BulkUpsert1099FormsRequest

        public BulkUpsert1099FormsRequest​(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: Form1042SList, Form1095BList, Form1095CList, Form1099DivList, Form1099IntList, Form1099KList, Form1099MiscList, Form1099NecList, Form1099RList 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: Form1042SList, Form1095BList, Form1095CList, Form1099DivList, Form1099IntList, Form1099KList, Form1099MiscList, Form1099NecList, Form1099RList
        Overrides:
        getActualInstance in class AbstractOpenApiSchema
        Returns:
        The actual instance (Form1042SList, Form1095BList, Form1095CList, Form1099DivList, Form1099IntList, Form1099KList, Form1099MiscList, Form1099NecList, Form1099RList)
      • getForm1042SList

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

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

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

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

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

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

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

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

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

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

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