source: vendor/google/apiclient-services/src/MigrationCenterAPI/DailyResourceUsageAggregation.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.7 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\MigrationCenterAPI;
19
20class DailyResourceUsageAggregation extends \Google\Model
21{
22 protected $cpuType = DailyResourceUsageAggregationCPU::class;
23 protected $cpuDataType = '';
24 protected $dateType = Date::class;
25 protected $dateDataType = '';
26 protected $diskType = DailyResourceUsageAggregationDisk::class;
27 protected $diskDataType = '';
28 protected $memoryType = DailyResourceUsageAggregationMemory::class;
29 protected $memoryDataType = '';
30 protected $networkType = DailyResourceUsageAggregationNetwork::class;
31 protected $networkDataType = '';
32
33 /**
34 * @param DailyResourceUsageAggregationCPU
35 */
36 public function setCpu(DailyResourceUsageAggregationCPU $cpu)
37 {
38 $this->cpu = $cpu;
39 }
40 /**
41 * @return DailyResourceUsageAggregationCPU
42 */
43 public function getCpu()
44 {
45 return $this->cpu;
46 }
47 /**
48 * @param Date
49 */
50 public function setDate(Date $date)
51 {
52 $this->date = $date;
53 }
54 /**
55 * @return Date
56 */
57 public function getDate()
58 {
59 return $this->date;
60 }
61 /**
62 * @param DailyResourceUsageAggregationDisk
63 */
64 public function setDisk(DailyResourceUsageAggregationDisk $disk)
65 {
66 $this->disk = $disk;
67 }
68 /**
69 * @return DailyResourceUsageAggregationDisk
70 */
71 public function getDisk()
72 {
73 return $this->disk;
74 }
75 /**
76 * @param DailyResourceUsageAggregationMemory
77 */
78 public function setMemory(DailyResourceUsageAggregationMemory $memory)
79 {
80 $this->memory = $memory;
81 }
82 /**
83 * @return DailyResourceUsageAggregationMemory
84 */
85 public function getMemory()
86 {
87 return $this->memory;
88 }
89 /**
90 * @param DailyResourceUsageAggregationNetwork
91 */
92 public function setNetwork(DailyResourceUsageAggregationNetwork $network)
93 {
94 $this->network = $network;
95 }
96 /**
97 * @return DailyResourceUsageAggregationNetwork
98 */
99 public function getNetwork()
100 {
101 return $this->network;
102 }
103}
104
105// Adding a class alias for backwards compatibility with the previous class name.
106class_alias(DailyResourceUsageAggregation::class, 'Google_Service_MigrationCenterAPI_DailyResourceUsageAggregation');
Note: See TracBrowser for help on using the repository browser.