v3/src/Model/AlipayOpenMiniVersionDetailQueryResponseModel.php
<?php
/**
 * AlipayOpenMiniVersionDetailQueryResponseModel
 *
 * PHP version 7.4
 *
 * @category Class
 * @package  Alipay\OpenAPISDK
 * @author   OpenAPI Generator team
 * @link     https://openapi-generator.tech
 */

/**
 * 支付宝开放平台API
 *
 * 支付宝开放平台v3协议文档
 *
 * The version of the OpenAPI document: 2025-08-26
 * Generated by: https://openapi-generator.tech
 * OpenAPI Generator version: 6.2.1
 */

/**
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

namespace Alipay\OpenAPISDK\Model;

use \ArrayAccess;
use \Alipay\OpenAPISDK\ObjectSerializer;

/**
 * AlipayOpenMiniVersionDetailQueryResponseModel Class Doc Comment
 *
 * @category Class
 * @package  Alipay\OpenAPISDK
 * @author   OpenAPI Generator team
 * @link     https://openapi-generator.tech
 * @implements \ArrayAccess<TKey, TValue>
 * @template TKey int|null
 * @template TValue mixed|null
 */
class AlipayOpenMiniVersionDetailQueryResponseModel implements ModelInterface, ArrayAccess, \JsonSerializable
{
    public const DISCRIMINATOR = null;

    /**
      * The original name of the model.
      *
      * @var string
      */
    protected static $openAPIModelName = 'AlipayOpenMiniVersionDetailQueryResponseModel';

    /**
      * Array of property to type mappings. Used for (de)serialization
      *
      * @var string[]
      */
    protected static $openAPITypes = [
        'appDesc' => 'string',
        'appEnglishName' => 'string',
        'appLogo' => 'string',
        'appName' => 'string',
        'appSlogan' => 'string',
        'appVersion' => 'string',
        'baseAudit' => 'string',
        'baseAuditRecord' => '\Alipay\OpenAPISDK\Model\MiniAppAuditReason',
        'canRelease' => 'string',
        'gmtApplyAudit' => 'string',
        'gmtAuditEnd' => 'string',
        'gmtCreate' => 'string',
        'gmtOffline' => 'string',
        'gmtOnline' => 'string',
        'grayStrategy' => 'string',
        'memo' => 'string',
        'miniAppCategoryInfoList' => '\Alipay\OpenAPISDK\Model\MiniAppCategoryInfo[]',
        'miniCategoryInfoList' => '\Alipay\OpenAPISDK\Model\MiniAppCategoryInfo[]',
        'packageInfoList' => '\Alipay\OpenAPISDK\Model\MiniPackageInfo[]',
        'promoteAudit' => 'string',
        'promoteAuditRecord' => '\Alipay\OpenAPISDK\Model\MiniAppAuditReason',
        'rejectReason' => 'string',
        'scanResult' => 'string',
        'screenShotList' => 'string[]',
        'serviceEmail' => 'string',
        'servicePhone' => 'string',
        'serviceRegionInfo' => '\Alipay\OpenAPISDK\Model\RegionInfo[]',
        'serviceRegionType' => 'string',
        'status' => 'string',
        'versionDesc' => 'string'
    ];

    /**
      * Array of property to format mappings. Used for (de)serialization
      *
      * @var string[]
      * @phpstan-var array<string, string|null>
      * @psalm-var array<string, string|null>
      */
    protected static $openAPIFormats = [
        'appDesc' => null,
        'appEnglishName' => null,
        'appLogo' => null,
        'appName' => null,
        'appSlogan' => null,
        'appVersion' => null,
        'baseAudit' => null,
        'baseAuditRecord' => null,
        'canRelease' => null,
        'gmtApplyAudit' => null,
        'gmtAuditEnd' => null,
        'gmtCreate' => null,
        'gmtOffline' => null,
        'gmtOnline' => null,
        'grayStrategy' => null,
        'memo' => null,
        'miniAppCategoryInfoList' => null,
        'miniCategoryInfoList' => null,
        'packageInfoList' => null,
        'promoteAudit' => null,
        'promoteAuditRecord' => null,
        'rejectReason' => null,
        'scanResult' => null,
        'screenShotList' => null,
        'serviceEmail' => null,
        'servicePhone' => null,
        'serviceRegionInfo' => null,
        'serviceRegionType' => null,
        'status' => null,
        'versionDesc' => null
    ];

