// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.databox.models;

import com.azure.core.annotation.Immutable;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeName;

/** Datacenter address for given storage location. */
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "datacenterAddressType")
@JsonTypeName("DatacenterAddressLocation")
@Immutable
public final class DatacenterAddressLocationResponse extends DatacenterAddressResponse {
    /*
     * Contact person name
     */
    @JsonProperty(value = "contactPersonName", access = JsonProperty.Access.WRITE_ONLY)
    private String contactPersonName;

    /*
     * Company name
     */
    @JsonProperty(value = "company", access = JsonProperty.Access.WRITE_ONLY)
    private String company;

    /*
     * Street address line 1
     */
    @JsonProperty(value = "street1", access = JsonProperty.Access.WRITE_ONLY)
    private String street1;

    /*
     * Street address line 2
     */
    @JsonProperty(value = "street2", access = JsonProperty.Access.WRITE_ONLY)
    private String street2;

    /*
     * Street address line 3
     */
    @JsonProperty(value = "street3", access = JsonProperty.Access.WRITE_ONLY)
    private String street3;

    /*
     * City name
     */
    @JsonProperty(value = "city", access = JsonProperty.Access.WRITE_ONLY)
    private String city;

    /*
     * name of the state
     */
    @JsonProperty(value = "state", access = JsonProperty.Access.WRITE_ONLY)
    private String state;

    /*
     * Zip code
     */
    @JsonProperty(value = "zip", access = JsonProperty.Access.WRITE_ONLY)
    private String zip;

    /*
     * name of the country
     */
    @JsonProperty(value = "country", access = JsonProperty.Access.WRITE_ONLY)
    private String country;

    /*
     * Phone number
     */
    @JsonProperty(value = "phone", access = JsonProperty.Access.WRITE_ONLY)
    private String phone;

    /*
     * Phone extension
     */
    @JsonProperty(value = "phoneExtension", access = JsonProperty.Access.WRITE_ONLY)
    private String phoneExtension;

    /*
     * Address type
     */
    @JsonProperty(value = "addressType", access = JsonProperty.Access.WRITE_ONLY)
    private String addressType;

    /*
     * Special instruction for shipping
     */
    @JsonProperty(value = "additionalShippingInformation", access = JsonProperty.Access.WRITE_ONLY)
    private String additionalShippingInformation;

    /** Creates an instance of DatacenterAddressLocationResponse class. */
    public DatacenterAddressLocationResponse() {
    }

    /**
     * Get the contactPersonName property: Contact person name.
     *
     * @return the contactPersonName value.
     */
    public String contactPersonName() {
        return this.contactPersonName;
    }

    /**
     * Get the company property: Company name.
     *
     * @return the company value.
     */
    public String company() {
        return this.company;
    }

    /**
     * Get the street1 property: Street address line 1.
     *
     * @return the street1 value.
     */
    public String street1() {
        return this.street1;
    }

    /**
     * Get the street2 property: Street address line 2.
     *
     * @return the street2 value.
     */
    public String street2() {
        return this.street2;
    }

    /**
     * Get the street3 property: Street address line 3.
     *
     * @return the street3 value.
     */
    public String street3() {
        return this.street3;
    }

    /**
     * Get the city property: City name.
     *
     * @return the city value.
     */
    public String city() {
        return this.city;
    }

    /**
     * Get the state property: name of the state.
     *
     * @return the state value.
     */
    public String state() {
        return this.state;
    }

    /**
     * Get the zip property: Zip code.
     *
     * @return the zip value.
     */
    public String zip() {
        return this.zip;
    }

    /**
     * Get the country property: name of the country.
     *
     * @return the country value.
     */
    public String country() {
        return this.country;
    }

    /**
     * Get the phone property: Phone number.
     *
     * @return the phone value.
     */
    public String phone() {
        return this.phone;
    }

    /**
     * Get the phoneExtension property: Phone extension.
     *
     * @return the phoneExtension value.
     */
    public String phoneExtension() {
        return this.phoneExtension;
    }

    /**
     * Get the addressType property: Address type.
     *
     * @return the addressType value.
     */
    public String addressType() {
        return this.addressType;
    }

    /**
     * Get the additionalShippingInformation property: Special instruction for shipping.
     *
     * @return the additionalShippingInformation value.
     */
    public String additionalShippingInformation() {
        return this.additionalShippingInformation;
    }

    /**
     * Validates the instance.
     *
     * @throws IllegalArgumentException thrown if the instance is not valid.
     */
    @Override
    public void validate() {
        super.validate();
    }
}
