Class Organization
java.lang.Object
com.auth0.json.mgmt.organizations.Organization
Represents the organization object.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.getId()getName()voidsetBranding(Branding branding) Sets the Branding of this Organization.voidsetDisplayName(String displayName) Sets the display name of this Organization.voidsetEnabledConnections(List<EnabledConnection> enabledConnections) Sets the enabled connections of this Organization.voidsetMetadata(Map<String, Object> metadata) Sets the metadata of this Organization.voidSets the name of this Organization.
-
Constructor Details
-
Organization
public Organization() -
Organization
Create a new instance.- Parameters:
name- the name of this organization.
-
-
Method Details
-
getId
- Returns:
- the ID of this organization.
-
getName
- Returns:
- the name of this Organization.
-
setName
Sets the name of this Organization.- Parameters:
name- the name of the Organization.
-
getDisplayName
- Returns:
- the display name of this Organization.
-
setDisplayName
Sets the display name of this Organization.- Parameters:
displayName- the display name of this Organization.
-
getBranding
- Returns:
- the Branding of this Organization.
-
setBranding
Sets the Branding of this Organization.- Parameters:
branding- the Branding of this Organization.
-
getMetadata
- Returns:
- the metadata of this Organization.
-
setMetadata
Sets the metadata of this Organization.- Parameters:
metadata- the metadata of this Organization.
-
getEnabledConnections
Deprecated.theenabled_connectionsproperty was removed from the API response body, so this will always returnnull. UseOrganizationsEntity.getConnections(String, PageFilter)instead.- Returns:
- the enabled connections of this Organization.
-
setEnabledConnections
Sets the enabled connections of this Organization.- Parameters:
enabledConnections- the metadata of this Organization.
-
enabled_connectionsproperty was removed from the API response body, so this will always returnnull.