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 Details

    • CompanyDetails

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

    • companyName

      public String companyName()
      Get the companyName property: company Name.
      Returns:
      the companyName value.
    • withCompanyName

      public CompanyDetails withCompanyName(String companyName)
      Set the companyName property: company Name.
      Parameters:
      companyName - the companyName value to set.
      Returns:
      the CompanyDetails object itself.
    • officeAddress

      public String officeAddress()
      Get the officeAddress property: Office Address.
      Returns:
      the officeAddress value.
    • withOfficeAddress

      public CompanyDetails withOfficeAddress(String officeAddress)
      Set the officeAddress property: Office Address.
      Parameters:
      officeAddress - the officeAddress value to set.
      Returns:
      the CompanyDetails object itself.
    • country

      public String country()
      Get the country property: Country name.
      Returns:
      the country value.
    • withCountry

      public CompanyDetails withCountry(String country)
      Set the country property: Country name.
      Parameters:
      country - the country value to set.
      Returns:
      the CompanyDetails object itself.
    • domain

      public String domain()
      Get the domain property: Domain name.
      Returns:
      the domain value.
    • withDomain

      public CompanyDetails withDomain(String domain)
      Set the domain property: Domain name.
      Parameters:
      domain - the domain value to set.
      Returns:
      the CompanyDetails object itself.
    • business

      public String business()
      Get the business property: Business phone number.
      Returns:
      the business value.
    • withBusiness

      public CompanyDetails withBusiness(String business)
      Set the business property: Business phone number.
      Parameters:
      business - the business value to set.
      Returns:
      the CompanyDetails object itself.
    • numberOfEmployees

      public Integer numberOfEmployees()
      Get the numberOfEmployees property: Number Of Employees.
      Returns:
      the numberOfEmployees value.
    • withNumberOfEmployees

      public CompanyDetails withNumberOfEmployees(Integer numberOfEmployees)
      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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<CompanyDetails>
      Throws:
      IOException
    • fromJson

      public static CompanyDetails fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      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.