Skip to content

Commit b03cca0

Browse files
SDK regeneration
1 parent 9371eba commit b03cca0

File tree

14 files changed

+442
-442
lines changed

14 files changed

+442
-442
lines changed

src/Contacts/Traits/Contact.php

Lines changed: 63 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -13,21 +13,21 @@
1313
/**
1414
* Contacts represent your leads and users in Intercom.
1515
*
16-
* @property ?'contact' $type
17-
* @property ?string $id
16+
* @property 'contact' $type
17+
* @property string $id
1818
* @property ?string $externalId
19-
* @property ?string $workspaceId
20-
* @property ?string $role
19+
* @property string $workspaceId
20+
* @property string $role
2121
* @property ?string $email
2222
* @property ?string $emailDomain
2323
* @property ?string $phone
2424
* @property ?string $name
2525
* @property ?int $ownerId
26-
* @property ?bool $hasHardBounced
27-
* @property ?bool $markedEmailAsSpam
28-
* @property ?bool $unsubscribedFromEmails
29-
* @property ?int $createdAt
30-
* @property ?int $updatedAt
26+
* @property bool $hasHardBounced
27+
* @property bool $markedEmailAsSpam
28+
* @property bool $unsubscribedFromEmails
29+
* @property int $createdAt
30+
* @property int $updatedAt
3131
* @property ?int $signedUpAt
3232
* @property ?int $lastSeenAt
3333
* @property ?int $lastRepliedAt
@@ -62,16 +62,16 @@
6262
trait Contact
6363
{
6464
/**
65-
* @var ?'contact' $type The type of object.
65+
* @var 'contact' $type The type of object.
6666
*/
6767
#[JsonProperty('type')]
68-
private ?string $type;
68+
private string $type;
6969

7070
/**
71-
* @var ?string $id The unique identifier for the contact which is given by Intercom.
71+
* @var string $id The unique identifier for the contact which is given by Intercom.
7272
*/
7373
#[JsonProperty('id')]
74-
private ?string $id;
74+
private string $id;
7575

7676
/**
7777
* @var ?string $externalId The unique identifier for the contact which is provided by the Client.
@@ -80,16 +80,16 @@ trait Contact
8080
private ?string $externalId;
8181

8282
/**
83-
* @var ?string $workspaceId The id of the workspace which the contact belongs to.
83+
* @var string $workspaceId The id of the workspace which the contact belongs to.
8484
*/
8585
#[JsonProperty('workspace_id')]
86-
private ?string $workspaceId;
86+
private string $workspaceId;
8787

8888
/**
89-
* @var ?string $role The role of the contact.
89+
* @var string $role The role of the contact.
9090
*/
9191
#[JsonProperty('role')]
92-
private ?string $role;
92+
private string $role;
9393

9494
/**
9595
* @var ?string $email The contact's email.
@@ -122,34 +122,34 @@ trait Contact
122122
private ?int $ownerId;
123123

124124
/**
125-
* @var ?bool $hasHardBounced Whether the contact has had an email sent to them hard bounce.
125+
* @var bool $hasHardBounced Whether the contact has had an email sent to them hard bounce.
126126
*/
127127
#[JsonProperty('has_hard_bounced')]
128-
private ?bool $hasHardBounced;
128+
private bool $hasHardBounced;
129129

130130
/**
131-
* @var ?bool $markedEmailAsSpam Whether the contact has marked an email sent to them as spam.
131+
* @var bool $markedEmailAsSpam Whether the contact has marked an email sent to them as spam.
132132
*/
133133
#[JsonProperty('marked_email_as_spam')]
134-
private ?bool $markedEmailAsSpam;
134+
private bool $markedEmailAsSpam;
135135

136136
/**
137-
* @var ?bool $unsubscribedFromEmails Whether the contact is unsubscribed from emails.
137+
* @var bool $unsubscribedFromEmails Whether the contact is unsubscribed from emails.
138138
*/
139139
#[JsonProperty('unsubscribed_from_emails')]
140-
private ?bool $unsubscribedFromEmails;
140+
private bool $unsubscribedFromEmails;
141141

142142
/**
143-
* @var ?int $createdAt (UNIX timestamp) The time when the contact was created.
143+
* @var int $createdAt (UNIX timestamp) The time when the contact was created.
144144
*/
145145
#[JsonProperty('created_at')]
146-
private ?int $createdAt;
146+
private int $createdAt;
147147

148148
/**
149-
* @var ?int $updatedAt (UNIX timestamp) The time when the contact was last updated.
149+
* @var int $updatedAt (UNIX timestamp) The time when the contact was last updated.
150150
*/
151151
#[JsonProperty('updated_at')]
152-
private ?int $updatedAt;
152+
private int $updatedAt;
153153

