commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
SearchIndexingConfigurationValuesBuilder.php
1 <?php
2 
3 declare(strict_types=1);
10 
18 use DateTimeImmutable;
19 use stdClass;
20 
25 {
30  private $status;
31 
36  private $lastModifiedAt;
37 
42  private $lastModifiedBy;
43 
50  public function getStatus()
51  {
52  return $this->status;
53  }
54 
61  public function getLastModifiedAt()
62  {
63  return $this->lastModifiedAt;
64  }
65 
72  public function getLastModifiedBy()
73  {
74  return $this->lastModifiedBy instanceof LastModifiedByBuilder ? $this->lastModifiedBy->build() : $this->lastModifiedBy;
75  }
76 
81  public function withStatus(?string $status)
82  {
83  $this->status = $status;
84 
85  return $this;
86  }
87 
92  public function withLastModifiedAt(?DateTimeImmutable $lastModifiedAt)
93  {
94  $this->lastModifiedAt = $lastModifiedAt;
95 
96  return $this;
97  }
98 
103  public function withLastModifiedBy(?LastModifiedBy $lastModifiedBy)
104  {
105  $this->lastModifiedBy = $lastModifiedBy;
106 
107  return $this;
108  }
109 
114  public function withLastModifiedByBuilder(?LastModifiedByBuilder $lastModifiedBy)
115  {
116  $this->lastModifiedBy = $lastModifiedBy;
117 
118  return $this;
119  }
120 
122  {
124  $this->status,
125  $this->lastModifiedAt,
126  $this->lastModifiedBy instanceof LastModifiedByBuilder ? $this->lastModifiedBy->build() : $this->lastModifiedBy
127  );
128  }
129 
131  {
132  return new self();
133  }
134 }