Class LiftrBaseDataOrganizationProperties
java.lang.Object
com.azure.resourcemanager.astro.models.LiftrBaseDataOrganizationProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<LiftrBaseDataOrganizationProperties>
public final class LiftrBaseDataOrganizationProperties
extends Object
implements com.azure.json.JsonSerializable<LiftrBaseDataOrganizationProperties>
Properties specific to Data Organization resource.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of LiftrBaseDataOrganizationProperties class. -
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of LiftrBaseDataOrganizationProperties from the JsonReader.Get the marketplace property: Marketplace details of the resource.Get the partnerOrganizationProperties property: Organization properties.Get the provisioningState property: Provisioning state of the resource.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) user()Get the user property: Details of the user.voidvalidate()Validates the instance.withMarketplace(LiftrBaseMarketplaceDetails marketplace) Set the marketplace property: Marketplace details of the resource.withPartnerOrganizationProperties(LiftrBaseDataPartnerOrganizationProperties partnerOrganizationProperties) Set the partnerOrganizationProperties property: Organization properties.withUser(LiftrBaseUserDetails user) Set the user property: Details of the user.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
-
LiftrBaseDataOrganizationProperties
public LiftrBaseDataOrganizationProperties()Creates an instance of LiftrBaseDataOrganizationProperties class.
-
-
Method Details
-
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 LiftrBaseDataOrganizationProperties 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 LiftrBaseDataOrganizationProperties object itself.
-
provisioningState
Get the provisioningState property: Provisioning state of the resource.- Returns:
- the provisioningState value.
-
partnerOrganizationProperties
Get the partnerOrganizationProperties property: Organization properties.- Returns:
- the partnerOrganizationProperties value.
-
withPartnerOrganizationProperties
public LiftrBaseDataOrganizationProperties withPartnerOrganizationProperties(LiftrBaseDataPartnerOrganizationProperties partnerOrganizationProperties) Set the partnerOrganizationProperties property: Organization properties.- Parameters:
partnerOrganizationProperties- the partnerOrganizationProperties value to set.- Returns:
- the LiftrBaseDataOrganizationProperties 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<LiftrBaseDataOrganizationProperties>- Throws:
IOException
-
fromJson
public static LiftrBaseDataOrganizationProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of LiftrBaseDataOrganizationProperties from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of LiftrBaseDataOrganizationProperties 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 LiftrBaseDataOrganizationProperties.
-