    /**
     * Array of property to type mappings. Used for (de)serialization
     *
     * @return array
     */
    public static function openAPITypes()
    {
        return self::$openAPITypes;
    }

    /**
     * Array of property to format mappings. Used for (de)serialization
     *
     * @return array
     */
    public static function openAPIFormats()
    {
        return self::$openAPIFormats;
    }

    /**
     * Array of attributes where the key is the local name,
     * and the value is the original name
     *
     * @var string[]
     */
    protected static $attributeMap = [
        'appDesc' => 'app_desc',
        'appEnglishName' => 'app_english_name',
        'appLogo' => 'app_logo',
        'appName' => 'app_name',
        'appSlogan' => 'app_slogan',
        'appVersion' => 'app_version',
        'baseAudit' => 'base_audit',
        'baseAuditRecord' => 'base_audit_record',
        'canRelease' => 'can_release',
        'gmtApplyAudit' => 'gmt_apply_audit',
        'gmtAuditEnd' => 'gmt_audit_end',
        'gmtCreate' => 'gmt_create',
        'gmtOffline' => 'gmt_offline',
        'gmtOnline' => 'gmt_online',
        'grayStrategy' => 'gray_strategy',
        'memo' => 'memo',
        'miniAppCategoryInfoList' => 'mini_app_category_info_list',
        'miniCategoryInfoList' => 'mini_category_info_list',
        'packageInfoList' => 'package_info_list',
        'promoteAudit' => 'promote_audit',
        'promoteAuditRecord' => 'promote_audit_record',
        'rejectReason' => 'reject_reason',
        'scanResult' => 'scan_result',
        'screenShotList' => 'screen_shot_list',
        'serviceEmail' => 'service_email',
        'servicePhone' => 'service_phone',
        'serviceRegionInfo' => 'service_region_info',
        'serviceRegionType' => 'service_region_type',
        'status' => 'status',
        'versionDesc' => 'version_desc'
    ];

    /**
     * Array of attributes to setter functions (for deserialization of responses)
     *
     * @var string[]
     */
    protected static $setters = [
        'appDesc' => 'setAppDesc',
        'appEnglishName' => 'setAppEnglishName',
        'appLogo' => 'setAppLogo',
        'appName' => 'setAppName',
        'appSlogan' => 'setAppSlogan',
        'appVersion' => 'setAppVersion',
        'baseAudit' => 'setBaseAudit',
        'baseAuditRecord' => 'setBaseAuditRecord',
        'canRelease' => 'setCanRelease',
        'gmtApplyAudit' => 'setGmtApplyAudit',
        'gmtAuditEnd' => 'setGmtAuditEnd',
        'gmtCreate' => 'setGmtCreate',
        'gmtOffline' => 'setGmtOffline',
        'gmtOnline' => 'setGmtOnline',
        'grayStrategy' => 'setGrayStrategy',
        'memo' => 'setMemo',
        'miniAppCategoryInfoList' => 'setMiniAppCategoryInfoList',
        'miniCategoryInfoList' => 'setMiniCategoryInfoList',
        'packageInfoList' => 'setPackageInfoList',
        'promoteAudit' => 'setPromoteAudit',
        'promoteAuditRecord' => 'setPromoteAuditRecord',
        'rejectReason' => 'setRejectReason',
        'scanResult' => 'setScanResult',
        'screenShotList' => 'setScreenShotList',
        'serviceEmail' => 'setServiceEmail',
        'servicePhone' => 'setServicePhone',
        'serviceRegionInfo' => 'setServiceRegionInfo',
        'serviceRegionType' => 'setServiceRegionType',
        'status' => 'setStatus',
        'versionDesc' => 'setVersionDesc'
    ];

