lib/Model/Address.php
public function listInvalidProperties()
    {
        $invalid_properties = array();

        if ($this->container['line1'] === null) {
            $invalid_properties[] = "'line1' can't be null";
        }
        if ((strlen($this->container['line1']) > 200)) {
            $invalid_properties[] = "invalid value for 'line1', the character length must be smaller than or equal to 200.";
        }

        if (!is_null($this->container['line2']) && (strlen($this->container['line2']) > 200)) {
            $invalid_properties[] = "invalid value for 'line2', the character length must be smaller than or equal to 200.";
        }

        if ($this->container['city'] === null) {
            $invalid_properties[] = "'city' can't be null";
        }
        if ((strlen($this->container['city']) > 50)) {
            $invalid_properties[] = "invalid value for 'city', the character length must be smaller than or equal to 50.";
        }

        if ($this->container['state'] === null) {
            $invalid_properties[] = "'state' can't be null";
        }
        if ((strlen($this->container['state']) > 50)) {
            $invalid_properties[] = "invalid value for 'state', the character length must be smaller than or equal to 50.";
        }

        if ($this->container['postal_code'] === null) {
            $invalid_properties[] = "'postal_code' can't be null";
        }
        if ((strlen($this->container['postal_code']) > 15)) {
            $invalid_properties[] = "invalid value for 'postal_code', the character length must be smaller than or equal to 15.";
        }

        if ($this->container['country'] === null) {
            $invalid_properties[] = "'country' can't be null";
        }
        if ((strlen($this->container['country']) > 2)) {
            $invalid_properties[] = "invalid value for 'country', the character length must be smaller than or equal to 2.";
        }

        if ((strlen($this->container['country']) < 2)) {
            $invalid_properties[] = "invalid value for 'country', the character length must be bigger than or equal to 2.";
        }

        if (!is_null($this->container['first_name']) && (strlen($this->container['first_name']) > 200)) {
            $invalid_properties[] = "invalid value for 'first_name', the character length must be smaller than or equal to 200.";
        }

        return $invalid_properties;
    }
public function listInvalidProperties()
    {
        $invalid_properties = array();

        if ($this->container['line1'] === null) {
            $invalid_properties[] = "'line1' can't be null";
        }
        if ((strlen($this->container['line1']) > 200)) {
            $invalid_properties[] = "invalid value for 'line1', the character length must be smaller than or equal to 200.";
        }

        if (!is_null($this->container['line2']) && (strlen($this->container['line2']) > 200)) {
            $invalid_properties[] = "invalid value for 'line2', the character length must be smaller than or equal to 200.";
        }

        if ($this->container['city'] === null) {
            $invalid_properties[] = "'city' can't be null";
        }
        if ((strlen($this->container['city']) > 50)) {
            $invalid_properties[] = "invalid value for 'city', the character length must be smaller than or equal to 50.";
        }

        if ($this->container['state'] === null) {
            $invalid_properties[] = "'state' can't be null";
        }
        if ((strlen($this->container['state']) > 50)) {
            $invalid_properties[] = "invalid value for 'state', the character length must be smaller than or equal to 50.";
        }

        if ($this->container['postal_code'] === null) {
            $invalid_properties[] = "'postal_code' can't be null";
        }
        if ((strlen($this->container['postal_code']) > 15)) {
            $invalid_properties[] = "invalid value for 'postal_code', the character length must be smaller than or equal to 15.";
        }

        if ($this->container['country'] === null) {
            $invalid_properties[] = "'country' can't be null";
        }
        if ((strlen($this->container['country']) > 2)) {
            $invalid_properties[] = "invalid value for 'country', the character length must be smaller than or equal to 2.";
        }

        if ((strlen($this->container['country']) < 2)) {
            $invalid_properties[] = "invalid value for 'country', the character length must be bigger than or equal to 2.";
        }

        if (!is_null($this->container['first_name']) && (strlen($this->container['first_name']) > 200)) {
            $invalid_properties[] = "invalid value for 'first_name', the character length must be smaller than or equal to 200.";
        }

        return $invalid_properties;
    }
show all the invalid properties with reasons.

@return array invalid properties with reasons