Passed
Push — develop ( 413d03...e12cb1 )
by Mikaël
50:47 queued 10s
created

setGroupIdentity()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 2
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
1
<?php
2
3
namespace Ews\StructType;
4
5
use \WsdlToPhp\PackageBase\AbstractStructBase;
6
7
/**
8
 * This class stands for SetUnifiedGroupSenderRestrictionsRequestType StructType
9
 * @package Ews
10
 * @subpackage Structs
11
 * @author WsdlToPhp <[email protected]>
12
 */
13
class EwsSetUnifiedGroupSenderRestrictionsRequestType extends EwsUnifiedGroupBaseRequestType
14
{
15
    /**
16
     * The RestrictionSettings
17
     * Meta information extracted from the WSDL
18
     * - maxOccurs: 1
19
     * - minOccurs: 1
20
     * @var \Ews\ArrayType\EwsArrayOfUnifiedGroupSenderRestrictionSettingType
21
     */
22
    public $RestrictionSettings;
23
    /**
24
     * The UnifiedGroupSenderRestrictionsSettings
25
     * Meta information extracted from the WSDL
26
     * - maxOccurs: 1
27
     * - minOccurs: 1
28
     * @var \Ews\ArrayType\EwsArrayOfUnifiedGroupSenderRestrictionSettingType
29
     */
30
    public $UnifiedGroupSenderRestrictionsSettings;
31
    /**
32
     * Constructor method for SetUnifiedGroupSenderRestrictionsRequestType
33
     * @uses EwsSetUnifiedGroupSenderRestrictionsRequestType::setRestrictionSettings()
34
     * @uses EwsSetUnifiedGroupSenderRestrictionsRequestType::setUnifiedGroupSenderRestrictionsSettings()
35
     * @param \Ews\ArrayType\EwsArrayOfUnifiedGroupSenderRestrictionSettingType $restrictionSettings
36
     * @param \Ews\ArrayType\EwsArrayOfUnifiedGroupSenderRestrictionSettingType $unifiedGroupSenderRestrictionsSettings
37
     */
38
    public function __construct(\Ews\ArrayType\EwsArrayOfUnifiedGroupSenderRestrictionSettingType $restrictionSettings = null, \Ews\ArrayType\EwsArrayOfUnifiedGroupSenderRestrictionSettingType $unifiedGroupSenderRestrictionsSettings = null)
39
    {
40
        $this
41
            ->setRestrictionSettings($restrictionSettings)
42
            ->setUnifiedGroupSenderRestrictionsSettings($unifiedGroupSenderRestrictionsSettings);
43
    }
44
    /**
45
     * Get RestrictionSettings value
46
     * @return \Ews\ArrayType\EwsArrayOfUnifiedGroupSenderRestrictionSettingType
47
     */
48
    public function getRestrictionSettings()
49
    {
50
        return $this->RestrictionSettings;
51
    }
52
    /**
53
     * Set RestrictionSettings value
54
     * @param \Ews\ArrayType\EwsArrayOfUnifiedGroupSenderRestrictionSettingType $restrictionSettings
55
     * @return \Ews\StructType\EwsSetUnifiedGroupSenderRestrictionsRequestType
56
     */
57
    public function setRestrictionSettings(\Ews\ArrayType\EwsArrayOfUnifiedGroupSenderRestrictionSettingType $restrictionSettings = null)
58
    {
59
        $this->RestrictionSettings = $restrictionSettings;
60
        return $this;
61
    }
62
    /**
63
     * Get UnifiedGroupSenderRestrictionsSettings value
64
     * @return \Ews\ArrayType\EwsArrayOfUnifiedGroupSenderRestrictionSettingType
65
     */
66
    public function getUnifiedGroupSenderRestrictionsSettings()
67
    {
68
        return $this->UnifiedGroupSenderRestrictionsSettings;
69
    }
70
    /**
71
     * Set UnifiedGroupSenderRestrictionsSettings value
72
     * @param \Ews\ArrayType\EwsArrayOfUnifiedGroupSenderRestrictionSettingType $unifiedGroupSenderRestrictionsSettings
73
     * @return \Ews\StructType\EwsSetUnifiedGroupSenderRestrictionsRequestType
74
     */
75
    public function setUnifiedGroupSenderRestrictionsSettings(\Ews\ArrayType\EwsArrayOfUnifiedGroupSenderRestrictionSettingType $unifiedGroupSenderRestrictionsSettings = null)
76
    {
77
        $this->UnifiedGroupSenderRestrictionsSettings = $unifiedGroupSenderRestrictionsSettings;
78
        return $this;
79
    }
80
}
81