Class SsaCreateRequest

java.lang.Object
io.jans.as.client.BaseRequest
io.jans.as.client.ssa.create.SsaCreateRequest

public class SsaCreateRequest extends BaseRequest
  • Constructor Details

    • SsaCreateRequest

      public SsaCreateRequest()
  • Method Details

    • getOrgId

      public String getOrgId()
    • setOrgId

      public void setOrgId(String orgId)
    • getExpiration

      public Long getExpiration()
    • setExpiration

      public void setExpiration(Long expiration)
    • getDescription

      public String getDescription()
    • setDescription

      public void setDescription(String description)
    • getSoftwareId

      public String getSoftwareId()
    • setSoftwareId

      public void setSoftwareId(String softwareId)
    • getSoftwareRoles

      public List<String> getSoftwareRoles()
    • setSoftwareRoles

      public void setSoftwareRoles(List<String> softwareRoles)
    • getGrantTypes

      public List<String> getGrantTypes()
    • setGrantTypes

      public void setGrantTypes(List<String> grantTypes)
    • getOneTimeUse

      public Boolean getOneTimeUse()
    • setOneTimeUse

      public void setOneTimeUse(Boolean oneTimeUse)
    • getRotateSsa

      public Boolean getRotateSsa()
    • setRotateSsa

      public void setRotateSsa(Boolean rotateSsa)
    • getLifetime

      public Integer getLifetime()
    • setLifetime

      public void setLifetime(Integer lifetime)
    • getAccessToken

      public String getAccessToken()
    • setAccessToken

      public void setAccessToken(String accessToken)
    • fromJson

      public static SsaCreateRequest fromJson(String json) throws org.json.JSONException
      Throws:
      org.json.JSONException
    • fromJson

      public static SsaCreateRequest fromJson(org.json.JSONObject requestObject) throws org.json.JSONException
      Throws:
      org.json.JSONException
    • getQueryString

      public String getQueryString()
      Specified by:
      getQueryString in class BaseRequest
    • getJSONParameters

      public org.json.JSONObject getJSONParameters() throws org.json.JSONException
      Overrides:
      getJSONParameters in class BaseRequest
      Throws:
      org.json.JSONException
    • toString

      public String toString()
      Overrides:
      toString in class Object