    /**
     * Array of attributes to getter functions (for serialization of requests)
     *
     * @var string[]
     */
    protected static $getters = [
        'appDesc' => 'getAppDesc',
        'appEnglishName' => 'getAppEnglishName',
        'appLogo' => 'getAppLogo',
        'appName' => 'getAppName',
        'appSlogan' => 'getAppSlogan',
        'appVersion' => 'getAppVersion',
        'baseAudit' => 'getBaseAudit',
        'baseAuditRecord' => 'getBaseAuditRecord',
        'canRelease' => 'getCanRelease',
        'gmtApplyAudit' => 'getGmtApplyAudit',
        'gmtAuditEnd' => 'getGmtAuditEnd',
        'gmtCreate' => 'getGmtCreate',
        'gmtOffline' => 'getGmtOffline',
        'gmtOnline' => 'getGmtOnline',
        'grayStrategy' => 'getGrayStrategy',
        'memo' => 'getMemo',
        'miniAppCategoryInfoList' => 'getMiniAppCategoryInfoList',
        'miniCategoryInfoList' => 'getMiniCategoryInfoList',
        'packageInfoList' => 'getPackageInfoList',
        'promoteAudit' => 'getPromoteAudit',
        'promoteAuditRecord' => 'getPromoteAuditRecord',
        'rejectReason' => 'getRejectReason',
        'scanResult' => 'getScanResult',
        'screenShotList' => 'getScreenShotList',
        'serviceEmail' => 'getServiceEmail',
        'servicePhone' => 'getServicePhone',
        'serviceRegionInfo' => 'getServiceRegionInfo',
        'serviceRegionType' => 'getServiceRegionType',
        'status' => 'getStatus',
        'versionDesc' => 'getVersionDesc'
    ];

    /**
     * Array of attributes where the key is the local name,
     * and the value is the original name
     *
     * @return array
     */
    public static function attributeMap()
    {
        return self::$attributeMap;
    }

    /**
     * Array of attributes to setter functions (for deserialization of responses)
     *
     * @return array
     */
    public static function setters()
    {
        return self::$setters;
    }

    /**
     * Array of attributes to getter functions (for serialization of requests)
     *
     * @return array
     */
    public static function getters()
    {
        return self::$getters;
    }

    /**
     * The original name of the model.
     *
     * @return string
     */
    public function getModelName()
    {
        return self::$openAPIModelName;
    }


    /**
     * Associative array for storing property values
     *
     * @var mixed[]
     */
    protected $container = [];

    /**
     * Constructor
     *
     * @param mixed[] $data Associated array of property values
     *                      initializing the model
     */
    public function __construct(array $data = null)
    {
        $this->container['appDesc'] = $data['appDesc'] ?? null;
        $this->container['appEnglishName'] = $data['appEnglishName'] ?? null;
        $this->container['appLogo'] = $data['appLogo'] ?? null;
        $this->container['appName'] = $data['appName'] ?? null;
        $this->container['appSlogan'] = $data['appSlogan'] ?? null;
        $this->container['appVersion'] = $data['appVersion'] ?? null;
        $this->container['baseAudit'] = $data['baseAudit'] ?? null;
        $this->container['baseAuditRecord'] = $data['baseAuditRecord'] ?? null;
        $this->container['canRelease'] = $data['canRelease'] ?? null;
        $this->container['gmtApplyAudit'] = $data['gmtApplyAudit'] ?? null;
        $this->container['gmtAuditEnd'] = $data['gmtAuditEnd'] ?? null;
        $this->container['gmtCreate'] = $data['gmtCreate'] ?? null;
        $this->container['gmtOffline'] = $data['gmtOffline'] ?? null;
        $this->container['gmtOnline'] = $data['gmtOnline'] ?? null;
        $this->container['grayStrategy'] = $data['grayStrategy'] ?? null;
        $this->container['memo'] = $data['memo'] ?? null;
        $this->container['miniAppCategoryInfoList'] = $data['miniAppCategoryInfoList'] ?? null;
        $this->container['miniCategoryInfoList'] = $data['miniCategoryInfoList'] ?? null;
        $this->container['packageInfoList'] = $data['packageInfoList'] ?? null;
        $this->container['promoteAudit'] = $data['promoteAudit'] ?? null;
        $this->container['promoteAuditRecord'] = $data['promoteAuditRecord'] ?? null;
        $this->container['rejectReason'] = $data['rejectReason'] ?? null;
        $this->container['scanResult'] = $data['scanResult'] ?? null;
        $this->container['screenShotList'] = $data['screenShotList'] ?? null;
        $this->container['serviceEmail'] = $data['serviceEmail'] ?? null;
        $this->container['servicePhone'] = $data['servicePhone'] ?? null;
        $this->container['serviceRegionInfo'] = $data['serviceRegionInfo'] ?? null;
        $this->container['serviceRegionType'] = $data['serviceRegionType'] ?? null;
        $this->container['status'] = $data['status'] ?? null;
        $this->container['versionDesc'] = $data['versionDesc'] ?? null;
    }

