• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

tylernathanreed / jira-client-php / 13634794100

03 Mar 2025 03:19PM UTC coverage: 2.067% (-0.1%) from 2.21%
13634794100

push

github

web-flow
~ Try coveralls action

140 of 6773 relevant lines covered (2.07%)

0.03 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/Schema/EventNotification.php
1
<?php
2

3
namespace Jira\Client\Schema;
4

5
use Jira\Client\Dto;
6

7
/** Details about a notification associated with an event. */
8
final readonly class EventNotification extends Dto
9
{
10
    public function __construct(
×
11
        /** The email address. */
12
        public ?string $emailAddress = null,
13

14
        /** Expand options that include additional event notification details in the response. */
15
        public ?string $expand = null,
16

17
        /** The custom user or group field. */
18
        public ?FieldDetails $field = null,
19

20
        /** The specified group. */
21
        public ?GroupName $group = null,
22

23
        /** The ID of the notification. */
24
        public ?int $id = null,
25

26
        /**
27
         * Identifies the recipients of the notification.
28
         * 
29
         * @var 'CurrentAssignee'|'Reporter'|'CurrentUser'|'ProjectLead'|'ComponentLead'|'User'|'Group'|'ProjectRole'|'EmailAddress'|'AllWatchers'|'UserCustomField'|'GroupCustomField'|null
30
         */
31
        public ?string $notificationType = null,
32

33
        /**
34
         * As a group's name can change, use of `recipient` is recommended.
35
         * The identifier associated with the `notificationType` value that defines the receiver of the notification, where the receiver isn't implied by `notificationType` value.
36
         * So, when `notificationType` is:
37
         * 
38
         *  - `User` The `parameter` is the user account ID
39
         *  - `Group` The `parameter` is the group name
40
         *  - `ProjectRole` The `parameter` is the project role ID
41
         *  - `UserCustomField` The `parameter` is the ID of the custom field
42
         *  - `GroupCustomField` The `parameter` is the ID of the custom field.
43
         */
44
        public ?string $parameter = null,
45

46
        /** The specified project role. */
47
        public ?ProjectRole $projectRole = null,
48

49
        /**
50
         * The identifier associated with the `notificationType` value that defines the receiver of the notification, where the receiver isn't implied by the `notificationType` value.
51
         * So, when `notificationType` is:
52
         * 
53
         *  - `User`, `recipient` is the user account ID
54
         *  - `Group`, `recipient` is the group ID
55
         *  - `ProjectRole`, `recipient` is the project role ID
56
         *  - `UserCustomField`, `recipient` is the ID of the custom field
57
         *  - `GroupCustomField`, `recipient` is the ID of the custom field.
58
         */
59
        public ?string $recipient = null,
60

61
        /** The specified user. */
62
        public ?UserDetails $user = null,
63
    ) {
64
    }
×
65
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc