Class SendAlimTalkRequestSchemaToInner


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               date="2025-03-25T16:56:04.124507+09:00[Asia/Seoul]",
               comments="Generator version: 7.7.0")
    public class SendAlimTalkRequestSchemaToInner
    extends AbstractOpenApiSchema
    • Constructor Detail

      • SendAlimTalkRequestSchemaToInner

        public SendAlimTalkRequestSchemaToInner()
      • SendAlimTalkRequestSchemaToInner

        public SendAlimTalkRequestSchemaToInner​(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: SendAlimTalkRequestSchemaToInnerOneOf, String 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: SendAlimTalkRequestSchemaToInnerOneOf, String
        Overrides:
        getActualInstance in class AbstractOpenApiSchema
        Returns:
        The actual instance (SendAlimTalkRequestSchemaToInnerOneOf, String)
      • getString

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

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

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

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