<?php

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

namespace Twilio\Rest\Trusthub\V1;

use Twilio\Options;
use Twilio\Values;

abstract class CustomerProfilesOptions {
    /**
     * @param string $statusCallback The URL we call to inform your application of
     *                               status changes.
     * @return CreateCustomerProfilesOptions Options builder
     */
    public static function create(string $statusCallback = Values::NONE): CreateCustomerProfilesOptions {
        return new CreateCustomerProfilesOptions($statusCallback);
    }

    /**
     * @param string $status The verification status of the Customer-Profile
     *                       resource
     * @param string $friendlyName The string that you assigned to describe the
     *                             resource
     * @param string $policySid The unique string of a policy.
     * @return ReadCustomerProfilesOptions Options builder
     */
    public static function read(string $status = Values::NONE, string $friendlyName = Values::NONE, string $policySid = Values::NONE): ReadCustomerProfilesOptions {
        return new ReadCustomerProfilesOptions($status, $friendlyName, $policySid);
    }

    /**
     * @param string $status The verification status of the Customer-Profile
     *                       resource
     * @param string $statusCallback The URL we call to inform your application of
     *                               status changes.
     * @param string $friendlyName The string that you assigned to describe the
     *                             resource
     * @param string $email The email address
     * @return UpdateCustomerProfilesOptions Options builder
     */
    public static function update(string $status = Values::NONE, string $statusCallback = Values::NONE, string $friendlyName = Values::NONE, string $email = Values::NONE): UpdateCustomerProfilesOptions {
        return new UpdateCustomerProfilesOptions($status, $statusCallback, $friendlyName, $email);
    }
}

class CreateCustomerProfilesOptions extends Options {
    /**
     * @param string $statusCallback The URL we call to inform your application of
     *                               status changes.
     */
    public function __construct(string $statusCallback = Values::NONE) {
        $this->options['statusCallback'] = $statusCallback;
    }

    /**
     * The URL we call to inform your application of status changes.
     *
     * @param string $statusCallback The URL we call to inform your application of
     *                               status changes.
     * @return $this Fluent Builder
     */
    public function setStatusCallback(string $statusCallback): self {
        $this->options['statusCallback'] = $statusCallback;
        return $this;
    }

    /**
     * Provide a friendly representation
     *
     * @return string Machine friendly representation
     */
    public function __toString(): string {
        $options = \http_build_query(Values::of($this->options), '', ' ');
        return '[Twilio.Trusthub.V1.CreateCustomerProfilesOptions ' . $options . ']';
    }
}

class ReadCustomerProfilesOptions extends Options {
    /**
     * @param string $status The verification status of the Customer-Profile
     *                       resource
     * @param string $friendlyName The string that you assigned to describe the
     *                             resource
     * @param string $policySid The unique string of a policy.
     */
    public function __construct(string $status = Values::NONE, string $friendlyName = Values::NONE, string $policySid = Values::NONE) {
        $this->options['status'] = $status;
        $this->options['friendlyName'] = $friendlyName;
        $this->options['policySid'] = $policySid;
    }

    /**
     * The verification status of the Customer-Profile resource.
     *
     * @param string $status The verification status of the Customer-Profile
     *                       resource
     * @return $this Fluent Builder
     */
    public function setStatus(string $status): self {
        $this->options['status'] = $status;
        return $this;
    }

    /**
     * The string that you assigned to describe the resource.
     *
     * @param string $friendlyName The string that you assigned to describe the
     *                             resource
     * @return $this Fluent Builder
     */
    public function setFriendlyName(string $friendlyName): self {
        $this->options['friendlyName'] = $friendlyName;
        return $this;
    }

    /**
     * The unique string of a policy that is associated to the Customer-Profile resource.
     *
     * @param string $policySid The unique string of a policy.
     * @return $this Fluent Builder
     */
    public function setPolicySid(string $policySid): self {
        $this->options['policySid'] = $policySid;
        return $this;
    }

    /**
     * Provide a friendly representation
     *
     * @return string Machine friendly representation
     */
    public function __toString(): string {
        $options = \http_build_query(Values::of($this->options), '', ' ');
        return '[Twilio.Trusthub.V1.ReadCustomerProfilesOptions ' . $options . ']';
    }
}

class UpdateCustomerProfilesOptions extends Options {
    /**
     * @param string $status The verification status of the Customer-Profile
     *                       resource
     * @param string $statusCallback The URL we call to inform your application of
     *                               status changes.
     * @param string $friendlyName The string that you assigned to describe the
     *                             resource
     * @param string $email The email address
     */
    public function __construct(string $status = Values::NONE, string $statusCallback = Values::NONE, string $friendlyName = Values::NONE, string $email = Values::NONE) {
        $this->options['status'] = $status;
        $this->options['statusCallback'] = $statusCallback;
        $this->options['friendlyName'] = $friendlyName;
        $this->options['email'] = $email;
    }

    /**
     * The verification status of the Customer-Profile resource.
     *
     * @param string $status The verification status of the Customer-Profile
     *                       resource
     * @return $this Fluent Builder
     */
    public function setStatus(string $status): self {
        $this->options['status'] = $status;
        return $this;
    }

    /**
     * The URL we call to inform your application of status changes.
     *
     * @param string $statusCallback The URL we call to inform your application of
     *                               status changes.
     * @return $this Fluent Builder
     */
    public function setStatusCallback(string $statusCallback): self {
        $this->options['statusCallback'] = $statusCallback;
        return $this;
    }

    /**
     * The string that you assigned to describe the resource.
     *
     * @param string $friendlyName The string that you assigned to describe the
     *                             resource
     * @return $this Fluent Builder
     */
    public function setFriendlyName(string $friendlyName): self {
        $this->options['friendlyName'] = $friendlyName;
        return $this;
    }

    /**
     * The email address that will receive updates when the Customer-Profile resource changes status.
     *
     * @param string $email The email address
     * @return $this Fluent Builder
     */
    public function setEmail(string $email): self {
        $this->options['email'] = $email;
        return $this;
    }

    /**
     * Provide a friendly representation
     *
     * @return string Machine friendly representation
     */
    public function __toString(): string {
        $options = \http_build_query(Values::of($this->options), '', ' ');
        return '[Twilio.Trusthub.V1.UpdateCustomerProfilesOptions ' . $options . ']';
    }
}