content: /**
   * Copyright (C) 2024 AIDC-AI
   *
   * Licensed under the Apache License, Version 2.0 (the "License");
   * you may not use this file except in compliance with the License.
   * You may obtain a copy of the License at
   *
   *     http://www.apache.org/licenses/LICENSE-2.0
   *
   * Unless required by applicable law or agreed to in writing, software
   * distributed under the License is distributed on an "AS IS" BASIS,
   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   * See the License for the specific language governing permissions and
   * limitations under the License.
   */
  package com.alibaba.langengine.tusharestock.sdk;
  
  import com.fasterxml.jackson.annotation.JsonInclude;
  import com.fasterxml.jackson.annotation.JsonProperty;
  
  import java.util.Map;
  
  /**
   * Tushare request for Tushare API
   */
  @JsonInclude(JsonInclude.Include.NON_NULL)
  public class TushareRequest {
      
      /**
       * The API name to call
       */
      @JsonProperty("api_name")
      private String apiName;
      
      /**
       * The token for authentication
       */
      @JsonProperty("token")
      private String token;
      
      /**
       * The parameters for the API call
       */
      @JsonProperty("params")
      private Map<String, Object> params;
      
      /**
       * The fields to return
       */
      @JsonProperty("fields")
      private String fields;
      
      // Getters and Setters
      
      public String getApiName() {
          return apiName;
      }
      
      public void setApiName(String apiName) {
          this.apiName = apiName;
      }
      
      public String getToken() {
          return token;
      }
      
      public void setToken(String token) {
          this.token = token;
      }
      
      public Map<String, Object> getParams() {
          return params;
      }
      
      public void setParams(Map<String, Object> params) {
          this.params = params;
      }
      
      public String getFields() {
          return fields;
      }
      
      public void setFields(String fields) {
          this.fields = fields;
      }
  }