Class CompanyDetails
java.lang.Object
com.azure.resourcemanager.informaticadatamanagement.models.CompanyDetails
- All Implemented Interfaces:
com.azure.json.JsonSerializable<CompanyDetails>
public final class CompanyDetails
extends Object
implements com.azure.json.JsonSerializable<CompanyDetails>
Company Details.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbusiness()Get the business property: Business phone number.Get the companyName property: company Name.country()Get the country property: Country name.domain()Get the domain property: Domain name.static CompanyDetailsfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of CompanyDetails from the JsonReader.Get the numberOfEmployees property: Number Of Employees.Get the officeAddress property: Office Address.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withBusiness(String business) Set the business property: Business phone number.withCompanyName(String companyName) Set the companyName property: company Name.withCountry(String country) Set the country property: Country name.withDomain(String domain) Set the domain property: Domain name.withNumberOfEmployees(Integer numberOfEmployees) Set the numberOfEmployees property: Number Of Employees.withOfficeAddress(String officeAddress) Set the officeAddress property: Office Address.
-
Constructor Details
-
CompanyDetails
public CompanyDetails()Creates an instance of CompanyDetails class.
-
-
Method Details
-
companyName
Get the companyName property: company Name.- Returns:
- the companyName value.
-
withCompanyName
Set the companyName property: company Name.- Parameters:
companyName- the companyName value to set.- Returns:
- the CompanyDetails object itself.
-
officeAddress
Get the officeAddress property: Office Address.- Returns:
- the officeAddress value.
-
withOfficeAddress
Set the officeAddress property: Office Address.- Parameters:
officeAddress- the officeAddress value to set.- Returns:
- the CompanyDetails object itself.
-
country
Get the country property: Country name.- Returns:
- the country value.
-
withCountry
Set the country property: Country name.- Parameters:
country- the country value to set.- Returns:
- the CompanyDetails object itself.
-
domain
Get the domain property: Domain name.- Returns:
- the domain value.
-
withDomain
Set the domain property: Domain name.- Parameters:
domain- the domain value to set.- Returns:
- the CompanyDetails object itself.
-
business
Get the business property: Business phone number.- Returns:
- the business value.
-
withBusiness
Set the business property: Business phone number.- Parameters:
business- the business value to set.- Returns:
- the CompanyDetails object itself.
-
numberOfEmployees
Get the numberOfEmployees property: Number Of Employees.- Returns:
- the numberOfEmployees value.
-
withNumberOfEmployees
Set the numberOfEmployees property: Number Of Employees.- Parameters:
numberOfEmployees- the numberOfEmployees value to set.- Returns:
- the CompanyDetails 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<CompanyDetails>- Throws:
IOException
-
fromJson
Reads an instance of CompanyDetails from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of CompanyDetails 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 CompanyDetails.
-