-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #40 from KMETb/priority-goals-peration
Priority goals peration
- Loading branch information
Showing
9 changed files
with
75 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
src/services/bidmodifiers/enum/OperatingSystemTypeEnum.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?php | ||
|
||
namespace directapi\services\bidmodifiers\enum; | ||
|
||
|
||
use directapi\components\Enum; | ||
|
||
class OperatingSystemTypeEnum extends Enum | ||
{ | ||
public const IOS = 'IOS'; | ||
public const ANDROID = 'ANDROID'; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?php | ||
|
||
namespace directapi\services\campaigns\models; | ||
|
||
use directapi\components\Model; | ||
use directapi\services\campaigns\models\PriorityGoalsItem; | ||
|
||
class PriorityGoalsUpdateItem extends PriorityGoalsItem | ||
{ | ||
/** | ||
* @var string | ||
*/ | ||
public $Operation = 'SET'; | ||
|
||
} |
14 changes: 14 additions & 0 deletions
14
src/services/campaigns/models/PriorityGoalsUpdateSetting.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?php | ||
|
||
namespace directapi\services\campaigns\models; | ||
|
||
use directapi\components\Model; | ||
|
||
class PriorityGoalsUpdateSetting extends Model | ||
{ | ||
|
||
/** | ||
* @var PriorityGoalsUpdateItem[] | ||
*/ | ||
public $Items = []; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?php | ||
|
||
namespace directapi\services\campaigns\models; | ||
|
||
use directapi\components\constraints as DirectApiAssert; | ||
use directapi\components\Model; | ||
use Symfony\Component\Validator\Constraints as Assert; | ||
use directapi\services\campaigns\models\TextCampaignItem; | ||
|
||
class TextCampaignUpdateItem extends TextCampaignItem | ||
{ | ||
/** | ||
* @var PriorityGoalsUpdateSetting | ||
* @Assert\Valid() | ||
* @Assert\Type(type="directapi\services\campaigns\models\PriorityGoalsUpdateSetting") | ||
*/ | ||
public $PriorityGoals; | ||
} |