<?php

namespace patest\StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for
 * KeyValueOfServiceSpecificItemIdentityTicketOwnershipChangeDetailsn51wGZ5l
 * StructType
 * @subpackage Structs
 */
class KeyValueOfServiceSpecificItemIdentityTicketOwnershipChangeDetailsn51wGZ5l extends AbstractStructBase
{
    /**
     * The Key
     * Meta information extracted from the WSDL
     * - nillable: true
     * @var \patest\StructType\ServiceSpecificItemIdentity
     */
    public $Key;
    /**
     * The Value
     * Meta information extracted from the WSDL
     * - nillable: true
     * @var \patest\StructType\TicketOwnershipChangeDetails
     */
    public $Value;
    /**
     * Constructor method for
     * KeyValueOfServiceSpecificItemIdentityTicketOwnershipChangeDetailsn51wGZ5l
     * @uses KeyValueOfServiceSpecificItemIdentityTicketOwnershipChangeDetailsn51wGZ5l::setKey()
     * @uses KeyValueOfServiceSpecificItemIdentityTicketOwnershipChangeDetailsn51wGZ5l::setValue()
     * @param \patest\StructType\ServiceSpecificItemIdentity $key
     * @param \patest\StructType\TicketOwnershipChangeDetails $value
     */
    public function __construct(\patest\StructType\ServiceSpecificItemIdentity $key = null, \patest\StructType\TicketOwnershipChangeDetails $value = null)
    {
        $this
            ->setKey($key)
            ->setValue($value);
    }
    /**
     * Get Key value
     * @return \patest\StructType\ServiceSpecificItemIdentity|null
     */
    public function getKey()
    {
        return $this->Key;
    }
    /**
     * Set Key value
     * @param \patest\StructType\ServiceSpecificItemIdentity $key
     * @return \patest\StructType\KeyValueOfServiceSpecificItemIdentityTicketOwnershipChangeDetailsn51wGZ5l
     */
    public function setKey(\patest\StructType\ServiceSpecificItemIdentity $key = null)
    {
        $this->Key = $key;
        return $this;
    }
    /**
     * Get Value value
     * @return \patest\StructType\TicketOwnershipChangeDetails|null
     */
    public function getValue()
    {
        return $this->Value;
    }
    /**
     * Set Value value
     * @param \patest\StructType\TicketOwnershipChangeDetails $value
     * @return \patest\StructType\KeyValueOfServiceSpecificItemIdentityTicketOwnershipChangeDetailsn51wGZ5l
     */
    public function setValue(\patest\StructType\TicketOwnershipChangeDetails $value = null)
    {
        $this->Value = $value;
        return $this;
    }
}
