Class ChildOrg

java.lang.Object
com.okta.sdk.resource.model.ChildOrg
All Implemented Interfaces:
Serializable

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-09-23T08:35:59.300824-05:00[America/Chicago]", comments="Generator version: 7.8.0") public class ChildOrg extends Object implements Serializable
ChildOrg
See Also:
  • Field Details

  • Constructor Details

    • ChildOrg

      public ChildOrg()
  • Method Details

    • admin

      public ChildOrg admin(OrgCreationAdmin admin)
    • getAdmin

      @Nonnull public OrgCreationAdmin getAdmin()
      Get admin
      Returns:
      admin
    • setAdmin

      public void setAdmin(OrgCreationAdmin admin)
    • getCreated

      @Nullable public OffsetDateTime getCreated()
      Timestamp when the Org was created
      Returns:
      created
    • edition

      public ChildOrg edition(ChildOrg.EditionEnum edition)
    • getEdition

      @Nonnull public ChildOrg.EditionEnum getEdition()
      Edition for the Org. `SKU` is the only supported value.
      Returns:
      edition
    • setEdition

      public void setEdition(ChildOrg.EditionEnum edition)
    • getId

      @Nullable public String getId()
      Org ID
      Returns:
      id
    • getLastUpdated

      @Nullable public OffsetDateTime getLastUpdated()
      Timestamp when the Org was last updated
      Returns:
      lastUpdated
    • name

      public ChildOrg name(String name)
    • getName

      @Nonnull public String getName()
      Unique name of the Org. This name appears in the HTML `<title>` tag of the new Org sign-in page. Only less than 4-width UTF-8 encoded characters are allowed.
      Returns:
      name
    • setName

      public void setName(String name)
    • getSettings

      @Nullable public Map<String,Object> getSettings()
      Settings associated with the created Org
      Returns:
      settings
    • getStatus

      @Nullable public ChildOrg.StatusEnum getStatus()
      Status of the Org. `ACTIVE` is returned after the Org is created.
      Returns:
      status
    • subdomain

      public ChildOrg subdomain(String subdomain)
    • getSubdomain

      @Nonnull public String getSubdomain()
      Subdomain of the Org. Must be unique and include no spaces.
      Returns:
      subdomain
    • setSubdomain

      public void setSubdomain(String subdomain)
    • getToken

      @Nullable public String getToken()
      API token associated with the child Org super admin account. Use this API token to provision resources (such as policies, apps, and groups) on the newly created child Org. This token is revoked if the super admin account is deactivated. > **Note:** If this API token expires, sign in to the Admin Console as the super admin user and create a new API token. See [Create an API token](https://developer.okta.com/docs/guides/create-an-api-token/).
      Returns:
      token
    • getTokenType

      @Nullable public ChildOrg.TokenTypeEnum getTokenType()
      Type of returned `token`. See [Okta API tokens](https://developer.okta.com/docs/guides/create-an-api-token/main/#okta-api-tokens).
      Returns:
      tokenType
    • website

      public ChildOrg website(String website)
    • getWebsite

      @Nullable public String getWebsite()
      Default website for the Org
      Returns:
      website
    • setWebsite

      public void setWebsite(String website)
    • getLinks

      @Nullable public Map<String,Object> getLinks()
      Specifies available link relations (see [Web Linking](https://www.rfc-editor.org/rfc/rfc8288)) using the [JSON Hypertext Application Language](https://datatracker.ietf.org/doc/html/draft-kelly-json-hal-06) specification
      Returns:
      links
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object