Skip to content

Commit 732d96d

Browse files
committed
2 parents e56f999 + d9392e1 commit 732d96d

File tree

69 files changed

+8121
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+8121
-0
lines changed

+MacrobondMATLABAPI/+api/InHouseSeries.m

Lines changed: 580 additions & 0 deletions
Large diffs are not rendered by default.

+MacrobondMATLABAPI/+api/Metadata.m

Lines changed: 463 additions & 0 deletions
Large diffs are not rendered by default.

+MacrobondMATLABAPI/+api/Search.m

Lines changed: 652 additions & 0 deletions
Large diffs are not rendered by default.

+MacrobondMATLABAPI/+api/Series.m

Lines changed: 1768 additions & 0 deletions
Large diffs are not rendered by default.

+MacrobondMATLABAPI/+api/SeriesTree.m

Lines changed: 457 additions & 0 deletions
Large diffs are not rendered by default.

+MacrobondMATLABAPI/+api/SubscriptionList.m

Lines changed: 845 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
classdef CalendarDateMode < MacrobondMATLABAPI.JSONEnum
2+
% CalendarDateMode 0 = DataInAnySeries (All the series start or end when there is data in any series) 1 = DataInAllSeries (All the series start or end when there is data in all series)
3+
4+
% This file is automatically generated using OpenAPI
5+
% Specification version: v1
6+
% MATLAB Generator for OpenAPI version: 1.0.0
7+
8+
9+
properties (Constant)
10+
baseType = "int32"
11+
end
12+
13+
enumeration
14+
DataInAnySeries (int32(0))
15+
DataInAllSeries (int32(1))
16+
end
17+
18+
end %class
19+
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
classdef CalendarMergeMode < MacrobondMATLABAPI.JSONEnum
2+
% CalendarMergeMode 0 = FullCalendar (Include the full range implied by the frequency and weekday settings) 1 = AvailableInAll (Use points in time that are available in all calendars) 2 = AvailableInAny (Use points in time that are available in any calendar)
3+
4+
% This file is automatically generated using OpenAPI
5+
% Specification version: v1
6+
% MATLAB Generator for OpenAPI version: 1.0.0
7+
8+
9+
properties (Constant)
10+
baseType = "int32"
11+
end
12+
13+
enumeration
14+
FullCalendar (int32(0))
15+
AvailableInAll (int32(1))
16+
AvailableInAny (int32(2))
17+
end
18+
19+
end %class
20+
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
classdef DataPackageListResponse < MacrobondMATLABAPI.JSONMapper
2+
% DataPackageListResponse List of entities available in a data package
3+
%
4+
% DataPackageListResponse Properties:
5+
% timeStampForIfModifiedSince - A timestamp to pass as the ifModifiedSince parameter in the next request to get incremental updates - type: datetime
6+
% downloadFullListOnOrAfter - Recommended earliest next time to request a full list by omitting timeStampForIfModifiedSince. - type: datetime
7+
% state - The state of this list. 0 = FullListing (A complete listing of all series. Make another request for full data at some point after timestamp in downloadFullListOnOrAfter.) 1 = UpToDate (The list contains all updates since the specified start date. Wait 15 minutes before making another request where timeStampForIfModifiedSince is used.) 2 = Incomplete (The list might not contain all updates. Wait one minute and then use the timeStampForIfModifiedSince in an a new request.) - type: DataPackageListState
8+
% entities - A list of entity names and timestamps when they were last modified. - type: array of EntityNameWithTimeStamp
9+
10+
% This file is automatically generated using OpenAPI
11+
% Specification version: v1
12+
% MATLAB Generator for OpenAPI version: 1.0.0
13+
14+
15+
% Class properties
16+
properties
17+
% timeStampForIfModifiedSince - A timestamp to pass as the ifModifiedSince parameter in the next request to get incremental updates - type: datetime
18+
timeStampForIfModifiedSince datetime { MacrobondMATLABAPI.JSONMapper.stringDatetime(timeStampForIfModifiedSince,'yyyy-MM-dd''T''HH:mm:ss.SSSZ', 'TimeZone', 'local'), MacrobondMATLABAPI.JSONMapper.fieldName(timeStampForIfModifiedSince,"timeStampForIfModifiedSince") }
19+
% downloadFullListOnOrAfter - Recommended earliest next time to request a full list by omitting timeStampForIfModifiedSince. - type: datetime
20+
downloadFullListOnOrAfter datetime { MacrobondMATLABAPI.JSONMapper.stringDatetime(downloadFullListOnOrAfter,'yyyy-MM-dd''T''HH:mm:ss.SSSZ', 'TimeZone', 'local'), MacrobondMATLABAPI.JSONMapper.fieldName(downloadFullListOnOrAfter,"downloadFullListOnOrAfter") }
21+
% state - The state of this list. 0 = FullListing (A complete listing of all series. Make another request for full data at some point after timestamp in downloadFullListOnOrAfter.) 1 = UpToDate (The list contains all updates since the specified start date. Wait 15 minutes before making another request where timeStampForIfModifiedSince is used.) 2 = Incomplete (The list might not contain all updates. Wait one minute and then use the timeStampForIfModifiedSince in an a new request.) - type: DataPackageListState
22+
state { MacrobondMATLABAPI.JSONMapper.fieldName(state,"state") }
23+
% entities - A list of entity names and timestamps when they were last modified. - type: array of EntityNameWithTimeStamp
24+
entities MacrobondMATLABAPI.models.EntityNameWithTimeStamp { MacrobondMATLABAPI.JSONMapper.fieldName(entities,"entities"), MacrobondMATLABAPI.JSONMapper.JSONArray }
25+
end
26+
27+
% Class methods
28+
methods
29+
% Constructor
30+
function obj = DataPackageListResponse(s,inputs)
31+
% To allow proper nesting of object, derived objects must
32+
% call the JSONMapper constructor from their constructor. This
33+
% also allows objects to be instantiated with Name-Value pairs
34+
% as inputs to set properties to specified values.
35+
arguments
36+
s { MacrobondMATLABAPI.JSONMapper.ConstructorArgument } = []
37+
inputs.?MacrobondMATLABAPI.models.DataPackageListResponse
38+
end
39+
[email protected](s,inputs);
40+
end
41+
end %methods
42+
end %class
43+
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
classdef DataPackageListState < MacrobondMATLABAPI.JSONEnum
2+
% DataPackageListState 0 = FullListing (A complete listing of all series. Make another request for full data at some point after timestamp in downloadFullListOnOrAfter.) 1 = UpToDate (The list contains all updates since the specified start date. Wait 15 minutes before making another request where timeStampForIfModifiedSince is used.) 2 = Incomplete (The list might not contain all updates. Wait one minute and then use the timeStampForIfModifiedSince in an a new request.)
3+
4+
% This file is automatically generated using OpenAPI
5+
% Specification version: v1
6+
% MATLAB Generator for OpenAPI version: 1.0.0
7+
8+
9+
properties (Constant)
10+
baseType = "int32"
11+
end
12+
13+
enumeration
14+
FullListing (int32(0))
15+
UpToDate (int32(1))
16+
Incomplete (int32(2))
17+
end
18+
19+
end %class
20+

0 commit comments

Comments
 (0)