PHP Class Api\StructType\ApiAddRequest

Inheritance: extends WsdlToPhp\PackageBase\AbstractStructBase
Datei anzeigen Open project: wsdltophp/packagegenerator

Public Properties

Property Type Description
$AdGroups Api\StructType\ApiAdGroupAddItem[] The AdGroups Meta informations extracted from the WSDL - maxOccurs: unbounded - minOccurs: 1

Public Methods

Method Description
__construct ( array $adGroups = [] ) Constructor method for AddRequest
__set_state ( array $array ) : ApiAddRequest Method called when an object has been exported with var_export() functions It allows to return an object instantiated with the values
__toString ( ) : string Method returning the class name
addToAdGroups ( Api\StructType\ApiAdGroupAddItem $item ) : ApiAddRequest Add item to AdGroups value
getAdGroups ( ) : Api\StructType\ApiAdGroupAddItem[] Get AdGroups value
setAdGroups ( array $adGroups = [] ) : ApiAddRequest Set AdGroups value

Method Details

__construct() public method

Constructor method for AddRequest
public __construct ( array $adGroups = [] )
$adGroups array

__set_state() public static method

Method called when an object has been exported with var_export() functions It allows to return an object instantiated with the values
See also: AbstractStructBase::__set_state()
public static __set_state ( array $array ) : ApiAddRequest
$array array the exported values
return ApiAddRequest

__toString() public method

Method returning the class name
public __toString ( ) : string
return string __CLASS__

addToAdGroups() public method

Add item to AdGroups value
public addToAdGroups ( Api\StructType\ApiAdGroupAddItem $item ) : ApiAddRequest
$item Api\StructType\ApiAdGroupAddItem
return ApiAddRequest

getAdGroups() public method

Get AdGroups value
public getAdGroups ( ) : Api\StructType\ApiAdGroupAddItem[]
return Api\StructType\ApiAdGroupAddItem[]

setAdGroups() public method

Set AdGroups value
public setAdGroups ( array $adGroups = [] ) : ApiAddRequest
$adGroups array
return ApiAddRequest

Property Details

$AdGroups public_oe property

The AdGroups Meta informations extracted from the WSDL - maxOccurs: unbounded - minOccurs: 1
public ApiAdGroupAddItem[],Api\StructType $AdGroups
return Api\StructType\ApiAdGroupAddItem[]