    /**
     * Show all the invalid properties with reasons.
     *
     * @return array invalid properties with reasons
     */
    public function listInvalidProperties()
    {
        $invalidProperties = [];

        return $invalidProperties;
    }

    /**
     * Validate all the properties in the model
     * return true if all passed
     *
     * @return bool True if all properties are valid
     */
    public function valid()
    {
        return count($this->listInvalidProperties()) === 0;
    }


    /**
     * Gets appDesc
     *
     * @return string|null
     */
    public function getAppDesc()
    {
        return $this->container['appDesc'];
    }

    /**
     * Sets appDesc
     *
     * @param string|null $appDesc 小程序应用描述
     *
     * @return self
     */
    public function setAppDesc($appDesc)
    {
        $this->container['appDesc'] = $appDesc;

        return $this;
    }

    /**
     * Gets appEnglishName
     *
     * @return string|null
     */
    public function getAppEnglishName()
    {
        return $this->container['appEnglishName'];
    }

    /**
     * Sets appEnglishName
     *
     * @param string|null $appEnglishName 小程序应用英文名称
     *
     * @return self
     */
    public function setAppEnglishName($appEnglishName)
    {
        $this->container['appEnglishName'] = $appEnglishName;

        return $this;
    }

    /**
     * Gets appLogo
     *
     * @return string|null
     */
    public function getAppLogo()
    {
        return $this->container['appLogo'];
    }

    /**
     * Sets appLogo
     *
     * @param string|null $appLogo 小程序应用logo图标
     *
     * @return self
     */
    public function setAppLogo($appLogo)
    {
        $this->container['appLogo'] = $appLogo;

        return $this;
    }

    /**
     * Gets appName
     *
     * @return string|null
     */
    public function getAppName()
    {
        return $this->container['appName'];
    }

    /**
     * Sets appName
     *
     * @param string|null $appName 小程序应用名称
     *
     * @return self
     */
    public function setAppName($appName)
    {
        $this->container['appName'] = $appName;

        return $this;
    }

    /**
     * Gets appSlogan
     *
     * @return string|null
     */
    public function getAppSlogan()
    {
        return $this->container['appSlogan'];
    }

    /**
     * Sets appSlogan
     *
     * @param string|null $appSlogan 小程序应用简介，一句话描述小程序功能
     *
     * @return self
     */
    public function setAppSlogan($appSlogan)
    {
        $this->container['appSlogan'] = $appSlogan;

        return $this;
    }

    /**
     * Gets appVersion
     *
     * @return string|null
     */
    public function getAppVersion()
    {
        return $this->container['appVersion'];
    }

    /**
     * Sets appVersion
     *
     * @param string|null $appVersion 小程序版本号
     *
     * @return self
     */
    public function setAppVersion($appVersion)
    {
        $this->container['appVersion'] = $appVersion;

        return $this;
    }

    /**
     * Gets baseAudit
     *
     * @return string|null
     */
    public function getBaseAudit()
    {
        return $this->container['baseAudit'];
    }

    /**
     * Sets baseAudit
     *
     * @param string|null $baseAudit 准入审核结果 （提审时 audit_rule 传 BASE_PROMOTE 时有该字段）
     *
     * @return self
     */
    public function setBaseAudit($baseAudit)
    {
        $this->container['baseAudit'] = $baseAudit;

        return $this;
    }

    /**
     * Gets baseAuditRecord
     *
     * @return \Alipay\OpenAPISDK\Model\MiniAppAuditReason|null
     */
    public function getBaseAuditRecord()
    {
        return $this->container['baseAuditRecord'];
    }

    /**
     * Sets baseAuditRecord
     *
     * @param \Alipay\OpenAPISDK\Model\MiniAppAuditReason|null $baseAuditRecord baseAuditRecord
     *
     * @return self
     */
    public function setBaseAuditRecord($baseAuditRecord)
    {
        $this->container['baseAuditRecord'] = $baseAuditRecord;

        return $this;
    }

    /**
     * Gets canRelease
     *
     * @return string|null
     */
    public function getCanRelease()
    {
        return $this->container['canRelease'];
    }