154154
/**
155155
* @var ?int $signedUpAt (UNIX timestamp) The time specified for when a contact signed up.
@@ -332,34 +332,34 @@ trait Contact
332332
private ?ContactSocialProfiles $socialProfiles;
333333

334334
/**
335-
* @return ?'contact'
335+
* @return 'contact'
336336
*/
337-
public function getType(): ?string
337+
public function getType(): string
338338
{
339339
return $this->type;
340340
}
341341

342342
/**
343-
* @param ?'contact' $value
343+
* @param 'contact' $value
344344
*/
345-
public function setType(?string $value = null): self
345+
public function setType(string $value): self
346346
{
347347
$this->type = $value;
348348
return $this;
349349
}
350350

351351
/**
352-
* @return ?string
352+
* @return string
353353
*/
354-
public function getId(): ?string
354+
public function getId(): string
355355
{
356356
return $this->id;
357357
}
358358

359359
/**
360-
* @param ?string $value
360+
* @param string $value
361361
*/
362-
public function setId(?string $value = null): self
362+
public function setId(string $value): self
363363
{
364364
$this->id = $value;
365365
return $this;
@@ -383,34 +383,34 @@ public function setExternalId(?string $value = null): self
383383
}
384384

385385
/**
386-
* @return ?string
386+
* @return string
387387
*/
388-
public function getWorkspaceId(): ?string
388+
public function getWorkspaceId(): string
389389
{
390390
return $this->workspaceId;
391391
}
392392

393393
/**
394-
* @param ?string $value
394+
* @param string $value
395395
*/
396-
public function setWorkspaceId(?string $value = null): self
396+
public function setWorkspaceId(string $value): self
397397
{
398398
$this->workspaceId = $value;
399399
return $this;
400400
}
401401

402402
/**
403-
* @return ?string
403+
* @return string
404404
*/
405-
public function getRole(): ?string
405+
public function getRole(): string
406406
{
407407
return $this->role;
408408
}
409409

410410
/**
411-
* @param ?string $value
411+
* @param string $value
412412
*/
413-
public function setRole(?string $value = null): self
413+
public function setRole(string $value): self
414414
{
415415
$this->role = $value;
416416
return $this;
@@ -502,85 +502,85 @@ public function setOwnerId(?int $value = null): self
502502
}
503503

504504
/**
505-
* @return ?bool
505+
* @return bool
506506
*/
507-
public function getHasHardBounced(): ?bool
507+
public function getHasHardBounced(): bool
508508
{
509509
return $this->hasHardBounced;
510510
}
511511

512512
/**
513-
* @param ?bool $value
513+
* @param bool $value
514514
*/
515-
public function setHasHardBounced(?bool $value = null): self
515+
public function setHasHardBounced(bool $value): self
516516
{
517517
$this->hasHardBounced = $value;
518518
return $this;
519519
}
520520

521521
/**
522-
* @return ?bool
522+
* @return bool
523523
*/
524-
public function getMarkedEmailAsSpam(): ?bool
524+
public function getMarkedEmailAsSpam(): bool
525525
{
526526
return $this->markedEmailAsSpam;
527527
}
528528

529529
/**
530-
* @param ?bool $value
530+
* @param bool $value
531531
*/
532-
public function setMarkedEmailAsSpam(?bool $value = null): self
532+
public function setMarkedEmailAsSpam(bool $value): self
533533
{
534534
$this->markedEmailAsSpam = $value;
535535
return $this;
536536
}
537537

538538
/**
539-
* @return ?bool
539+
* @return bool
540540
*/
541-
public function getUnsubscribedFromEmails(): ?bool
541+
public function getUnsubscribedFromEmails(): bool
542542
{
543543
return $this->unsubscribedFromEmails;
544544
}
545545

546546
/**
547-
* @param ?bool $value
547+
* @param bool $value
548548
*/
549-
public function setUnsubscribedFromEmails(?bool $value = null): self
549+
public function setUnsubscribedFromEmails(bool $value): self
550550
{
551551
$this->unsubscribedFromEmails = $value;
552552
return $this;
553553
}
554554

555555
/**
556-
* @return ?int
556+
* @return int
557557
*/
558-
public function getCreatedAt(): ?int
558+
public function getCreatedAt(): int
559559
{
560560
return $this->createdAt;
561561
}
562562

563563
/**
564-
* @param ?int $value
564+
* @param int $value
565565
*/
566-
public function setCreatedAt(?int $value = null): self
566+
public function setCreatedAt(int $value): self
567567
{
568568
$this->createdAt = $value;
569569
return $this;
570570
}
571571

572572
/**
573-
* @return ?int
573+
* @return int
574574
*/
575-
public function getUpdatedAt(): ?int
575+
public function getUpdatedAt(): int
576576
{
577577
return $this->updatedAt;
578578
}
579579

580580
/**
581-
* @param ?int $value
581+
* @param int $value
582582
*/
583-
public function setUpdatedAt(?int $value = null): self
583+
public function setUpdatedAt(int $value): self
584584
{
585585
$this->updatedAt = $value;
586586
return $this;

0 commit comments

Comments
 (0)