Class OrganizationResourceUpdateProperties

java.lang.Object
com.azure.resourcemanager.astro.models.OrganizationResourceUpdateProperties
All Implemented Interfaces:
com.azure.json.JsonSerializable<OrganizationResourceUpdateProperties>

public final class OrganizationResourceUpdateProperties extends Object implements com.azure.json.JsonSerializable<OrganizationResourceUpdateProperties>
The updatable properties of the OrganizationResource.
  • Constructor Details

    • OrganizationResourceUpdateProperties

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

    • marketplace

      public LiftrBaseMarketplaceDetailsUpdate marketplace()
      Get the marketplace property: Marketplace details of the resource.
      Returns:
      the marketplace value.
    • withMarketplace

      Set the marketplace property: Marketplace details of the resource.
      Parameters:
      marketplace - the marketplace value to set.
      Returns:
      the OrganizationResourceUpdateProperties object itself.
    • user

      Get the user property: Details of the user.
      Returns:
      the user value.
    • withUser

      Set the user property: Details of the user.
      Parameters:
      user - the user value to set.
      Returns:
      the OrganizationResourceUpdateProperties object itself.
    • partnerOrganizationProperties

      public LiftrBaseDataPartnerOrganizationPropertiesUpdate partnerOrganizationProperties()
      Get the partnerOrganizationProperties property: Organization properties.
      Returns:
      the partnerOrganizationProperties value.
    • withPartnerOrganizationProperties

      public OrganizationResourceUpdateProperties withPartnerOrganizationProperties(LiftrBaseDataPartnerOrganizationPropertiesUpdate partnerOrganizationProperties)
      Set the partnerOrganizationProperties property: Organization properties.
      Parameters:
      partnerOrganizationProperties - the partnerOrganizationProperties value to set.
      Returns:
      the OrganizationResourceUpdateProperties 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<OrganizationResourceUpdateProperties>
      Throws:
      IOException
    • fromJson

      public static OrganizationResourceUpdateProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of OrganizationResourceUpdateProperties from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of OrganizationResourceUpdateProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IOException - If an error occurs while reading the OrganizationResourceUpdateProperties.