    /**
     * Sets canRelease
     *
     * @param string|null $canRelease 是否可上架 true：可上架 false：不可上架 （version_status 为PROMOTE_AUDIT_REJECT有值） （提审时 audit_rule 传 BASE_PROMOTE 时有该字段）
     *
     * @return self
     */
    public function setCanRelease($canRelease)
    {
        $this->container['canRelease'] = $canRelease;

        return $this;
    }

    /**
     * Gets gmtApplyAudit
     *
     * @return string|null
     */
    public function getGmtApplyAudit()
    {
        return $this->container['gmtApplyAudit'];
    }

    /**
     * Sets gmtApplyAudit
     *
     * @param string|null $gmtApplyAudit 小程序版本提交审核的时间，格式为yyyy-MM-dd HH:mm:ss
     *
     * @return self
     */
    public function setGmtApplyAudit($gmtApplyAudit)
    {
        $this->container['gmtApplyAudit'] = $gmtApplyAudit;

        return $this;
    }

    /**
     * Gets gmtAuditEnd
     *
     * @return string|null
     */
    public function getGmtAuditEnd()
    {
        return $this->container['gmtAuditEnd'];
    }

    /**
     * Sets gmtAuditEnd
     *
     * @param string|null $gmtAuditEnd 小程序版本审核结束时间，格式为yyyy-MM-dd HH:mm:ss
     *
     * @return self
     */
    public function setGmtAuditEnd($gmtAuditEnd)
    {
        $this->container['gmtAuditEnd'] = $gmtAuditEnd;

        return $this;
    }

    /**
     * Gets gmtCreate
     *
     * @return string|null
     */
    public function getGmtCreate()
    {
        return $this->container['gmtCreate'];
    }

    /**
     * Sets gmtCreate
     *
     * @param string|null $gmtCreate 小程序版本创建时间
     *
     * @return self
     */
    public function setGmtCreate($gmtCreate)
    {
        $this->container['gmtCreate'] = $gmtCreate;

        return $this;
    }

    /**
     * Gets gmtOffline
     *
     * @return string|null
     */
    public function getGmtOffline()
    {
        return $this->container['gmtOffline'];
    }

    /**
     * Sets gmtOffline
     *
     * @param string|null $gmtOffline 小程序版本下架时间
     *
     * @return self
     */
    public function setGmtOffline($gmtOffline)
    {
        $this->container['gmtOffline'] = $gmtOffline;

        return $this;
    }

    /**
     * Gets gmtOnline
     *
     * @return string|null
     */
    public function getGmtOnline()
    {
        return $this->container['gmtOnline'];
    }

    /**
     * Sets gmtOnline
     *
     * @param string|null $gmtOnline 小程序版本上架时间
     *
     * @return self
     */
    public function setGmtOnline($gmtOnline)
    {
        $this->container['gmtOnline'] = $gmtOnline;

        return $this;
    }

    /**
     * Gets grayStrategy
     *
     * @return string|null
     */
    public function getGrayStrategy()
    {
        return $this->container['grayStrategy'];
    }

    /**
     * Sets grayStrategy
     *
     * @param string|null $grayStrategy 小程序灰度比例值，p10-10%的用户，p30-30%的用户，p50-50%的用户
     *
     * @return self
     */
    public function setGrayStrategy($grayStrategy)
    {
        $this->container['grayStrategy'] = $grayStrategy;

        return $this;
    }

    /**
     * Gets memo
     *
     * @return string|null
     */
    public function getMemo()
    {
        return $this->container['memo'];
    }

    /**
     * Sets memo
     *
     * @param string|null $memo 小程序备注
     *
     * @return self
     */
    public function setMemo($memo)
    {
        $this->container['memo'] = $memo;

        return $this;
    }

    /**
     * Gets miniAppCategoryInfoList
     *
     * @return \Alipay\OpenAPISDK\Model\MiniAppCategoryInfo[]|null
     */
    public function getMiniAppCategoryInfoList()
    {
        return $this->container['miniAppCategoryInfoList'];
    }

    /**
     * Sets miniAppCategoryInfoList
     *
     * @param \Alipay\OpenAPISDK\Model\MiniAppCategoryInfo[]|null $miniAppCategoryInfoList 小程序类目列表
     *
     * @return self
     */
    public function setMiniAppCategoryInfoList($miniAppCategoryInfoList)
    {
        $this->container['miniAppCategoryInfoList'] = $miniAppCategoryInfoList;

        return $this;
    }

