commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
Loading...
Searching...
No Matches
ImportContainerPagedResponseBuilder.php
1<?php
2
3declare(strict_types=1);
10
16use stdClass;
17
22{
27 private $limit;
28
33 private $offset;
34
39 private $count;
40
45 private $total;
46
51 private $results;
52
59 public function getLimit()
60 {
61 return $this->limit;
62 }
63
70 public function getOffset()
71 {
72 return $this->offset;
73 }
74
81 public function getCount()
82 {
83 return $this->count;
84 }
85
92 public function getTotal()
93 {
94 return $this->total;
95 }
96
103 public function getResults()
104 {
105 return $this->results;
106 }
107
112 public function withLimit(?int $limit)
113 {
114 $this->limit = $limit;
115
116 return $this;
117 }
118
123 public function withOffset(?int $offset)
124 {
125 $this->offset = $offset;
126
127 return $this;
128 }
129
134 public function withCount(?int $count)
135 {
136 $this->count = $count;
137
138 return $this;
139 }
140
145 public function withTotal(?int $total)
146 {
147 $this->total = $total;
148
149 return $this;
150 }
151
156 public function withResults(?ImportContainerCollection $results)
157 {
158 $this->results = $results;
159
160 return $this;
161 }
162
163
165 {
167 $this->limit,
168 $this->offset,
169 $this->count,
170 $this->total,
171 $this->results
172 );
173 }
174
175 public static function of(): ImportContainerPagedResponseBuilder
176 {
177 return new self();
178 }
179}