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, Form1099DivResponse, Form1099MiscResponse, Form1099NecResponse, 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, Form1099DivResponse, Form1099MiscResponse, Form1099NecResponse, FormResponseBase
        Overrides:
        getActualInstance in class AbstractOpenApiSchema
        Returns:
        The actual instance (Form1042SResponse, Form1099DivResponse, Form1099MiscResponse, Form1099NecResponse, 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`
      • 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`
      • 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`
      • 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