/home/smartonegroup/www/system/vendor/twilio/sdk/src/Twilio/Rest/Preview/Wireless/Sim/UsageList.php
<?php

/**
 * This code was generated by
 * \ / _    _  _|   _  _
 * | (_)\/(_)(_|\/| |(/_  v1.0.0
 * /       /
 */

namespace Twilio\Rest\Preview\Wireless\Sim;

use Twilio\ListResource;
use Twilio\Version;

/**
 * PLEASE NOTE that this class contains preview products that are subject to change. Use them with caution. If you currently do not have developer preview access, please contact help@twilio.com.
 */
class UsageList extends ListResource {
    /**
     * Construct the UsageList
     *
     * @param Version $version Version that contains the resource
     * @param string $simSid The sim_sid
     */
    public function __construct(Version $version, string $simSid) {
        parent::__construct($version);

        // Path Solution
        $this->solution = ['simSid' => $simSid, ];
    }

    /**
     * Constructs a UsageContext
     */
    public function getContext(): UsageContext {
        return new UsageContext($this->version, $this->solution['simSid']);
    }

    /**
     * Provide a friendly representation
     *
     * @return string Machine friendly representation
     */
    public function __toString(): string {
        return '[Twilio.Preview.Wireless.UsageList]';
    }
}