    /**
     * Gets miniCategoryInfoList
     *
     * @return \Alipay\OpenAPISDK\Model\MiniAppCategoryInfo[]|null
     */
    public function getMiniCategoryInfoList()
    {
        return $this->container['miniCategoryInfoList'];
    }

    /**
     * Sets miniCategoryInfoList
     *
     * @param \Alipay\OpenAPISDK\Model\MiniAppCategoryInfo[]|null $miniCategoryInfoList 新小程序类目列表
     *
     * @return self
     */
    public function setMiniCategoryInfoList($miniCategoryInfoList)
    {
        $this->container['miniCategoryInfoList'] = $miniCategoryInfoList;

        return $this;
    }

    /**
     * Gets packageInfoList
     *
     * @return \Alipay\OpenAPISDK\Model\MiniPackageInfo[]|null
     */
    public function getPackageInfoList()
    {
        return $this->container['packageInfoList'];
    }

    /**
     * Sets packageInfoList
     *
     * @param \Alipay\OpenAPISDK\Model\MiniPackageInfo[]|null $packageInfoList 小程序功能包列表
     *
     * @return self
     */
    public function setPackageInfoList($packageInfoList)
    {
        $this->container['packageInfoList'] = $packageInfoList;

        return $this;
    }

    /**
     * Gets promoteAudit
     *
     * @return string|null
     */
    public function getPromoteAudit()
    {
        return $this->container['promoteAudit'];
    }

    /**
     * Sets promoteAudit
     *
     * @param string|null $promoteAudit 营销审核结果： PASS：通过 REJECT：驳回 （提审时 audit_rule 传 BASE_PROMOTE 时有该字段）
     *
     * @return self
     */
    public function setPromoteAudit($promoteAudit)
    {
        $this->container['promoteAudit'] = $promoteAudit;

        return $this;
    }

    /**
     * Gets promoteAuditRecord
     *
     * @return \Alipay\OpenAPISDK\Model\MiniAppAuditReason|null
     */
    public function getPromoteAuditRecord()
    {
        return $this->container['promoteAuditRecord'];
    }

    /**
     * Sets promoteAuditRecord
     *
     * @param \Alipay\OpenAPISDK\Model\MiniAppAuditReason|null $promoteAuditRecord promoteAuditRecord
     *
     * @return self
     */
    public function setPromoteAuditRecord($promoteAuditRecord)
    {
        $this->container['promoteAuditRecord'] = $promoteAuditRecord;

        return $this;
    }

    /**
     * Gets rejectReason
     *
     * @return string|null
     */
    public function getRejectReason()
    {
        return $this->container['rejectReason'];
    }

    /**
     * Sets rejectReason
     *
     * @param string|null $rejectReason 审核驳回原因
     *
     * @return self
     */
    public function setRejectReason($rejectReason)
    {
        $this->container['rejectReason'] = $rejectReason;

        return $this;
    }

    /**
     * Gets scanResult
     *
     * @return string|null
     */
    public function getScanResult()
    {
        return $this->container['scanResult'];
    }

    /**
     * Sets scanResult
     *
     * @param string|null $scanResult 安全扫描结果，True-安全扫描通过，False-安全扫描不通过，NAN-扫描中
     *
     * @return self
     */
    public function setScanResult($scanResult)
    {
        $this->container['scanResult'] = $scanResult;

        return $this;
    }

    /**
     * Gets screenShotList
     *
     * @return string[]|null
     */
    public function getScreenShotList()
    {
        return $this->container['screenShotList'];
    }

    /**
     * Sets screenShotList
     *
     * @param string[]|null $screenShotList 小程序版本截图，多个截图以逗号隔开
     *
     * @return self
     */
    public function setScreenShotList($screenShotList)
    {
        $this->container['screenShotList'] = $screenShotList;

        return $this;
    }

    /**
     * Gets serviceEmail
     *
     * @return string|null
     */
    public function getServiceEmail()
    {
        return $this->container['serviceEmail'];
    }

    /**
     * Sets serviceEmail
     *
     * @param string|null $serviceEmail 客服邮箱
     *
     * @return self
     */
    public function setServiceEmail($serviceEmail)
    {
        $this->container['serviceEmail'] = $serviceEmail;

        return $this;
    }

    /**
     * Gets servicePhone
     *
     * @return string|null
     */
    public function getServicePhone()
    {
        return $this->container['servicePhone'];
    }

