Skip to content

Commit fec6629

Browse files
committed
Update unit comments
1 parent 85d4a81 commit fec6629

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

codegen-template/README.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ public class Example {
140140
.key("Metric_name") // e.g. sales
141141
.value(123f)
142142
.date("Date_in_ISO8601") // e.g. "2024-08-01T00:00:00Z"
143-
.unit("Unit") // optional - e.g. EUR
143+
.unit("Unit") // optional - e.g. USD
144144
.attributes(List.of(new PushDataAttribute().key("Dimension_name").value("Dimension_value"))); // optional - e.g. currency & USD
145145
146146
DefaultApi apiInstance = new DefaultApi(defaultClient);

examples/pushData/src/PushData.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public static void main(String[] args) {
1919
.key("<Metric_name>") // e.g. sales
2020
.value(123f)
2121
.date("<Date_in_ISO8601>") // e.g. "2024-08-01T00:00:00Z"
22-
.unit("<Unit>") // optional - e.g. EUR
22+
.unit("<Unit>") // optional - e.g. USD
2323
.attributes(List.of(new PushDataAttribute().key("<Dimension_name>").value("<Dimension_value>"))); // optional - e.g. currency & USD
2424

2525
DefaultApi apiInstance = new DefaultApi(defaultClient);

0 commit comments

Comments
 (0)