Class Update1099Form200Response

    • Constructor Detail

      • Update1099Form200Response

        public Update1099Form200Response()
      • Update1099Form200Response

        public Update1099Form200Response​(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: Form1042SResponse, Form1095BResponse, Form1099DivResponse, Form1099IntResponse, Form1099KResponse, Form1099MiscResponse, Form1099NecResponse, Form1099RResponse, FormResponseBase 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: Form1042SResponse, Form1095BResponse, Form1099DivResponse, Form1099IntResponse, Form1099KResponse, Form1099MiscResponse, Form1099NecResponse, Form1099RResponse, FormResponseBase
        Overrides:
        getActualInstance in class AbstractOpenApiSchema
        Returns:
        The actual instance (Form1042SResponse, Form1095BResponse, Form1099DivResponse, Form1099IntResponse, Form1099KResponse, Form1099MiscResponse, Form1099NecResponse, Form1099RResponse, FormResponseBase)
      • getFormResponseBase

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

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

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

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

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

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

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

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

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

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

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