    /**
     * Sets servicePhone
     *
     * @param string|null $servicePhone 客服电话
     *
     * @return self
     */
    public function setServicePhone($servicePhone)
    {
        $this->container['servicePhone'] = $servicePhone;

        return $this;
    }

    /**
     * Gets serviceRegionInfo
     *
     * @return \Alipay\OpenAPISDK\Model\RegionInfo[]|null
     */
    public function getServiceRegionInfo()
    {
        return $this->container['serviceRegionInfo'];
    }

    /**
     * Sets serviceRegionInfo
     *
     * @param \Alipay\OpenAPISDK\Model\RegionInfo[]|null $serviceRegionInfo 小程序服务区域信息，当服务区域类型是LOCATION时，这里明确指出具体的服务区域信息
     *
     * @return self
     */
    public function setServiceRegionInfo($serviceRegionInfo)
    {
        $this->container['serviceRegionInfo'] = $serviceRegionInfo;

        return $this;
    }

    /**
     * Gets serviceRegionType
     *
     * @return string|null
     */
    public function getServiceRegionType()
    {
        return $this->container['serviceRegionType'];
    }

    /**
     * Sets serviceRegionType
     *
     * @param string|null $serviceRegionType 小程序服务区域类型
     *
     * @return self
     */
    public function setServiceRegionType($serviceRegionType)
    {
        $this->container['serviceRegionType'] = $serviceRegionType;

        return $this;
    }

    /**
     * Gets status
     *
     * @return string|null
     */
    public function getStatus()
    {
        return $this->container['status'];
    }

    /**
     * Sets status
     *
     * @param string|null $status 小程序版本状态，INIT-开发中，AUDITING-审核中，WAIT_RELEASE-待上架，BASE_AUDIT_PASS-准入不可营销，AUDIT_REJECT-审核驳回，RELEASE-已上架，GRAY-灰度中，OFFLINE-已下架，AUDIT_OFFLINE-已被强制下架
     *
     * @return self
     */
    public function setStatus($status)
    {
        $this->container['status'] = $status;

        return $this;
    }

    /**
     * Gets versionDesc
     *
     * @return string|null
     */
    public function getVersionDesc()
    {
        return $this->container['versionDesc'];
    }

    /**
     * Sets versionDesc
     *
     * @param string|null $versionDesc 小程序版本描述
     *
     * @return self
     */
    public function setVersionDesc($versionDesc)
    {
        $this->container['versionDesc'] = $versionDesc;

        return $this;
    }
    /**
     * Returns true if offset exists. False otherwise.
     *
     * @param integer $offset Offset
     *
     * @return boolean
     */
    public function offsetExists($offset): bool
    {
        return isset($this->container[$offset]);
    }

    /**
     * Gets offset.
     *
     * @param integer $offset Offset
     *
     * @return mixed|null
     */
    #[\ReturnTypeWillChange]
    public function offsetGet($offset)
    {
        return $this->container[$offset] ?? null;
    }

    /**
     * Sets value based on offset.
     *
     * @param int|null $offset Offset
     * @param mixed    $value  Value to be set
     *
     * @return void
     */
    public function offsetSet($offset, $value): void
    {
        if (is_null($offset)) {
            $this->container[] = $value;
        } else {
            $this->container[$offset] = $value;
        }
    }

    /**
     * Unsets offset.
     *
     * @param integer $offset Offset
     *
     * @return void
     */
    public function offsetUnset($offset): void
    {
        unset($this->container[$offset]);
    }

    /**
     * Serializes the object to a value that can be serialized natively by json_encode().
     * @link https://www.php.net/manual/en/jsonserializable.jsonserialize.php
     *
     * @return mixed Returns data which can be serialized by json_encode(), which is a value
     * of any type other than a resource.
     */
    #[\ReturnTypeWillChange]
    public function jsonSerialize()
    {
       return ObjectSerializer::sanitizeForSerialization($this);
    }

    /**
     * Gets the string presentation of the object
     *
     * @return string
     */
    public function __toString()
    {
        return json_encode(
            ObjectSerializer::sanitizeForSerialization($this),
            JSON_PRETTY_PRINT
        );
    }

    /**
     * Gets a header-safe presentation of the object
     *
     * @return string
     */
    public function toHeaderValue()
    {
        return json_encode(ObjectSerializer::sanitizeForSerialization($this));
    }
}


