source: vendor/google/apiclient-services/src/CloudIot/DeviceRegistry.php

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

Upload project files

  • Property mode set to 100644
File size: 3.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\CloudIot;
19
20class DeviceRegistry extends \Google\Collection
21{
22 protected $collection_key = 'eventNotificationConfigs';
23 protected $credentialsType = RegistryCredential::class;
24 protected $credentialsDataType = 'array';
25 protected $eventNotificationConfigsType = EventNotificationConfig::class;
26 protected $eventNotificationConfigsDataType = 'array';
27 protected $httpConfigType = HttpConfig::class;
28 protected $httpConfigDataType = '';
29 /**
30 * @var string
31 */
32 public $id;
33 /**
34 * @var string
35 */
36 public $logLevel;
37 protected $mqttConfigType = MqttConfig::class;
38 protected $mqttConfigDataType = '';
39 /**
40 * @var string
41 */
42 public $name;
43 protected $stateNotificationConfigType = StateNotificationConfig::class;
44 protected $stateNotificationConfigDataType = '';
45
46 /**
47 * @param RegistryCredential[]
48 */
49 public function setCredentials($credentials)
50 {
51 $this->credentials = $credentials;
52 }
53 /**
54 * @return RegistryCredential[]
55 */
56 public function getCredentials()
57 {
58 return $this->credentials;
59 }
60 /**
61 * @param EventNotificationConfig[]
62 */
63 public function setEventNotificationConfigs($eventNotificationConfigs)
64 {
65 $this->eventNotificationConfigs = $eventNotificationConfigs;
66 }
67 /**
68 * @return EventNotificationConfig[]
69 */
70 public function getEventNotificationConfigs()
71 {
72 return $this->eventNotificationConfigs;
73 }
74 /**
75 * @param HttpConfig
76 */
77 public function setHttpConfig(HttpConfig $httpConfig)
78 {
79 $this->httpConfig = $httpConfig;
80 }
81 /**
82 * @return HttpConfig
83 */
84 public function getHttpConfig()
85 {
86 return $this->httpConfig;
87 }
88 /**
89 * @param string
90 */
91 public function setId($id)
92 {
93 $this->id = $id;
94 }
95 /**
96 * @return string
97 */
98 public function getId()
99 {
100 return $this->id;
101 }
102 /**
103 * @param string
104 */
105 public function setLogLevel($logLevel)
106 {
107 $this->logLevel = $logLevel;
108 }
109 /**
110 * @return string
111 */
112 public function getLogLevel()
113 {
114 return $this->logLevel;
115 }
116 /**
117 * @param MqttConfig
118 */
119 public function setMqttConfig(MqttConfig $mqttConfig)
120 {
121 $this->mqttConfig = $mqttConfig;
122 }
123 /**
124 * @return MqttConfig
125 */
126 public function getMqttConfig()
127 {
128 return $this->mqttConfig;
129 }
130 /**
131 * @param string
132 */
133 public function setName($name)
134 {
135 $this->name = $name;
136 }
137 /**
138 * @return string
139 */
140 public function getName()
141 {
142 return $this->name;
143 }
144 /**
145 * @param StateNotificationConfig
146 */
147 public function setStateNotificationConfig(StateNotificationConfig $stateNotificationConfig)
148 {
149 $this->stateNotificationConfig = $stateNotificationConfig;
150 }
151 /**
152 * @return StateNotificationConfig
153 */
154 public function getStateNotificationConfig()
155 {
156 return $this->stateNotificationConfig;
157 }
158}
159
160// Adding a class alias for backwards compatibility with the previous class name.
161class_alias(DeviceRegistry::class, 'Google_Service_CloudIot_DeviceRegistry');
Note: See TracBrowser for help on using the repository browser.