Class LiftrBaseDataPartnerOrganizationProperties
java.lang.Object
com.azure.resourcemanager.astro.models.LiftrBaseDataPartnerOrganizationProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<LiftrBaseDataPartnerOrganizationProperties>
public final class LiftrBaseDataPartnerOrganizationProperties
extends Object
implements com.azure.json.JsonSerializable<LiftrBaseDataPartnerOrganizationProperties>
Properties specific to Partner's organization.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of LiftrBaseDataPartnerOrganizationProperties class. -
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of LiftrBaseDataPartnerOrganizationProperties from the JsonReader.Get the organizationId property: Organization Id in partner's system.Get the organizationName property: Organization name in partner's system.Get the singleSignOnProperties property: Single Sign On properties for the organization.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withOrganizationId(String organizationId) Set the organizationId property: Organization Id in partner's system.withOrganizationName(String organizationName) Set the organizationName property: Organization name in partner's system.withSingleSignOnProperties(LiftrBaseSingleSignOnProperties singleSignOnProperties) Set the singleSignOnProperties property: Single Sign On properties for the organization.withWorkspaceId(String workspaceId) Set the workspaceId property: Workspace Id in partner's system.withWorkspaceName(String workspaceName) Set the workspaceName property: Workspace name in partner's system.Get the workspaceId property: Workspace Id in partner's system.Get the workspaceName property: Workspace name in partner's system.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
LiftrBaseDataPartnerOrganizationProperties
public LiftrBaseDataPartnerOrganizationProperties()Creates an instance of LiftrBaseDataPartnerOrganizationProperties class.
-
-
Method Details
-
organizationId
Get the organizationId property: Organization Id in partner's system.- Returns:
- the organizationId value.
-
withOrganizationId
Set the organizationId property: Organization Id in partner's system.- Parameters:
organizationId- the organizationId value to set.- Returns:
- the LiftrBaseDataPartnerOrganizationProperties object itself.
-
workspaceId
Get the workspaceId property: Workspace Id in partner's system.- Returns:
- the workspaceId value.
-
withWorkspaceId
Set the workspaceId property: Workspace Id in partner's system.- Parameters:
workspaceId- the workspaceId value to set.- Returns:
- the LiftrBaseDataPartnerOrganizationProperties object itself.
-
organizationName
Get the organizationName property: Organization name in partner's system.- Returns:
- the organizationName value.
-
withOrganizationName
Set the organizationName property: Organization name in partner's system.- Parameters:
organizationName- the organizationName value to set.- Returns:
- the LiftrBaseDataPartnerOrganizationProperties object itself.
-
workspaceName
Get the workspaceName property: Workspace name in partner's system.- Returns:
- the workspaceName value.
-
withWorkspaceName
Set the workspaceName property: Workspace name in partner's system.- Parameters:
workspaceName- the workspaceName value to set.- Returns:
- the LiftrBaseDataPartnerOrganizationProperties object itself.
-
singleSignOnProperties
Get the singleSignOnProperties property: Single Sign On properties for the organization.- Returns:
- the singleSignOnProperties value.
-
withSingleSignOnProperties
public LiftrBaseDataPartnerOrganizationProperties withSingleSignOnProperties(LiftrBaseSingleSignOnProperties singleSignOnProperties) Set the singleSignOnProperties property: Single Sign On properties for the organization.- Parameters:
singleSignOnProperties- the singleSignOnProperties value to set.- Returns:
- the LiftrBaseDataPartnerOrganizationProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<LiftrBaseDataPartnerOrganizationProperties>- Throws:
IOException
-
fromJson
public static LiftrBaseDataPartnerOrganizationProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of LiftrBaseDataPartnerOrganizationProperties from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of LiftrBaseDataPartnerOrganizationProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IllegalStateException- If the deserialized JSON object was missing any required properties.IOException- If an error occurs while reading the LiftrBaseDataPartnerOrganizationProperties.
-