<?php

namespace patest\StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

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