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 Details

    • LiftrBaseDataPartnerOrganizationProperties

      public LiftrBaseDataPartnerOrganizationProperties()
      Creates an instance of LiftrBaseDataPartnerOrganizationProperties class.
  • Method Details

    • organizationId

      public String organizationId()
      Get the organizationId property: Organization Id in partner's system.
      Returns:
      the organizationId value.
    • withOrganizationId

      public LiftrBaseDataPartnerOrganizationProperties withOrganizationId(String organizationId)
      Set the organizationId property: Organization Id in partner's system.
      Parameters:
      organizationId - the organizationId value to set.
      Returns:
      the LiftrBaseDataPartnerOrganizationProperties object itself.
    • workspaceId

      public String workspaceId()
      Get the workspaceId property: Workspace Id in partner's system.
      Returns:
      the workspaceId value.
    • withWorkspaceId

      public LiftrBaseDataPartnerOrganizationProperties withWorkspaceId(String workspaceId)
      Set the workspaceId property: Workspace Id in partner's system.
      Parameters:
      workspaceId - the workspaceId value to set.
      Returns:
      the LiftrBaseDataPartnerOrganizationProperties object itself.
    • organizationName

      public String organizationName()
      Get the organizationName property: Organization name in partner's system.
      Returns:
      the organizationName value.
    • withOrganizationName

      public LiftrBaseDataPartnerOrganizationProperties withOrganizationName(String organizationName)
      Set the organizationName property: Organization name in partner's system.
      Parameters:
      organizationName - the organizationName value to set.
      Returns:
      the LiftrBaseDataPartnerOrganizationProperties object itself.
    • workspaceName

      public String workspaceName()
      Get the workspaceName property: Workspace name in partner's system.
      Returns:
      the workspaceName value.
    • withWorkspaceName

      public LiftrBaseDataPartnerOrganizationProperties withWorkspaceName(String workspaceName)
      Set the workspaceName property: Workspace name in partner's system.
      Parameters:
      workspaceName - the workspaceName value to set.
      Returns:
      the LiftrBaseDataPartnerOrganizationProperties object itself.
    • singleSignOnProperties

      public LiftrBaseSingleSignOnProperties 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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.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.