Class GetStrategyCode200Response

java.lang.Object
com.qtsurfer.api.client.model.GetStrategyCode200Response

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.14.0") public class GetStrategyCode200Response extends Object
GetStrategyCode200Response
  • Field Details

  • Constructor Details

    • GetStrategyCode200Response

      public GetStrategyCode200Response()
  • Method Details

    • strategyId

      public GetStrategyCode200Response strategyId(@Nonnull String strategyId)
    • getStrategyId

      @Nonnull public String getStrategyId()
      Unique identifier for a compiled strategy, derived from the source itself: the same code always yields the same id, for every caller. How much formatting the id ignores depends on the language — see `POST /strategy` for exactly which rewrites preserve it and which do not.
      Returns:
      strategyId
    • setStrategyId

      public void setStrategyId(@Nonnull String strategyId)
    • code

      public GetStrategyCode200Response code(@Nonnull String code)
    • getCode

      @Nonnull public String getCode()
      Raw strategy source code (Java or QTScript), exactly as registered.
      Returns:
      code
    • setCode

      public void setCode(@Nonnull String code)
    • equals

      public boolean equals(Object o)
      Return true if this getStrategyCode_200_response object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toUrlQueryString

      public String toUrlQueryString()
      Convert the instance into URL query string.
      Returns:
      URL query string
    • toUrlQueryString

      public String toUrlQueryString(String prefix)
      Convert the instance into URL query string.
      Parameters:
      prefix - prefix of the query string
      Returns:
      URL query string