source: vendor/google/apiclient-services/src/CloudBuild/Notification.php@ e3d4e0a

Last change on this file since e3d4e0a was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 7 days ago

Upload project files

  • Property mode set to 100644
File size: 2.5 KB
Line 
1<?php
2/*
3 * Copyright 2014 Google Inc.
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
6 * use this file except in compliance with the License. You may obtain a copy of
7 * the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14 * License for the specific language governing permissions and limitations under
15 * the License.
16 */
17
18namespace Google\Service\CloudBuild;
19
20class Notification extends \Google\Model
21{
22 /**
23 * @var string
24 */
25 public $filter;
26 protected $httpDeliveryType = HTTPDelivery::class;
27 protected $httpDeliveryDataType = '';
28 public $httpDelivery;
29 protected $slackDeliveryType = SlackDelivery::class;
30 protected $slackDeliveryDataType = '';
31 public $slackDelivery;
32 protected $smtpDeliveryType = SMTPDelivery::class;
33 protected $smtpDeliveryDataType = '';
34 public $smtpDelivery;
35 /**
36 * @var array[]
37 */
38 public $structDelivery;
39
40 /**
41 * @param string
42 */
43 public function setFilter($filter)
44 {
45 $this->filter = $filter;
46 }
47 /**
48 * @return string
49 */
50 public function getFilter()
51 {
52 return $this->filter;
53 }
54 /**
55 * @param HTTPDelivery
56 */
57 public function setHttpDelivery(HTTPDelivery $httpDelivery)
58 {
59 $this->httpDelivery = $httpDelivery;
60 }
61 /**
62 * @return HTTPDelivery
63 */
64 public function getHttpDelivery()
65 {
66 return $this->httpDelivery;
67 }
68 /**
69 * @param SlackDelivery
70 */
71 public function setSlackDelivery(SlackDelivery $slackDelivery)
72 {
73 $this->slackDelivery = $slackDelivery;
74 }
75 /**
76 * @return SlackDelivery
77 */
78 public function getSlackDelivery()
79 {
80 return $this->slackDelivery;
81 }
82 /**
83 * @param SMTPDelivery
84 */
85 public function setSmtpDelivery(SMTPDelivery $smtpDelivery)
86 {
87 $this->smtpDelivery = $smtpDelivery;
88 }
89 /**
90 * @return SMTPDelivery
91 */
92 public function getSmtpDelivery()
93 {
94 return $this->smtpDelivery;
95 }
96 /**
97 * @param array[]
98 */
99 public function setStructDelivery($structDelivery)
100 {
101 $this->structDelivery = $structDelivery;
102 }
103 /**
104 * @return array[]
105 */
106 public function getStructDelivery()
107 {
108 return $this->structDelivery;
109 }
110}
111
112// Adding a class alias for backwards compatibility with the previous class name.
113class_alias(Notification::class, 'Google_Service_CloudBuild_Notification');
Note: See TracBrowser for help on using the repository browser.