<?php
/*
 * PagarmeCoreApiLib
 *
 * This file was automatically generated by APIMATIC v2.0 ( https://apimatic.io ).
 */

namespace PagarmeCoreApiLib\Models;

use JsonSerializable;

/**
 * @todo Write general description for this model
 */
class GetPhonesResponse implements JsonSerializable
{
    /**
     * @todo Write general description for this property
     * @required
     * @maps home_phone
     * @var \PagarmeCoreApiLib\Models\GetPhoneResponse $homePhone public property
     */
    public $homePhone;

    /**
     * @todo Write general description for this property
     * @required
     * @maps mobile_phone
     * @var \PagarmeCoreApiLib\Models\GetPhoneResponse $mobilePhone public property
     */
    public $mobilePhone;

    /**
     * Constructor to set initial or default values of member properties
     * @param GetPhoneResponse $homePhone   Initialization value for $this->homePhone
     * @param GetPhoneResponse $mobilePhone Initialization value for $this->mobilePhone
     */
    public function __construct()
    {
        if (2 == func_num_args()) {
            $this->homePhone   = func_get_arg(0);
            $this->mobilePhone = func_get_arg(1);
        }
    }


    /**
     * Encode this object to JSON
     */
    public function jsonSerialize()
    {
        $json = array();
        $json['home_phone']   = $this->homePhone;
        $json['mobile_phone'] = $this->mobilePhone;

        return $json;
    }
}
