Class Config


  • @Generated("org.openapitools.codegen.languages.SpringCodegen")
    public class Config
    extends java.lang.Object
    This object may be requested directly by Pro for the logged in user, or by Sales when a Sales User selects a User to trade on behalf of. Describes the user and any features that the user may be able to access for themselves, or features that the sales user may be able to access on their behalf.
    • Constructor Detail

      • Config

        public Config()
      • Config

        public Config​(TOBO tobo,
                      UserInfo userInfo)
        Constructor with only required parameters
    • Method Detail

      • getFx

        public FX getFx()
        Get fx
        Returns:
        fx
      • setFx

        public void setFx​(FX fx)
      • getTobo

        @NotNull
        public @NotNull TOBO getTobo()
        Get tobo
        Returns:
        tobo
      • setTobo

        public void setTobo​(TOBO tobo)
      • defaultAccounts

        public Config defaultAccounts​(java.util.Map<java.lang.String,​Account> defaultAccounts)
      • putDefaultAccountsItem

        public Config putDefaultAccountsItem​(java.lang.String key,
                                             Account defaultAccountsItem)
      • getDefaultAccounts

        public java.util.Map<java.lang.String,​Account> getDefaultAccounts()
        Accounts belonging to this user, keyed by their Account ID
        Returns:
        defaultAccounts
      • setDefaultAccounts

        public void setDefaultAccounts​(java.util.Map<java.lang.String,​Account> defaultAccounts)
      • getUserInfo

        @NotNull
        public @NotNull UserInfo getUserInfo()
        Get userInfo
        Returns:
        userInfo
      • setUserInfo

        public void setUserInfo​(UserInfo userInfo)
      • getApplication

        public Application getApplication()
        Get application
        Returns:
        application
      • setApplication

        public void setApplication​(Application application)
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object