@@ -12,34 +12,34 @@ final class PutEventsRequestEntry
1212 *
1313 * @see https://www.rfc-editor.org/rfc/rfc3339.txt
1414 */
15- private $ Time ;
15+ private $ time ;
1616
1717 /**
1818 * The source of the event.
1919 */
20- private $ Source ;
20+ private $ source ;
2121
2222 /**
2323 * AWS resources, identified by Amazon Resource Name (ARN), which the event primarily concerns. Any number, including
2424 * zero, may be present.
2525 */
26- private $ Resources ;
26+ private $ resources ;
2727
2828 /**
2929 * Free-form string used to decide what fields to expect in the event detail.
3030 */
31- private $ DetailType ;
31+ private $ detailType ;
3232
3333 /**
3434 * A valid JSON string. There is no other schema imposed. The JSON string may contain fields and nested subobjects.
3535 */
36- private $ Detail ;
36+ private $ detail ;
3737
3838 /**
3939 * The name or ARN of the event bus to receive the event. Only the rules that are associated with this event bus are
4040 * used to match the event. If you omit this, the default event bus is used.
4141 */
42- private $ EventBusName ;
42+ private $ eventBusName ;
4343
4444 /**
4545 * @param array{
@@ -53,12 +53,12 @@ final class PutEventsRequestEntry
5353 */
5454 public function __construct (array $ input )
5555 {
56- $ this ->Time = $ input ['Time ' ] ?? null ;
57- $ this ->Source = $ input ['Source ' ] ?? null ;
58- $ this ->Resources = $ input ['Resources ' ] ?? null ;
59- $ this ->DetailType = $ input ['DetailType ' ] ?? null ;
60- $ this ->Detail = $ input ['Detail ' ] ?? null ;
61- $ this ->EventBusName = $ input ['EventBusName ' ] ?? null ;
56+ $ this ->time = $ input ['Time ' ] ?? null ;
57+ $ this ->source = $ input ['Source ' ] ?? null ;
58+ $ this ->resources = $ input ['Resources ' ] ?? null ;
59+ $ this ->detailType = $ input ['DetailType ' ] ?? null ;
60+ $ this ->detail = $ input ['Detail ' ] ?? null ;
61+ $ this ->eventBusName = $ input ['EventBusName ' ] ?? null ;
6262 }
6363
6464 public static function create ($ input ): self
@@ -68,35 +68,35 @@ public static function create($input): self
6868
6969 public function getDetail (): ?string
7070 {
71- return $ this ->Detail ;
71+ return $ this ->detail ;
7272 }
7373
7474 public function getDetailType (): ?string
7575 {
76- return $ this ->DetailType ;
76+ return $ this ->detailType ;
7777 }
7878
7979 public function getEventBusName (): ?string
8080 {
81- return $ this ->EventBusName ;
81+ return $ this ->eventBusName ;
8282 }
8383
8484 /**
8585 * @return string[]
8686 */
8787 public function getResources (): array
8888 {
89- return $ this ->Resources ?? [];
89+ return $ this ->resources ?? [];
9090 }
9191
9292 public function getSource (): ?string
9393 {
94- return $ this ->Source ;
94+ return $ this ->source ;
9595 }
9696
9797 public function getTime (): ?\DateTimeImmutable
9898 {
99- return $ this ->Time ;
99+ return $ this ->time ;
100100 }
101101
102102 /**
@@ -105,27 +105,27 @@ public function getTime(): ?\DateTimeImmutable
105105 public function requestBody (): array
106106 {
107107 $ payload = [];
108- if (null !== $ v = $ this ->Time ) {
108+ if (null !== $ v = $ this ->time ) {
109109 $ payload ['Time ' ] = $ v ->format (\DateTimeInterface::ATOM );
110110 }
111- if (null !== $ v = $ this ->Source ) {
111+ if (null !== $ v = $ this ->source ) {
112112 $ payload ['Source ' ] = $ v ;
113113 }
114- if (null !== $ v = $ this ->Resources ) {
114+ if (null !== $ v = $ this ->resources ) {
115115 $ index = -1 ;
116116 $ payload ['Resources ' ] = [];
117117 foreach ($ v as $ listValue ) {
118118 ++$ index ;
119119 $ payload ['Resources ' ][$ index ] = $ listValue ;
120120 }
121121 }
122- if (null !== $ v = $ this ->DetailType ) {
122+ if (null !== $ v = $ this ->detailType ) {
123123 $ payload ['DetailType ' ] = $ v ;
124124 }
125- if (null !== $ v = $ this ->Detail ) {
125+ if (null !== $ v = $ this ->detail ) {
126126 $ payload ['Detail ' ] = $ v ;
127127 }
128- if (null !== $ v = $ this ->EventBusName ) {
128+ if (null !== $ v = $ this ->eventBusName ) {
129129 $ payload ['EventBusName ' ] = $ v ;
130130 }
131131
0 commit comments