<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: livekit_phone_number.proto

namespace Livekit;

use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\GPBUtil;
use Google\Protobuf\RepeatedField;

/**
 * ReleasePhoneNumbersRequest - Request to release phone numbers
 *
 * Generated from protobuf message <code>livekit.ReleasePhoneNumbersRequest</code>
 */
class ReleasePhoneNumbersRequest extends \Google\Protobuf\Internal\Message
{
    /**
     * Use phone number IDs for direct lookup
     *
     * Generated from protobuf field <code>repeated string ids = 1;</code>
     */
    private $ids;
    /**
     * Use phone number strings for lookup
     *
     * Generated from protobuf field <code>repeated string phone_numbers = 2;</code>
     */
    private $phone_numbers;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string[] $ids
     *           Use phone number IDs for direct lookup
     *     @type string[] $phone_numbers
     *           Use phone number strings for lookup
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\LivekitPhoneNumber::initOnce();
        parent::__construct($data);
    }

    /**
     * Use phone number IDs for direct lookup
     *
     * Generated from protobuf field <code>repeated string ids = 1;</code>
     * @return RepeatedField<string>
     */
    public function getIds()
    {
        return $this->ids;
    }

    /**
     * Use phone number IDs for direct lookup
     *
     * Generated from protobuf field <code>repeated string ids = 1;</code>
     * @param string[] $var
     * @return $this
     */
    public function setIds($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
        $this->ids = $arr;

        return $this;
    }

    /**
     * Use phone number strings for lookup
     *
     * Generated from protobuf field <code>repeated string phone_numbers = 2;</code>
     * @return RepeatedField<string>
     */
    public function getPhoneNumbers()
    {
        return $this->phone_numbers;
    }

    /**
     * Use phone number strings for lookup
     *
     * Generated from protobuf field <code>repeated string phone_numbers = 2;</code>
     * @param string[] $var
     * @return $this
     */
    public function setPhoneNumbers($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
        $this->phone_numbers = $arr;

        return $this;
    }

}

