Dataset Viewer
Auto-converted to Parquet Duplicate
id
stringlengths
24
24
repo
stringlengths
8
59
path
stringlengths
11
234
func_name
stringlengths
3
140
url
stringlengths
102
339
split
stringclasses
3 values
language
stringclasses
1 value
docstring
stringlengths
1
34k
code
stringlengths
63
281k
text
stringlengths
101
286k
token_count
int32
22
65.8k
doc_chars
int32
1
34k
code_chars
int32
63
281k
license_basis
stringclasses
1 value
source
stringclasses
1 value
added
stringdate
2026-12-05 00:00:00
2026-12-05 00:00:00
record_sha256
stringlengths
64
64
license
stringclasses
8 values
license_class
stringclasses
1 value
license_source
stringlengths
45
101
5407dc792b0078214665251b
artikcloud/artikcloud-java
src/main/java/cloud/artik/mqtt/MqttSession.java
MqttSession.publish
https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/mqtt/MqttSession.java#L116-L125
train
java
@param qos Quality of Service (0, 1, or 2) used for publishing a message to ARTIK Cloud @param payload the payload of the published message @throws ArtikCloudMqttException
public void publish(int qos, String payload) throws ArtikCloudMqttException { MqttMessage mqttMessage = new MqttMessage(payload.getBytes()); mqttMessage.setQos(qos); // System.out.println("****** Thread: " + Thread.currentThread().getName()+ "; MqttSession publishing : "+ "topic: " + publishTopic...
@param qos Quality of Service (0, 1, or 2) used for publishing a message to ARTIK Cloud @param payload the payload of the published message @throws ArtikCloudMqttException public void publish(int qos, String payload) throws ArtikCloudMqttException { MqttMessage mqttMessage = new MqttMessage(payload.getBytes())...
172
171
591
CodeSearchNet permissive-repo filter (dataset-level; per-row license absent)
code_search_net
2026-12-05
f202407d805e7b883d369a9cc70948a2e450716c181e1a9baa332a459941260a
Apache-2.0
permissive
https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE
320e21f9fa56d1d96806da3f
skuzzle/jeve
jeve/src/main/java/de/skuzzle/jeve/providers/EventStackImpl.java
EventStackImpl.pushEvent
https://github.com/skuzzle/jeve/blob/42cc18947c9c8596c34410336e4e375e9fcd7c47/jeve/src/main/java/de/skuzzle/jeve/providers/EventStackImpl.java#L99-L103
train
java
Pushes the event onto the event stack. This action must be performed immediately before the event is being dispatched. Additionally, after the event has been dispatched, it has to be {@link #popEvent(Event) popped} off the stack again. @param <L> Type of the listener. @param event The event which will be dispatched. @...
public <L extends Listener> void pushEvent(Event<?, L> event) { synchronized (this.stack) { this.stack.push(event); } }
Pushes the event onto the event stack. This action must be performed immediately before the event is being dispatched. Additionally, after the event has been dispatched, it has to be {@link #popEvent(Event) popped} off the stack again. @param <L> Type of the listener. @param event The event which will be dispatched. @...
110
340
151
CodeSearchNet permissive-repo filter (dataset-level; per-row license absent)
code_search_net
2026-12-05
dd27a0aab25ce1c540d80386393c1c599b6c68c7a78a4d298af3677dbf3e9f05
MIT
permissive
https://github.com/skuzzle/jeve/blob/master/LICENSE.md
eec3b29eff668a94661ec98c
skuzzle/jeve
jeve/src/main/java/de/skuzzle/jeve/providers/EventStackImpl.java
EventStackImpl.popEvent
https://github.com/skuzzle/jeve/blob/42cc18947c9c8596c34410336e4e375e9fcd7c47/jeve/src/main/java/de/skuzzle/jeve/providers/EventStackImpl.java#L114-L123
train
java
Pops the top event off the current event stack. This action has to be performed immediately after the event has been dispatched to all listeners. @param <L> Type of the listener. @param expected The Event which is expected at the top of the stack. @see #pushEvent(Event)
public <L extends Listener> void popEvent(Event<?, L> expected) { synchronized (this.stack) { final Event<?, ?> actual = this.stack.pop(); if (actual != expected) { throw new IllegalStateException(String.format( "Unbalanced pop: expected '%s' but e...
Pops the top event off the current event stack. This action has to be performed immediately after the event has been dispatched to all listeners. @param <L> Type of the listener. @param expected The Event which is expected at the top of the stack. @see #pushEvent(Event) public <L extends Listener> void popEvent(Event...
139
271
430
CodeSearchNet permissive-repo filter (dataset-level; per-row license absent)
code_search_net
2026-12-05
a085abd8ee89b913f34c11645df5252a8985c77af70182c8ac70f66aef65c54f
MIT
permissive
https://github.com/skuzzle/jeve/blob/master/LICENSE.md
876f01cf0c2cd16fd3f38b94
artikcloud/artikcloud-java
src/main/java/cloud/artik/api/ExportApi.java
ExportApi.exportRequest
https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/ExportApi.java#L126-L129
train
java
Create Export Request Export normalized messages. The following input combinations are supported:&lt;br/&gt;&lt;table&gt;&lt;tr&gt;&lt;th&gt;Combination&lt;/th&gt;&lt;th&gt;Parameters&lt;/th&gt;&lt;th&gt;Description&lt;/th&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Get by users&lt;/td&gt;&lt;td&gt;uids&lt;/td&gt;&lt;td&gt;Searc...
public ExportRequestResponse exportRequest(ExportRequestInfo exportRequestInfo) throws ApiException { ApiResponse<ExportRequestResponse> resp = exportRequestWithHttpInfo(exportRequestInfo); return resp.getData(); }
Create Export Request Export normalized messages. The following input combinations are supported:&lt;br/&gt;&lt;table&gt;&lt;tr&gt;&lt;th&gt;Combination&lt;/th&gt;&lt;th&gt;Parameters&lt;/th&gt;&lt;th&gt;Description&lt;/th&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Get by users&lt;/td&gt;&lt;td&gt;uids&lt;/td&gt;&lt;td&gt;Searc...
534
1,568
234
CodeSearchNet permissive-repo filter (dataset-level; per-row license absent)
code_search_net
2026-12-05
9e21d4c43a660a8f4cdcbb1ab15916a8cfb6bdc0ade20a54b87d22f7149bce8f
Apache-2.0
permissive
https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE
c27fd4ca8dc76a1f39b9f58e
artikcloud/artikcloud-java
src/main/java/cloud/artik/api/ExportApi.java
ExportApi.exportRequestWithHttpInfo
https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/ExportApi.java#L138-L142
train
java
Create Export Request Export normalized messages. The following input combinations are supported:&lt;br/&gt;&lt;table&gt;&lt;tr&gt;&lt;th&gt;Combination&lt;/th&gt;&lt;th&gt;Parameters&lt;/th&gt;&lt;th&gt;Description&lt;/th&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Get by users&lt;/td&gt;&lt;td&gt;uids&lt;/td&gt;&lt;td&gt;Searc...
public ApiResponse<ExportRequestResponse> exportRequestWithHttpInfo(ExportRequestInfo exportRequestInfo) throws ApiException { com.squareup.okhttp.Call call = exportRequestValidateBeforeCall(exportRequestInfo, null, null); Type localVarReturnType = new TypeToken<ExportRequestResponse>(){}.getType(); ...
Create Export Request Export normalized messages. The following input combinations are supported:&lt;br/&gt;&lt;table&gt;&lt;tr&gt;&lt;th&gt;Combination&lt;/th&gt;&lt;th&gt;Parameters&lt;/th&gt;&lt;th&gt;Description&lt;/th&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Get by users&lt;/td&gt;&lt;td&gt;uids&lt;/td&gt;&lt;td&gt;Searc...
568
1,587
382
CodeSearchNet permissive-repo filter (dataset-level; per-row license absent)
code_search_net
2026-12-05
d60fdbbf6f98868c551eea9e313b7f79ed5a330738c9e7cf515629814c8f371d
Apache-2.0
permissive
https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE
b40346c92ad41458aa353f95
artikcloud/artikcloud-java
src/main/java/cloud/artik/api/ExportApi.java
ExportApi.exportRequestAsync
https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/ExportApi.java#L152-L177
train
java
Create Export Request (asynchronously) Export normalized messages. The following input combinations are supported:&lt;br/&gt;&lt;table&gt;&lt;tr&gt;&lt;th&gt;Combination&lt;/th&gt;&lt;th&gt;Parameters&lt;/th&gt;&lt;th&gt;Description&lt;/th&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Get by users&lt;/td&gt;&lt;td&gt;uids&lt;/td&g...
public com.squareup.okhttp.Call exportRequestAsync(ExportRequestInfo exportRequestInfo, final ApiCallback<ExportRequestResponse> callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; ...
Create Export Request (asynchronously) Export normalized messages. The following input combinations are supported:&lt;br/&gt;&lt;table&gt;&lt;tr&gt;&lt;th&gt;Combination&lt;/th&gt;&lt;th&gt;Parameters&lt;/th&gt;&lt;th&gt;Description&lt;/th&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Get by users&lt;/td&gt;&lt;td&gt;uids&lt;/td&g...
725
1,642
1,313
CodeSearchNet permissive-repo filter (dataset-level; per-row license absent)
code_search_net
2026-12-05
28fcad53823ddff8e6ca28c686738a1503b1a8c4a35566f1925aa9155c29899c
Apache-2.0
permissive
https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE
c845fe1e1d177bd5f6fab7fb
artikcloud/artikcloud-java
src/main/java/cloud/artik/api/ExportApi.java
ExportApi.getExportHistory
https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/ExportApi.java#L247-L250
train
java
Get Export History Get the history of export requests. @param trialId Filter by trialId. (optional) @param count Pagination count. (optional) @param offset Pagination offset. (optional) @return ExportHistoryResponse @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
public ExportHistoryResponse getExportHistory(String trialId, Integer count, Integer offset) throws ApiException { ApiResponse<ExportHistoryResponse> resp = getExportHistoryWithHttpInfo(trialId, count, offset); return resp.getData(); }
Get Export History Get the history of export requests. @param trialId Filter by trialId. (optional) @param count Pagination count. (optional) @param offset Pagination offset. (optional) @return ExportHistoryResponse @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body ...
115
319
255
CodeSearchNet permissive-repo filter (dataset-level; per-row license absent)
code_search_net
2026-12-05
126aae547bbe88b119aff43bf935ea01e0bbdbdbdefe2f0f069bea512ab8a9c4
Apache-2.0
permissive
https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE
6659ce11aa04c9367254e752
artikcloud/artikcloud-java
src/main/java/cloud/artik/api/ExportApi.java
ExportApi.getExportHistoryWithHttpInfo
https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/ExportApi.java#L261-L265
train
java
Get Export History Get the history of export requests. @param trialId Filter by trialId. (optional) @param count Pagination count. (optional) @param offset Pagination offset. (optional) @return ApiResponse&lt;ExportHistoryResponse&gt; @throws ApiException If fail to call the API, e.g. server error or cannot deserialize...
public ApiResponse<ExportHistoryResponse> getExportHistoryWithHttpInfo(String trialId, Integer count, Integer offset) throws ApiException { com.squareup.okhttp.Call call = getExportHistoryValidateBeforeCall(trialId, count, offset, null, null); Type localVarReturnType = new TypeToken<ExportHistoryRespons...
Get Export History Get the history of export requests. @param trialId Filter by trialId. (optional) @param count Pagination count. (optional) @param offset Pagination offset. (optional) @return ApiResponse&lt;ExportHistoryResponse&gt; @throws ApiException If fail to call the API, e.g. server error or cannot deserialize...
149
338
403
CodeSearchNet permissive-repo filter (dataset-level; per-row license absent)
code_search_net
2026-12-05
b5829139115160211228e33c844cbdfe0115fa3987604144fddabd628ef9aeff
Apache-2.0
permissive
https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE
faa38e5ac10e7aa0bd1100bd
artikcloud/artikcloud-java
src/main/java/cloud/artik/api/ExportApi.java
ExportApi.getExportResult
https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/ExportApi.java#L370-L373
train
java
Get Export Result Retrieve result of the export query in tgz format. The tar file may contain one or more files with the results. @param exportId Export ID of the export query. (required) @return String @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
public String getExportResult(String exportId) throws ApiException { ApiResponse<String> resp = getExportResultWithHttpInfo(exportId); return resp.getData(); }
Get Export Result Retrieve result of the export query in tgz format. The tar file may contain one or more files with the results. @param exportId Export ID of the export query. (required) @return String @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body public Strin...
101
306
179
CodeSearchNet permissive-repo filter (dataset-level; per-row license absent)
code_search_net
2026-12-05
b680a88fd76b7c3bb70ddc755d9720fcd29d212818de87e96427d461f2176f9a
Apache-2.0
permissive
https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE
4bc01caf6869152bea9ac793
artikcloud/artikcloud-java
src/main/java/cloud/artik/api/ExportApi.java
ExportApi.getExportResultWithHttpInfo
https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/ExportApi.java#L382-L386
train
java
Get Export Result Retrieve result of the export query in tgz format. The tar file may contain one or more files with the results. @param exportId Export ID of the export query. (required) @return ApiResponse&lt;String&gt; @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response...
public ApiResponse<String> getExportResultWithHttpInfo(String exportId) throws ApiException { com.squareup.okhttp.Call call = getExportResultValidateBeforeCall(exportId, null, null); Type localVarReturnType = new TypeToken<String>(){}.getType(); return apiClient.execute(call, localVarReturnType)...
Get Export Result Retrieve result of the export query in tgz format. The tar file may contain one or more files with the results. @param exportId Export ID of the export query. (required) @return ApiResponse&lt;String&gt; @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response...
134
325
327
CodeSearchNet permissive-repo filter (dataset-level; per-row license absent)
code_search_net
2026-12-05
1bd6c54583c38fb0b2d764ec60d8025d3cd5b11b0148cc7276408bc2d4d8c530
Apache-2.0
permissive
https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE
15a65fa1ff5dc80329ab0d05
skuzzle/jeve
jeve/src/main/java/de/skuzzle/jeve/stores/AbstractSynchronizedListenerSource.java
AbstractSynchronizedListenerSource.modify
https://github.com/skuzzle/jeve/blob/42cc18947c9c8596c34410336e4e375e9fcd7c47/jeve/src/main/java/de/skuzzle/jeve/stores/AbstractSynchronizedListenerSource.java#L48-L55
train
java
Executes the given transaction within the context of a write lock. @param t The transaction to execute.
protected void modify(Transaction t) { try { this.lock.writeLock().lock(); t.perform(); } finally { this.lock.writeLock().unlock(); } }
Executes the given transaction within the context of a write lock. @param t The transaction to execute. protected void modify(Transaction t) { try { this.lock.writeLock().lock(); t.perform(); } finally { this.lock.writeLock().unlock(); } }
58
104
199
CodeSearchNet permissive-repo filter (dataset-level; per-row license absent)
code_search_net
2026-12-05
a5976d8943be1fa4a1ea6f5269a616f0a5927f2a15a4038a896455890e892fd4
MIT
permissive
https://github.com/skuzzle/jeve/blob/master/LICENSE.md
a323956323662fb79c98b38f
skuzzle/jeve
jeve/src/main/java/de/skuzzle/jeve/stores/AbstractSynchronizedListenerSource.java
AbstractSynchronizedListenerSource.read
https://github.com/skuzzle/jeve/blob/42cc18947c9c8596c34410336e4e375e9fcd7c47/jeve/src/main/java/de/skuzzle/jeve/stores/AbstractSynchronizedListenerSource.java#L64-L71
train
java
Executes the given supplier within the context of a read lock. @param <E> The result type. @param sup The supplier. @return The result of {@link Supplier#get()}.
protected <E> E read(Supplier<E> sup) { try { this.lock.readLock().lock(); return sup.get(); } finally { this.lock.readLock().unlock(); } }
Executes the given supplier within the context of a read lock. @param <E> The result type. @param sup The supplier. @return The result of {@link Supplier#get()}. protected <E> E read(Supplier<E> sup) { try { this.lock.readLock().lock(); return sup.get(); } finally { ...
81
162
203
CodeSearchNet permissive-repo filter (dataset-level; per-row license absent)
code_search_net
2026-12-05
4bfc67898d64af1cce30e0f0ac14ab6a5878d2b4a7696b8645ebd0257db22570
MIT
permissive
https://github.com/skuzzle/jeve/blob/master/LICENSE.md
c1f1974a4775bed1eea18024
vnesek/nmote-iim4j
src/main/java/com/nmote/iim4j/stream/SubIIMInputStream.java
SubIIMInputStream.setOffsetAndLength
https://github.com/vnesek/nmote-iim4j/blob/ec55b02fc644cd722e93051ac0bdb96b00cb42a8/src/main/java/com/nmote/iim4j/stream/SubIIMInputStream.java#L64-L72
train
java
This should be called from a subclass constructor, if offset or length are unknown at a time when SubIIMInputStream constructor is called. This method shouldn't be called more than once. @param offset byte offset @param length byte length @throws IOException if underlying stream can't be read
protected void setOffsetAndLength(long offset, int length) throws IOException { this.offset = offset; this.length = length; this.position = 0; if (subStream.position() != offset) { subStream.seek(offset); } }
This should be called from a subclass constructor, if offset or length are unknown at a time when SubIIMInputStream constructor is called. This method shouldn't be called more than once. @param offset byte offset @param length byte length @throws IOException if underlying stream can't be read protected void setOffset...
119
294
231
CodeSearchNet permissive-repo filter (dataset-level; per-row license absent)
code_search_net
2026-12-05
fa843b454c31fbc419b0e996269c0628663a90a582e5b0e44888885a8c6c4324
BSD-3-Clause
permissive
https://github.com/vnesek/nmote-iim4j/blob/master/LICENSE.txt
5c0444ac96e0369617a121d1
hyleung/ratpack-zipkin
src/main/java/ratpack/zipkin/internal/RatpackCurrentTraceContext.java
RatpackCurrentTraceContext.wrap
https://github.com/hyleung/ratpack-zipkin/blob/3c9e4b05e3f5fab034c1f7832fffce8a55c311d3/src/main/java/ratpack/zipkin/internal/RatpackCurrentTraceContext.java#L64-L67
train
java
Used by TracedParallelBatch where its used to wrap a TraceContext and puts it in the registry for the forked execution. This is marked deprecated as we prefer not to expose details of the RatpackCurrentTraceContext implementation. @param traceContext a trace context. @return a holder for the trace context, which can ...
@Deprecated public static TraceContextHolder wrap(TraceContext traceContext) { return (traceContext != null) ? new TraceContextHolder(traceContext) : TraceContextHolder.EMPTY; }
Used by TracedParallelBatch where its used to wrap a TraceContext and puts it in the registry for the forked execution. This is marked deprecated as we prefer not to expose details of the RatpackCurrentTraceContext implementation. @param traceContext a trace context. @return a holder for the trace context, which can ...
111
345
185
CodeSearchNet permissive-repo filter (dataset-level; per-row license absent)
code_search_net
2026-12-05
9b08c9c5c4a76a9541f9ff4688ae56346c30b0e31969f5156d99ee8a6f201b06
Apache-2.0
permissive
https://github.com/hyleung/ratpack-zipkin/blob/master/LICENSE
adb36353b523d913ba316766
artikcloud/artikcloud-java
src/main/java/cloud/artik/api/WhitelistingApi.java
WhitelistingApi.deleteVdid
https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/WhitelistingApi.java#L137-L140
train
java
Delete a vdid from the devicetype whitelist. Delete a vdid from the devicetype whitelist. @param dtid Device Type ID. (required) @param vdid Vendor Device ID. (required) @return WhitelistEnvelope @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
public WhitelistEnvelope deleteVdid(String dtid, String vdid) throws ApiException { ApiResponse<WhitelistEnvelope> resp = deleteVdidWithHttpInfo(dtid, vdid); return resp.getData(); }
Delete a vdid from the devicetype whitelist. Delete a vdid from the devicetype whitelist. @param dtid Device Type ID. (required) @param vdid Vendor Device ID. (required) @return WhitelistEnvelope @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body public WhitelistEnv...
115
299
202
CodeSearchNet permissive-repo filter (dataset-level; per-row license absent)
code_search_net
2026-12-05
6d9e093bf9c23e3a71d1139b61c7e81afe593853bc0207136cff1abbd66d2f17
Apache-2.0
permissive
https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE
9f007c084c5b5b7468ad15f6
artikcloud/artikcloud-java
src/main/java/cloud/artik/api/WhitelistingApi.java
WhitelistingApi.deleteVdidWithHttpInfo
https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/WhitelistingApi.java#L150-L154
train
java
Delete a vdid from the devicetype whitelist. Delete a vdid from the devicetype whitelist. @param dtid Device Type ID. (required) @param vdid Vendor Device ID. (required) @return ApiResponse&lt;WhitelistEnvelope&gt; @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
public ApiResponse<WhitelistEnvelope> deleteVdidWithHttpInfo(String dtid, String vdid) throws ApiException { com.squareup.okhttp.Call call = deleteVdidValidateBeforeCall(dtid, vdid, null, null); Type localVarReturnType = new TypeToken<WhitelistEnvelope>(){}.getType(); return apiClient.execute(ca...
Delete a vdid from the devicetype whitelist. Delete a vdid from the devicetype whitelist. @param dtid Device Type ID. (required) @param vdid Vendor Device ID. (required) @return ApiResponse&lt;WhitelistEnvelope&gt; @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body ...
149
318
350
CodeSearchNet permissive-repo filter (dataset-level; per-row license absent)
code_search_net
2026-12-05
ae254ad434fa87c154882a82a3e924707ecc3577f40c27f3521ac34750a2caca
Apache-2.0
permissive
https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE
ab82fff045ed54dff72cd17e
artikcloud/artikcloud-java
src/main/java/cloud/artik/api/WhitelistingApi.java
WhitelistingApi.deleteWhitelistCertificate
https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/WhitelistingApi.java#L265-L268
train
java
Delete a whitelist certificate associated with a devicetype. Delete a whitelist certificate associated with a devicetype. @param dtid Device Type ID. (required) @param cid Certificate ID. (required) @return WhitelistEnvelope @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the respo...
public WhitelistEnvelope deleteWhitelistCertificate(String dtid, String cid) throws ApiException { ApiResponse<WhitelistEnvelope> resp = deleteWhitelistCertificateWithHttpInfo(dtid, cid); return resp.getData(); }
Delete a whitelist certificate associated with a devicetype. Delete a whitelist certificate associated with a devicetype. @param dtid Device Type ID. (required) @param cid Certificate ID. (required) @return WhitelistEnvelope @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the respo...
113
328
232
CodeSearchNet permissive-repo filter (dataset-level; per-row license absent)
code_search_net
2026-12-05
96bd2f3f0f0bc34d570e0b8457588f1a3a8cce95e39a8acd43d20c38706df2d2
Apache-2.0
permissive
https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE
4edcf09d20f1bbd9de150ebb
artikcloud/artikcloud-java
src/main/java/cloud/artik/api/WhitelistingApi.java
WhitelistingApi.deleteWhitelistCertificateWithHttpInfo
https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/WhitelistingApi.java#L278-L282
train
java
Delete a whitelist certificate associated with a devicetype. Delete a whitelist certificate associated with a devicetype. @param dtid Device Type ID. (required) @param cid Certificate ID. (required) @return ApiResponse&lt;WhitelistEnvelope&gt; @throws ApiException If fail to call the API, e.g. server error or cannot de...
public ApiResponse<WhitelistEnvelope> deleteWhitelistCertificateWithHttpInfo(String dtid, String cid) throws ApiException { com.squareup.okhttp.Call call = deleteWhitelistCertificateValidateBeforeCall(dtid, cid, null, null); Type localVarReturnType = new TypeToken<WhitelistEnvelope>(){}.getType(); ...
Delete a whitelist certificate associated with a devicetype. Delete a whitelist certificate associated with a devicetype. @param dtid Device Type ID. (required) @param cid Certificate ID. (required) @return ApiResponse&lt;WhitelistEnvelope&gt; @throws ApiException If fail to call the API, e.g. server error or cannot de...
147
347
380
CodeSearchNet permissive-repo filter (dataset-level; per-row license absent)
code_search_net
2026-12-05
5132874da423ea05bcd453307d984466fdc624018adb99fb3ed23049075d64ac
Apache-2.0
permissive
https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE
edccbff2ccb02f5325c21c9f
artikcloud/artikcloud-java
src/main/java/cloud/artik/api/WhitelistingApi.java
WhitelistingApi.enableWhitelist
https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/WhitelistingApi.java#L392-L395
train
java
Enable or disble whitelist feature of a device type Enable or disble whitelist feature of a device type @param dtid Device Type ID. (required) @param deviceTypeUpdateInfo Device type update input. (required) @return WhitelistEnvelope @throws ApiException If fail to call the API, e.g. server error or cannot deserialize ...
public WhitelistEnvelope enableWhitelist(String dtid, DeviceTypeUpdateInput deviceTypeUpdateInfo) throws ApiException { ApiResponse<WhitelistEnvelope> resp = enableWhitelistWithHttpInfo(dtid, deviceTypeUpdateInfo); return resp.getData(); }
Enable or disble whitelist feature of a device type Enable or disble whitelist feature of a device type @param dtid Device Type ID. (required) @param deviceTypeUpdateInfo Device type update input. (required) @return WhitelistEnvelope @throws ApiException If fail to call the API, e.g. server error or cannot deserialize ...
125
337
259
CodeSearchNet permissive-repo filter (dataset-level; per-row license absent)
code_search_net
2026-12-05
2c5e5caa21d51c37d062687307c2e8d8d5a55c0009727bd2fb0792d78b476a4d
Apache-2.0
permissive
https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE
5709f23743ef9e101bb85db0
artikcloud/artikcloud-java
src/main/java/cloud/artik/api/WhitelistingApi.java
WhitelistingApi.enableWhitelistWithHttpInfo
https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/WhitelistingApi.java#L405-L409
train
java
Enable or disble whitelist feature of a device type Enable or disble whitelist feature of a device type @param dtid Device Type ID. (required) @param deviceTypeUpdateInfo Device type update input. (required) @return ApiResponse&lt;WhitelistEnvelope&gt; @throws ApiException If fail to call the API, e.g. server error or ...
public ApiResponse<WhitelistEnvelope> enableWhitelistWithHttpInfo(String dtid, DeviceTypeUpdateInput deviceTypeUpdateInfo) throws ApiException { com.squareup.okhttp.Call call = enableWhitelistValidateBeforeCall(dtid, deviceTypeUpdateInfo, null, null); Type localVarReturnType = new TypeToken<WhitelistEnv...
Enable or disble whitelist feature of a device type Enable or disble whitelist feature of a device type @param dtid Device Type ID. (required) @param deviceTypeUpdateInfo Device type update input. (required) @return ApiResponse&lt;WhitelistEnvelope&gt; @throws ApiException If fail to call the API, e.g. server error or ...
159
356
407
CodeSearchNet permissive-repo filter (dataset-level; per-row license absent)
code_search_net
2026-12-05
6886f29a10eb3760a2ccea667787e9ed80d7e0220394803507f95c52bd481478
Apache-2.0
permissive
https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE
7ceed7e79fd9d594aae91af2
artikcloud/artikcloud-java
src/main/java/cloud/artik/api/WhitelistingApi.java
WhitelistingApi.getRejectedRowList
https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/WhitelistingApi.java#L526-L529
train
java
Get the list of rejected rows for an uploaded CSV file. Get the list of rejected rows for an uploaded CSV file. @param dtid Device type id related to the uploaded CSV file. (required) @param uploadId Upload id related to the uploaded CSV file. (required) @param count Max results count. (optional) @param offset Result s...
public RejectedCSVRowsEnvelope getRejectedRowList(String dtid, String uploadId, Integer count, Integer offset) throws ApiException { ApiResponse<RejectedCSVRowsEnvelope> resp = getRejectedRowListWithHttpInfo(dtid, uploadId, count, offset); return resp.getData(); }
Get the list of rejected rows for an uploaded CSV file. Get the list of rejected rows for an uploaded CSV file. @param dtid Device type id related to the uploaded CSV file. (required) @param uploadId Upload id related to the uploaded CSV file. (required) @param count Max results count. (optional) @param offset Result s...
163
482
284
CodeSearchNet permissive-repo filter (dataset-level; per-row license absent)
code_search_net
2026-12-05
4061707b66291fafa3a8353f371dce8480a344093b14cf6f7367bb8218fd5b66
Apache-2.0
permissive
https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE
b8516f4700b58616f3127690
artikcloud/artikcloud-java
src/main/java/cloud/artik/api/WhitelistingApi.java
WhitelistingApi.getRejectedRowListWithHttpInfo
https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/WhitelistingApi.java#L541-L545
train
java
Get the list of rejected rows for an uploaded CSV file. Get the list of rejected rows for an uploaded CSV file. @param dtid Device type id related to the uploaded CSV file. (required) @param uploadId Upload id related to the uploaded CSV file. (required) @param count Max results count. (optional) @param offset Result s...
public ApiResponse<RejectedCSVRowsEnvelope> getRejectedRowListWithHttpInfo(String dtid, String uploadId, Integer count, Integer offset) throws ApiException { com.squareup.okhttp.Call call = getRejectedRowListValidateBeforeCall(dtid, uploadId, count, offset, null, null); Type localVarReturnType = new Typ...
Get the list of rejected rows for an uploaded CSV file. Get the list of rejected rows for an uploaded CSV file. @param dtid Device type id related to the uploaded CSV file. (required) @param uploadId Upload id related to the uploaded CSV file. (required) @param count Max results count. (optional) @param offset Result s...
195
501
432
CodeSearchNet permissive-repo filter (dataset-level; per-row license absent)
code_search_net
2026-12-05
3e6fbfa47805445b5a772c7ec4009a9b130e9fb2f793658a036c9baac17cedec
Apache-2.0
permissive
https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE
7fb94a3ce281d8fa9dcf131b
artikcloud/artikcloud-java
src/main/java/cloud/artik/api/WhitelistingApi.java
WhitelistingApi.getUploadStatus
https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/WhitelistingApi.java#L658-L661
train
java
Get the status of a uploaded CSV file. Get the status of a uploaded CSV file. @param dtid Device type id related to the uploaded CSV file. (required) @param uploadId Upload id related to the uploaded CSV file. (required) @return UploadStatusEnvelope @throws ApiException If fail to call the API, e.g. server error or can...
public UploadStatusEnvelope getUploadStatus(String dtid, String uploadId) throws ApiException { ApiResponse<UploadStatusEnvelope> resp = getUploadStatusWithHttpInfo(dtid, uploadId); return resp.getData(); }
Get the status of a uploaded CSV file. Get the status of a uploaded CSV file. @param dtid Device type id related to the uploaded CSV file. (required) @param uploadId Upload id related to the uploaded CSV file. (required) @return UploadStatusEnvelope @throws ApiException If fail to call the API, e.g. server error or can...
122
353
226
CodeSearchNet permissive-repo filter (dataset-level; per-row license absent)
code_search_net
2026-12-05
35c138741d9e6b95f4874f66b384062284edf052c2510a73d8971fcd2c2a4ca0
Apache-2.0
permissive
https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE
db40b98cad2c3f3ffb1b1c9d
artikcloud/artikcloud-java
src/main/java/cloud/artik/api/WhitelistingApi.java
WhitelistingApi.getUploadStatusWithHttpInfo
https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/WhitelistingApi.java#L671-L675
train
java
Get the status of a uploaded CSV file. Get the status of a uploaded CSV file. @param dtid Device type id related to the uploaded CSV file. (required) @param uploadId Upload id related to the uploaded CSV file. (required) @return ApiResponse&lt;UploadStatusEnvelope&gt; @throws ApiException If fail to call the API, e.g. ...
public ApiResponse<UploadStatusEnvelope> getUploadStatusWithHttpInfo(String dtid, String uploadId) throws ApiException { com.squareup.okhttp.Call call = getUploadStatusValidateBeforeCall(dtid, uploadId, null, null); Type localVarReturnType = new TypeToken<UploadStatusEnvelope>(){}.getType(); ret...
Get the status of a uploaded CSV file. Get the status of a uploaded CSV file. @param dtid Device type id related to the uploaded CSV file. (required) @param uploadId Upload id related to the uploaded CSV file. (required) @return ApiResponse&lt;UploadStatusEnvelope&gt; @throws ApiException If fail to call the API, e.g. ...
156
372
374
CodeSearchNet permissive-repo filter (dataset-level; per-row license absent)
code_search_net
2026-12-05
0f878761e060473dc785c9ca6120f0d1db6619067bd8f586b7f46c63fa852500
Apache-2.0
permissive
https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE
ae8e6c5ca08faf07509bbbe6
artikcloud/artikcloud-java
src/main/java/cloud/artik/api/WhitelistingApi.java
WhitelistingApi.getWhitelist
https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/WhitelistingApi.java#L785-L788
train
java
Get whitelisted vdids of a device type. Get whitelisted vdids of a device type. @param dtid Device Type ID. (required) @param count Max results count. (optional) @param offset Result starting offset. (optional) @return WhitelistResultEnvelope @throws ApiException If fail to call the API, e.g. server error or cannot des...
public WhitelistResultEnvelope getWhitelist(String dtid, Integer count, Integer offset) throws ApiException { ApiResponse<WhitelistResultEnvelope> resp = getWhitelistWithHttpInfo(dtid, count, offset); return resp.getData(); }
Get whitelisted vdids of a device type. Get whitelisted vdids of a device type. @param dtid Device Type ID. (required) @param count Max results count. (optional) @param offset Result starting offset. (optional) @return WhitelistResultEnvelope @throws ApiException If fail to call the API, e.g. server error or cannot des...
129
346
245
CodeSearchNet permissive-repo filter (dataset-level; per-row license absent)
code_search_net
2026-12-05
55176000a14f79b96fd5772bd24dae6f52daa92732a92b85d9f322140d5fb9c1
Apache-2.0
permissive
https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE
dd988e917163bc2a549a01ff
artikcloud/artikcloud-java
src/main/java/cloud/artik/api/WhitelistingApi.java
WhitelistingApi.getWhitelistWithHttpInfo
https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/WhitelistingApi.java#L799-L803
train
java
Get whitelisted vdids of a device type. Get whitelisted vdids of a device type. @param dtid Device Type ID. (required) @param count Max results count. (optional) @param offset Result starting offset. (optional) @return ApiResponse&lt;WhitelistResultEnvelope&gt; @throws ApiException If fail to call the API, e.g. server ...
public ApiResponse<WhitelistResultEnvelope> getWhitelistWithHttpInfo(String dtid, Integer count, Integer offset) throws ApiException { com.squareup.okhttp.Call call = getWhitelistValidateBeforeCall(dtid, count, offset, null, null); Type localVarReturnType = new TypeToken<WhitelistResultEnvelope>(){}.get...
Get whitelisted vdids of a device type. Get whitelisted vdids of a device type. @param dtid Device Type ID. (required) @param count Max results count. (optional) @param offset Result starting offset. (optional) @return ApiResponse&lt;WhitelistResultEnvelope&gt; @throws ApiException If fail to call the API, e.g. server ...
163
365
393
CodeSearchNet permissive-repo filter (dataset-level; per-row license absent)
code_search_net
2026-12-05
e215961e769526e69fe84ce2882898fbebdbe515b488ecfbb8a1456e1784d1e1
Apache-2.0
permissive
https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE
514a542a6608d36e5580682a
artikcloud/artikcloud-java
src/main/java/cloud/artik/api/WhitelistingApi.java
WhitelistingApi.getWhitelistCertificate
https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/WhitelistingApi.java#L908-L911
train
java
Get whitelist certificate of device type. Get whitelist certificate of device type. @param dtid Device Type ID. (required) @return CertificateEnvelope @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
public CertificateEnvelope getWhitelistCertificate(String dtid) throws ApiException { ApiResponse<CertificateEnvelope> resp = getWhitelistCertificateWithHttpInfo(dtid); return resp.getData(); }
Get whitelist certificate of device type. Get whitelist certificate of device type. @param dtid Device Type ID. (required) @return CertificateEnvelope @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body public CertificateEnvelope getWhitelistCertificate(String dtid) ...
89
254
213
CodeSearchNet permissive-repo filter (dataset-level; per-row license absent)
code_search_net
2026-12-05
71bf4acf5558e3dda2c82a53cdde2c3ec3d8603cfd0d761a71fa29f588690ddc
Apache-2.0
permissive
https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE
4690a45d99d9c459fdddde41
artikcloud/artikcloud-java
src/main/java/cloud/artik/api/WhitelistingApi.java
WhitelistingApi.getWhitelistCertificateWithHttpInfo
https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/WhitelistingApi.java#L920-L924
train
java
Get whitelist certificate of device type. Get whitelist certificate of device type. @param dtid Device Type ID. (required) @return ApiResponse&lt;CertificateEnvelope&gt; @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
public ApiResponse<CertificateEnvelope> getWhitelistCertificateWithHttpInfo(String dtid) throws ApiException { com.squareup.okhttp.Call call = getWhitelistCertificateValidateBeforeCall(dtid, null, null); Type localVarReturnType = new TypeToken<CertificateEnvelope>(){}.getType(); return apiClient...
Get whitelist certificate of device type. Get whitelist certificate of device type. @param dtid Device Type ID. (required) @return ApiResponse&lt;CertificateEnvelope&gt; @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body public ApiResponse<CertificateEnvelope> getWh...
123
273
361
CodeSearchNet permissive-repo filter (dataset-level; per-row license absent)
code_search_net
2026-12-05
662912e0a2f71e4cba0934a75774387f970b60075adf261bdc98217d9f711140
Apache-2.0
permissive
https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE
3b33544dfa37f0b90b140f90
artikcloud/artikcloud-java
src/main/java/cloud/artik/api/WhitelistingApi.java
WhitelistingApi.getWhitelistStatus
https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/WhitelistingApi.java#L1027-L1030
train
java
Get the status of whitelist feature (enabled/disabled) of a device type. Get the status of whitelist feature (enabled/disabled) of a device type. @param dtid Device Type ID. (required) @return WhitelistEnvelope @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
public WhitelistEnvelope getWhitelistStatus(String dtid) throws ApiException { ApiResponse<WhitelistEnvelope> resp = getWhitelistStatusWithHttpInfo(dtid); return resp.getData(); }
Get the status of whitelist feature (enabled/disabled) of a device type. Get the status of whitelist feature (enabled/disabled) of a device type. @param dtid Device Type ID. (required) @return WhitelistEnvelope @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body publ...
110
314
199
CodeSearchNet permissive-repo filter (dataset-level; per-row license absent)
code_search_net
2026-12-05
048996d16cd142c33d199b6bfb1fde60a2406a50be3a508e174bb178b1887ae1
Apache-2.0
permissive
https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE
06c952a0fc9301b0b637c0ae
artikcloud/artikcloud-java
src/main/java/cloud/artik/api/WhitelistingApi.java
WhitelistingApi.getWhitelistStatusWithHttpInfo
https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/WhitelistingApi.java#L1039-L1043
train
java
Get the status of whitelist feature (enabled/disabled) of a device type. Get the status of whitelist feature (enabled/disabled) of a device type. @param dtid Device Type ID. (required) @return ApiResponse&lt;WhitelistEnvelope&gt; @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the ...
public ApiResponse<WhitelistEnvelope> getWhitelistStatusWithHttpInfo(String dtid) throws ApiException { com.squareup.okhttp.Call call = getWhitelistStatusValidateBeforeCall(dtid, null, null); Type localVarReturnType = new TypeToken<WhitelistEnvelope>(){}.getType(); return apiClient.execute(call,...
Get the status of whitelist feature (enabled/disabled) of a device type. Get the status of whitelist feature (enabled/disabled) of a device type. @param dtid Device Type ID. (required) @return ApiResponse&lt;WhitelistEnvelope&gt; @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the ...
144
333
347
CodeSearchNet permissive-repo filter (dataset-level; per-row license absent)
code_search_net
2026-12-05
5f97f0c7c247889b1f19e89a76b2e76559970e0dad3aacc2f69aaaf703fcc4e2
Apache-2.0
permissive
https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE
1790703833e9c9569548e66c
artikcloud/artikcloud-java
src/main/java/cloud/artik/api/WhitelistingApi.java
WhitelistingApi.uploadCSV
https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/WhitelistingApi.java#L1152-L1155
train
java
Upload a CSV file related to the Device Type. Upload a CSV file related to the Device Type. @param dtid Device Type ID. (required) @param file Device Type ID. (required) @return UploadIdEnvelope @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
public UploadIdEnvelope uploadCSV(String dtid, byte[] file) throws ApiException { ApiResponse<UploadIdEnvelope> resp = uploadCSVWithHttpInfo(dtid, file); return resp.getData(); }
Upload a CSV file related to the Device Type. Upload a CSV file related to the Device Type. @param dtid Device Type ID. (required) @param file Device Type ID. (required) @return UploadIdEnvelope @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body public UploadIdEnvel...
109
298
198
CodeSearchNet permissive-repo filter (dataset-level; per-row license absent)
code_search_net
2026-12-05
b5c2e94d709072ebba7f9f4ad75cfb1cefc87a1e70cd77a2411f499aa6d5a93d
Apache-2.0
permissive
https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE
314bd9881d6e956a2f30dae3
artikcloud/artikcloud-java
src/main/java/cloud/artik/api/WhitelistingApi.java
WhitelistingApi.uploadCSVWithHttpInfo
https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/WhitelistingApi.java#L1165-L1169
train
java
Upload a CSV file related to the Device Type. Upload a CSV file related to the Device Type. @param dtid Device Type ID. (required) @param file Device Type ID. (required) @return ApiResponse&lt;UploadIdEnvelope&gt; @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
public ApiResponse<UploadIdEnvelope> uploadCSVWithHttpInfo(String dtid, byte[] file) throws ApiException { com.squareup.okhttp.Call call = uploadCSVValidateBeforeCall(dtid, file, null, null); Type localVarReturnType = new TypeToken<UploadIdEnvelope>(){}.getType(); return apiClient.execute(call, ...
Upload a CSV file related to the Device Type. Upload a CSV file related to the Device Type. @param dtid Device Type ID. (required) @param file Device Type ID. (required) @return ApiResponse&lt;UploadIdEnvelope&gt; @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body p...
143
317
346
CodeSearchNet permissive-repo filter (dataset-level; per-row license absent)
code_search_net
2026-12-05
c46c1cb1ccc1b115849d1cbe0384958713bd99f03526351dcc47657ce6dc30bf
Apache-2.0
permissive
https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE
3e249e1bbb9da4a0c5f9f72c
skuzzle/jeve
jeve/src/main/java/de/skuzzle/jeve/ExceptionCallbacks.java
ExceptionCallbacks.ignore
https://github.com/skuzzle/jeve/blob/42cc18947c9c8596c34410336e4e375e9fcd7c47/jeve/src/main/java/de/skuzzle/jeve/ExceptionCallbacks.java#L28-L35
train
java
The default {@link ExceptionCallback} which simply logs any failure but takes no further action. @return The callback.
public static ExceptionCallback ignore() { return new ExceptionCallback() { @Override public void exception(FailedEventInvocation invocation) { FailedEventInvocation.log(LOG, invocation); } }; }
The default {@link ExceptionCallback} which simply logs any failure but takes no further action. @return The callback. public static ExceptionCallback ignore() { return new ExceptionCallback() { @Override public void exception(FailedEventInvocation invocation) { FailedE...
67
119
266
CodeSearchNet permissive-repo filter (dataset-level; per-row license absent)
code_search_net
2026-12-05
3d1097125705f8ef4154d037c34c8fec65affc87fa06dd9833768fbed473253b
MIT
permissive
https://github.com/skuzzle/jeve/blob/master/LICENSE.md
2f6110412a262150e67e477f
skuzzle/jeve
jeve/src/main/java/de/skuzzle/jeve/ExceptionCallbacks.java
ExceptionCallbacks.stopOnError
https://github.com/skuzzle/jeve/blob/42cc18947c9c8596c34410336e4e375e9fcd7c47/jeve/src/main/java/de/skuzzle/jeve/ExceptionCallbacks.java#L44-L52
train
java
The callback will set the Event's {@link Event#isHandled() handled} flag to <code>true</code> to gracefully stop the delegation process when an exception occurs. Like {@link #ignore()}, the exception will be logged. @return The callback.
public static ExceptionCallback stopOnError() { return new ExceptionCallback() { @Override public void exception(FailedEventInvocation invocation) { FailedEventInvocation.log(LOG, invocation); invocation.getEvent().setHandled(true); } }...
The callback will set the Event's {@link Event#isHandled() handled} flag to <code>true</code> to gracefully stop the delegation process when an exception occurs. Like {@link #ignore()}, the exception will be logged. @return The callback. public static ExceptionCallback stopOnError() { return new ExceptionCall...
107
238
327
CodeSearchNet permissive-repo filter (dataset-level; per-row license absent)
code_search_net
2026-12-05
df300f072e64838178613ba2c4e339823a697305f236c301bc4151ff59fad346
MIT
permissive
https://github.com/skuzzle/jeve/blob/master/LICENSE.md
1fc7c4cf2ba6bdd09f6b780f
skuzzle/jeve
jeve/src/main/java/de/skuzzle/jeve/ExceptionCallbacks.java
ExceptionCallbacks.failOnError
https://github.com/skuzzle/jeve/blob/42cc18947c9c8596c34410336e4e375e9fcd7c47/jeve/src/main/java/de/skuzzle/jeve/ExceptionCallbacks.java#L61-L68
train
java
The callback will convert the occurred exception into an {@link AbortionException} and then throw it. This stops the delegation process with delegating the exception to the dispatcher of the event. @return The callback.
public static ExceptionCallback failOnError() { return new ExceptionCallback() { @Override public void exception(FailedEventInvocation invocation) { throw new AbortionException(invocation.getException()); } }; }
The callback will convert the occurred exception into an {@link AbortionException} and then throw it. This stops the delegation process with delegating the exception to the dispatcher of the event. @return The callback. public static ExceptionCallback failOnError() { return new ExceptionCallback() { ...
90
220
283
CodeSearchNet permissive-repo filter (dataset-level; per-row license absent)
code_search_net
2026-12-05
9238730ff7d0d7944ca51c119f5a783d3a320104b985fa93a8bf2bcd5f79229c
MIT
permissive
https://github.com/skuzzle/jeve/blob/master/LICENSE.md
ff5c631cda16f34cdb471fb7
skuzzle/jeve
jeve/src/main/java/de/skuzzle/jeve/Event.java
Event.getValue
https://github.com/skuzzle/jeve/blob/42cc18947c9c8596c34410336e4e375e9fcd7c47/jeve/src/main/java/de/skuzzle/jeve/Event.java#L120-L126
train
java
Returns a value that has been stored using {@link #setValue(String, Object)}. As this method is generic, the value will automatically be casted to the target type of the expression in which this method is called. So this method has to be used with caution in respect to type safety. @param <E> Type of the resulting val...
@SuppressWarnings("unchecked") public <E> Optional<E> getValue(String key) { if (this.properties == null) { return Optional.empty(); } return Optional.ofNullable((E) getProperties().get(key)); }
Returns a value that has been stored using {@link #setValue(String, Object)}. As this method is generic, the value will automatically be casted to the target type of the expression in which this method is called. So this method has to be used with caution in respect to type safety. @param <E> Type of the resulting val...
163
481
238
CodeSearchNet permissive-repo filter (dataset-level; per-row license absent)
code_search_net
2026-12-05
8c6b34c81a3641f755e87dc2ae22fefec89609996caf2159845eaa46e9993aa5
MIT
permissive
https://github.com/skuzzle/jeve/blob/master/LICENSE.md
f812356ce50e4ae6a80ed2c2
skuzzle/jeve
jeve/src/main/java/de/skuzzle/jeve/Event.java
Event.getValueAs
https://github.com/skuzzle/jeve/blob/42cc18947c9c8596c34410336e4e375e9fcd7c47/jeve/src/main/java/de/skuzzle/jeve/Event.java#L139-L144
train
java
Returns a value that has been stored using {@link #setValue(String, Object)}. The value will be casted to the given type. @param <E> Type of the resulting value. @param key The key of the value to retrieve. @param type The type that the value will be casted to. @return The value or an empty optional if the value does ...
public <E> Optional<E> getValueAs(String key, Class<E> type) { if (this.properties == null) { return Optional.empty(); } return Optional.ofNullable(type.cast(getProperties().get(key))); }
Returns a value that has been stored using {@link #setValue(String, Object)}. The value will be casted to the given type. @param <E> Type of the resulting value. @param key The key of the value to retrieve. @param type The type that the value will be casted to. @return The value or an empty optional if the value does ...
131
353
227
CodeSearchNet permissive-repo filter (dataset-level; per-row license absent)
code_search_net
2026-12-05
131c7d788b46bc56cfd2cb33b8647873fd0557943a8c06a7cda96cb019aaf0d2
MIT
permissive
https://github.com/skuzzle/jeve/blob/master/LICENSE.md
ea285bda41f5683dfad294a6
skuzzle/jeve
jeve/src/it/java/de/skuzzle/jeve/SynchronousEventProviderIT.java
SynchronousEventProviderIT.getParameters
https://github.com/skuzzle/jeve/blob/42cc18947c9c8596c34410336e4e375e9fcd7c47/jeve/src/it/java/de/skuzzle/jeve/SynchronousEventProviderIT.java#L29-L41
train
java
Parameterizes the test instances. @return Collection of parameters for the constructor of {@link EventProviderTestBase}.
@Parameters public static final Collection<Object[]> getParameters() { return Arrays.asList( new Object[] { (Function<ListenerStore, ? extends EventProvider>) SequentialEventProvider::new, (Supplier<ListenerStore>) DefaultListenerStore::create ...
Parameterizes the test instances. @return Collection of parameters for the constructor of {@link EventProviderTestBase}. @Parameters public static final Collection<Object[]> getParameters() { return Arrays.asList( new Object[] { (Function<ListenerStore, ? extends Ev...
122
121
605
CodeSearchNet permissive-repo filter (dataset-level; per-row license absent)
code_search_net
2026-12-05
ea671a0819c3b28cc03d52c0992926d103827f39f041472f8ff3160b18f22214
MIT
permissive
https://github.com/skuzzle/jeve/blob/master/LICENSE.md
8a2877dec6c6e46592d93020
artikcloud/artikcloud-java
src/main/java/cloud/artik/api/DevicesSharesApi.java
DevicesSharesApi.createShareForDevice
https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/DevicesSharesApi.java#L133-L136
train
java
Share a device Share a device @param deviceId Device ID. (required) @param deviceShareInfo Device object that needs to be added (required) @return DeviceSharingId @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
public DeviceSharingId createShareForDevice(String deviceId, DeviceShareInfo deviceShareInfo) throws ApiException { ApiResponse<DeviceSharingId> resp = createShareForDeviceWithHttpInfo(deviceId, deviceShareInfo); return resp.getData(); }
Share a device Share a device @param deviceId Device ID. (required) @param deviceShareInfo Device object that needs to be added (required) @return DeviceSharingId @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body public DeviceSharingId createShareForDevice(String d...
108
266
257
CodeSearchNet permissive-repo filter (dataset-level; per-row license absent)
code_search_net
2026-12-05
06d12b3681857c07920f4c8e99069f79437f98f3bb38b5cbb7fad559d37e1ce4
Apache-2.0
permissive
https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE
fd321a119f5afb43b80cdcb7
artikcloud/artikcloud-java
src/main/java/cloud/artik/api/DevicesSharesApi.java
DevicesSharesApi.createShareForDeviceWithHttpInfo
https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/DevicesSharesApi.java#L146-L150
train
java
Share a device Share a device @param deviceId Device ID. (required) @param deviceShareInfo Device object that needs to be added (required) @return ApiResponse&lt;DeviceSharingId&gt; @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
public ApiResponse<DeviceSharingId> createShareForDeviceWithHttpInfo(String deviceId, DeviceShareInfo deviceShareInfo) throws ApiException { com.squareup.okhttp.Call call = createShareForDeviceValidateBeforeCall(deviceId, deviceShareInfo, null, null); Type localVarReturnType = new TypeToken<DeviceSharin...
Share a device Share a device @param deviceId Device ID. (required) @param deviceShareInfo Device object that needs to be added (required) @return ApiResponse&lt;DeviceSharingId&gt; @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body public ApiResponse<DeviceSharingI...
142
285
405
CodeSearchNet permissive-repo filter (dataset-level; per-row license absent)
code_search_net
2026-12-05
1ff3c668f09e417c999008a033367e4e1530ed186f976f1868d860a92f1bb28b
Apache-2.0
permissive
https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE
5efb1583e1ac7652da88feea
artikcloud/artikcloud-java
src/main/java/cloud/artik/api/DevicesSharesApi.java
DevicesSharesApi.deleteSharingForDevice
https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/DevicesSharesApi.java#L261-L264
train
java
Delete specific share of the given device id Delete specific share of the given device id @param deviceId Device ID. (required) @param shareId Share ID. (required) @return DeviceSharingId @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
public DeviceSharingId deleteSharingForDevice(String deviceId, String shareId) throws ApiException { ApiResponse<DeviceSharingId> resp = deleteSharingForDeviceWithHttpInfo(deviceId, shareId); return resp.getData(); }
Delete specific share of the given device id Delete specific share of the given device id @param deviceId Device ID. (required) @param shareId Share ID. (required) @return DeviceSharingId @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body public DeviceSharingId dele...
109
291
236
CodeSearchNet permissive-repo filter (dataset-level; per-row license absent)
code_search_net
2026-12-05
85fffaf23df6d67f0460aadd48bf7cfb28326e79c29538106df8cb5629895609
Apache-2.0
permissive
https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE
6492c299f10f818077eb8fd6
artikcloud/artikcloud-java
src/main/java/cloud/artik/api/DevicesSharesApi.java
DevicesSharesApi.deleteSharingForDeviceWithHttpInfo
https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/DevicesSharesApi.java#L274-L278
train
java
Delete specific share of the given device id Delete specific share of the given device id @param deviceId Device ID. (required) @param shareId Share ID. (required) @return ApiResponse&lt;DeviceSharingId&gt; @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
public ApiResponse<DeviceSharingId> deleteSharingForDeviceWithHttpInfo(String deviceId, String shareId) throws ApiException { com.squareup.okhttp.Call call = deleteSharingForDeviceValidateBeforeCall(deviceId, shareId, null, null); Type localVarReturnType = new TypeToken<DeviceSharingId>(){}.getType(); ...
Delete specific share of the given device id Delete specific share of the given device id @param deviceId Device ID. (required) @param shareId Share ID. (required) @return ApiResponse&lt;DeviceSharingId&gt; @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body public A...
143
310
384
CodeSearchNet permissive-repo filter (dataset-level; per-row license absent)
code_search_net
2026-12-05
0478bff6384715ee6b9a06c4ee14fb319dde28f5ae8282dd9dfb94e572ee2fda
Apache-2.0
permissive
https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE
b6cdbce9167210418a6b5bc5
artikcloud/artikcloud-java
src/main/java/cloud/artik/api/DevicesSharesApi.java
DevicesSharesApi.getAllSharesForDevice
https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/DevicesSharesApi.java#L388-L391
train
java
List all shares for the given device id List all shares for the given device id @param deviceId Device ID. (required) @param count Desired count of items in the result set. (optional) @param offset Offset for pagination. (optional) @return DeviceSharingEnvelope @throws ApiException If fail to call the API, e.g. server ...
public DeviceSharingEnvelope getAllSharesForDevice(String deviceId, Integer count, Integer offset) throws ApiException { ApiResponse<DeviceSharingEnvelope> resp = getAllSharesForDeviceWithHttpInfo(deviceId, count, offset); return resp.getData(); }
List all shares for the given device id List all shares for the given device id @param deviceId Device ID. (required) @param count Desired count of items in the result set. (optional) @param offset Offset for pagination. (optional) @return DeviceSharingEnvelope @throws ApiException If fail to call the API, e.g. server ...
126
365
267
CodeSearchNet permissive-repo filter (dataset-level; per-row license absent)
code_search_net
2026-12-05
d4e231c0500362e7e791c35e3e7a3eb8068d71e909e04ada9a9b51f7b4c22fe2
Apache-2.0
permissive
https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE
d4aa4815530c2e9e1b374f87
artikcloud/artikcloud-java
src/main/java/cloud/artik/api/DevicesSharesApi.java
DevicesSharesApi.getAllSharesForDeviceWithHttpInfo
https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/DevicesSharesApi.java#L402-L406
train
java
List all shares for the given device id List all shares for the given device id @param deviceId Device ID. (required) @param count Desired count of items in the result set. (optional) @param offset Offset for pagination. (optional) @return ApiResponse&lt;DeviceSharingEnvelope&gt; @throws ApiException If fail to call th...
public ApiResponse<DeviceSharingEnvelope> getAllSharesForDeviceWithHttpInfo(String deviceId, Integer count, Integer offset) throws ApiException { com.squareup.okhttp.Call call = getAllSharesForDeviceValidateBeforeCall(deviceId, count, offset, null, null); Type localVarReturnType = new TypeToken<DeviceSh...
List all shares for the given device id List all shares for the given device id @param deviceId Device ID. (required) @param count Desired count of items in the result set. (optional) @param offset Offset for pagination. (optional) @return ApiResponse&lt;DeviceSharingEnvelope&gt; @throws ApiException If fail to call th...
160
384
415
CodeSearchNet permissive-repo filter (dataset-level; per-row license absent)
code_search_net
2026-12-05
ee373c4eb02461cf56703cad057b87a5b286b8df39a86c6e0e59e813235e5f83
Apache-2.0
permissive
https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE
b05c52ac52db00becf616f92
artikcloud/artikcloud-java
src/main/java/cloud/artik/api/DevicesSharesApi.java
DevicesSharesApi.getSharingForDevice
https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/DevicesSharesApi.java#L518-L521
train
java
Get specific share of the given device id Get specific share of the given device id @param deviceId Device ID. (required) @param shareId Share ID. (required) @return DeviceSharing @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
public DeviceSharing getSharingForDevice(String deviceId, String shareId) throws ApiException { ApiResponse<DeviceSharing> resp = getSharingForDeviceWithHttpInfo(deviceId, shareId); return resp.getData(); }
Get specific share of the given device id Get specific share of the given device id @param deviceId Device ID. (required) @param shareId Share ID. (required) @return DeviceSharing @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body public DeviceSharing getSharingForD...
106
283
226
CodeSearchNet permissive-repo filter (dataset-level; per-row license absent)
code_search_net
2026-12-05
af4a7b9244b7e9b933181fae718163f7798a4d6e8c332bc179f7010980677323
Apache-2.0
permissive
https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE
b1b8168d208b0e2c415fda1d
artikcloud/artikcloud-java
src/main/java/cloud/artik/api/DevicesSharesApi.java
DevicesSharesApi.getSharingForDeviceWithHttpInfo
https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/DevicesSharesApi.java#L531-L535
train
java
Get specific share of the given device id Get specific share of the given device id @param deviceId Device ID. (required) @param shareId Share ID. (required) @return ApiResponse&lt;DeviceSharing&gt; @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
public ApiResponse<DeviceSharing> getSharingForDeviceWithHttpInfo(String deviceId, String shareId) throws ApiException { com.squareup.okhttp.Call call = getSharingForDeviceValidateBeforeCall(deviceId, shareId, null, null); Type localVarReturnType = new TypeToken<DeviceSharing>(){}.getType(); ret...
Get specific share of the given device id Get specific share of the given device id @param deviceId Device ID. (required) @param shareId Share ID. (required) @return ApiResponse&lt;DeviceSharing&gt; @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body public ApiRespon...
140
302
374
CodeSearchNet permissive-repo filter (dataset-level; per-row license absent)
code_search_net
2026-12-05
b042a74e89ca95ac0009999f052d207cb401d4be5a3617d745d9c0881319fd3f
Apache-2.0
permissive
https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE
51e6ba153505aada05e5bab5
artikcloud/artikcloud-java
src/main/java/cloud/artik/api/MonetizationApi.java
MonetizationApi.createPricingTiers
https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/MonetizationApi.java#L135-L138
train
java
Define devicetype&#39;s pricing tiers. Define devicetype&#39;s pricing tiers. @param dtid DeviceType ID (required) @param pricingTierInfo Pricing tier info (required) @return DeviceTypePricingTier @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
public DeviceTypePricingTier createPricingTiers(String dtid, DeviceTypePricingTier pricingTierInfo) throws ApiException { ApiResponse<DeviceTypePricingTier> resp = createPricingTiersWithHttpInfo(dtid, pricingTierInfo); return resp.getData(); }
Define devicetype&#39;s pricing tiers. Define devicetype&#39;s pricing tiers. @param dtid DeviceType ID (required) @param pricingTierInfo Pricing tier info (required) @return DeviceTypePricingTier @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body public DeviceTypeP...
128
300
263
CodeSearchNet permissive-repo filter (dataset-level; per-row license absent)
code_search_net
2026-12-05
e556729393a53e689fcec100e2f5f5b1a2fd4bdb326ccd49da89dea5264a72be
Apache-2.0
permissive
https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE
63aea9acfad0b230c8822fb1
artikcloud/artikcloud-java
src/main/java/cloud/artik/api/MonetizationApi.java
MonetizationApi.createPricingTiersWithHttpInfo
https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/MonetizationApi.java#L148-L152
train
java
Define devicetype&#39;s pricing tiers. Define devicetype&#39;s pricing tiers. @param dtid DeviceType ID (required) @param pricingTierInfo Pricing tier info (required) @return ApiResponse&lt;DeviceTypePricingTier&gt; @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
public ApiResponse<DeviceTypePricingTier> createPricingTiersWithHttpInfo(String dtid, DeviceTypePricingTier pricingTierInfo) throws ApiException { com.squareup.okhttp.Call call = createPricingTiersValidateBeforeCall(dtid, pricingTierInfo, null, null); Type localVarReturnType = new TypeToken<DeviceTypePr...
Define devicetype&#39;s pricing tiers. Define devicetype&#39;s pricing tiers. @param dtid DeviceType ID (required) @param pricingTierInfo Pricing tier info (required) @return ApiResponse&lt;DeviceTypePricingTier&gt; @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body ...
162
319
411
CodeSearchNet permissive-repo filter (dataset-level; per-row license absent)
code_search_net
2026-12-05
e8c41d74a63fc6dd1d3fa4ef3b6797a85c1993bb6f2c0b5759d092f0756f6a5d
Apache-2.0
permissive
https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE
ecc6ac6e4af4e4e4d1bc51e3
artikcloud/artikcloud-java
src/main/java/cloud/artik/api/MonetizationApi.java
MonetizationApi.getPricingTiers
https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/MonetizationApi.java#L259-L262
train
java
Get a device&#39;s pricing tiers Get a device&#39;s pricing tiers @param did Device ID (required) @param active Filter by active (optional) @return DevicePricingTiersEnvelope @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
public DevicePricingTiersEnvelope getPricingTiers(String did, Boolean active) throws ApiException { ApiResponse<DevicePricingTiersEnvelope> resp = getPricingTiersWithHttpInfo(did, active); return resp.getData(); }
Get a device&#39;s pricing tiers Get a device&#39;s pricing tiers @param did Device ID (required) @param active Filter by active (optional) @return DevicePricingTiersEnvelope @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body public DevicePricingTiersEnvelope getPri...
114
278
233
CodeSearchNet permissive-repo filter (dataset-level; per-row license absent)
code_search_net
2026-12-05
bd220071e51677fa1880f807a0c8c9e5bdbe682d23bacac8397b486ccce04a71
Apache-2.0
permissive
https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE
5ada66743d6ff2514002af68
artikcloud/artikcloud-java
src/main/java/cloud/artik/api/MonetizationApi.java
MonetizationApi.getPricingTiersWithHttpInfo
https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/MonetizationApi.java#L272-L276
train
java
Get a device&#39;s pricing tiers Get a device&#39;s pricing tiers @param did Device ID (required) @param active Filter by active (optional) @return ApiResponse&lt;DevicePricingTiersEnvelope&gt; @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
public ApiResponse<DevicePricingTiersEnvelope> getPricingTiersWithHttpInfo(String did, Boolean active) throws ApiException { com.squareup.okhttp.Call call = getPricingTiersValidateBeforeCall(did, active, null, null); Type localVarReturnType = new TypeToken<DevicePricingTiersEnvelope>(){}.getType(); ...
Get a device&#39;s pricing tiers Get a device&#39;s pricing tiers @param did Device ID (required) @param active Filter by active (optional) @return ApiResponse&lt;DevicePricingTiersEnvelope&gt; @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body public ApiResponse<De...
148
297
381
CodeSearchNet permissive-repo filter (dataset-level; per-row license absent)
code_search_net
2026-12-05
6f39b550343c22182f0378cfde1fecb1ec737bba40fbffb80e0cbeb799f345ed
Apache-2.0
permissive
https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE
2d51fc5e2687d4e9418568d5
artikcloud/artikcloud-java
src/main/java/cloud/artik/api/MonetizationApi.java
MonetizationApi.getThePricingTiers
https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/MonetizationApi.java#L387-L390
train
java
Get devicetype&#39;s pricing tiers. Get devicetype&#39;s pricing tiers. @param dtid DeviceType ID (required) @param version Version (required) @return DeviceTypePricingTiersEnvelope @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
public DeviceTypePricingTiersEnvelope getThePricingTiers(String dtid, Integer version) throws ApiException { ApiResponse<DeviceTypePricingTiersEnvelope> resp = getThePricingTiersWithHttpInfo(dtid, version); return resp.getData(); }
Get devicetype&#39;s pricing tiers. Get devicetype&#39;s pricing tiers. @param dtid DeviceType ID (required) @param version Version (required) @return DeviceTypePricingTiersEnvelope @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body public DeviceTypePricingTiersEnve...
124
285
251
CodeSearchNet permissive-repo filter (dataset-level; per-row license absent)
code_search_net
2026-12-05
885f0a84bfbb435642d77dc94f9e34edd55e4234cdf45944af7c49cc0bd7ec67
Apache-2.0
permissive
https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE
7912d95ca942f96da1c36773
artikcloud/artikcloud-java
src/main/java/cloud/artik/api/MonetizationApi.java
MonetizationApi.getThePricingTiersWithHttpInfo
https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/MonetizationApi.java#L400-L404
train
java
Get devicetype&#39;s pricing tiers. Get devicetype&#39;s pricing tiers. @param dtid DeviceType ID (required) @param version Version (required) @return ApiResponse&lt;DeviceTypePricingTiersEnvelope&gt; @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
public ApiResponse<DeviceTypePricingTiersEnvelope> getThePricingTiersWithHttpInfo(String dtid, Integer version) throws ApiException { com.squareup.okhttp.Call call = getThePricingTiersValidateBeforeCall(dtid, version, null, null); Type localVarReturnType = new TypeToken<DeviceTypePricingTiersEnvelope>()...
Get devicetype&#39;s pricing tiers. Get devicetype&#39;s pricing tiers. @param dtid DeviceType ID (required) @param version Version (required) @return ApiResponse&lt;DeviceTypePricingTiersEnvelope&gt; @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body public ApiResp...
158
304
399
CodeSearchNet permissive-repo filter (dataset-level; per-row license absent)
code_search_net
2026-12-05
a9899e249eb44682cc6950021847af16111661dcf87b04e8113aaeaa47f4a484
Apache-2.0
permissive
https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE
847b0e62020850a1c37d65bd
artikcloud/artikcloud-java
src/main/java/cloud/artik/api/MonetizationApi.java
MonetizationApi.getUpgradePath
https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/MonetizationApi.java#L515-L518
train
java
Get upgrade path Get upgrade path @param did Device ID (required) @param action Action to perform (required) @return UpgradePathEnvelope @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
public UpgradePathEnvelope getUpgradePath(String did, String action) throws ApiException { ApiResponse<UpgradePathEnvelope> resp = getUpgradePathWithHttpInfo(did, action); return resp.getData(); }
Get upgrade path Get upgrade path @param did Device ID (required) @param action Action to perform (required) @return UpgradePathEnvelope @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body public UpgradePathEnvelope getUpgradePath(String did, String action) throws Ap...
93
240
216
CodeSearchNet permissive-repo filter (dataset-level; per-row license absent)
code_search_net
2026-12-05
3a24cafdf8af3020551fab8f44c03a83839beeaa4fb554e2f1118a493ec584db
Apache-2.0
permissive
https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE
f988fea684d6edffd0fb4482
artikcloud/artikcloud-java
src/main/java/cloud/artik/api/MonetizationApi.java
MonetizationApi.getUpgradePathWithHttpInfo
https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/MonetizationApi.java#L528-L532
train
java
Get upgrade path Get upgrade path @param did Device ID (required) @param action Action to perform (required) @return ApiResponse&lt;UpgradePathEnvelope&gt; @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
public ApiResponse<UpgradePathEnvelope> getUpgradePathWithHttpInfo(String did, String action) throws ApiException { com.squareup.okhttp.Call call = getUpgradePathValidateBeforeCall(did, action, null, null); Type localVarReturnType = new TypeToken<UpgradePathEnvelope>(){}.getType(); return apiCli...
Get upgrade path Get upgrade path @param did Device ID (required) @param action Action to perform (required) @return ApiResponse&lt;UpgradePathEnvelope&gt; @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body public ApiResponse<UpgradePathEnvelope> getUpgradePathWithH...
127
259
364
CodeSearchNet permissive-repo filter (dataset-level; per-row license absent)
code_search_net
2026-12-05
2a9e93d9e7a0aefe13b345d9d5ee1e66eba2409f05d94d537b479f98a14742d9
Apache-2.0
permissive
https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE
eb1ade2d58ef9d34b0d29d5a
artikcloud/artikcloud-java
src/main/java/cloud/artik/api/MonetizationApi.java
MonetizationApi.setPricingTier
https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/MonetizationApi.java#L642-L645
train
java
Set a device&#39;s pricing tier Set a device&#39;s pricing tier @param did Device ID (required) @param pricingTier Pricing tier (required) @return DevicePricingTierEnvelope @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
public DevicePricingTierEnvelope setPricingTier(String did, DevicePricingTierRequest pricingTier) throws ApiException { ApiResponse<DevicePricingTierEnvelope> resp = setPricingTierWithHttpInfo(did, pricingTier); return resp.getData(); }
Set a device&#39;s pricing tier Set a device&#39;s pricing tier @param did Device ID (required) @param pricingTier Pricing tier (required) @return DevicePricingTierEnvelope @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body public DevicePricingTierEnvelope setPricin...
117
276
256
CodeSearchNet permissive-repo filter (dataset-level; per-row license absent)
code_search_net
2026-12-05
0c124a848a4bcbaae749e50507648f40f58834ce4d97a2bcf538bcde568984b5
Apache-2.0
permissive
https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE
f2984b6c1047d5bb2d897555
artikcloud/artikcloud-java
src/main/java/cloud/artik/api/MonetizationApi.java
MonetizationApi.setPricingTierWithHttpInfo
https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/MonetizationApi.java#L655-L659
train
java
Set a device&#39;s pricing tier Set a device&#39;s pricing tier @param did Device ID (required) @param pricingTier Pricing tier (required) @return ApiResponse&lt;DevicePricingTierEnvelope&gt; @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
public ApiResponse<DevicePricingTierEnvelope> setPricingTierWithHttpInfo(String did, DevicePricingTierRequest pricingTier) throws ApiException { com.squareup.okhttp.Call call = setPricingTierValidateBeforeCall(did, pricingTier, null, null); Type localVarReturnType = new TypeToken<DevicePricingTierEnvelo...
Set a device&#39;s pricing tier Set a device&#39;s pricing tier @param did Device ID (required) @param pricingTier Pricing tier (required) @return ApiResponse&lt;DevicePricingTierEnvelope&gt; @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body public ApiResponse<Devi...
151
295
404
CodeSearchNet permissive-repo filter (dataset-level; per-row license absent)
code_search_net
2026-12-05
b1cc0d7d29ae0d27ca19e3ee2f5cf4a55fef7e1afdb000fa608d8c9326ac8561
Apache-2.0
permissive
https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE
ea8a6125cf3f4a7f5273a676
artikcloud/artikcloud-java
src/main/java/cloud/artik/client/ApiClient.java
ApiClient.handleResponse
https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/client/ApiClient.java#L1029-L1049
train
java
Handle the given response, return the deserialized object when the response is successful. @param <T> Type @param response Response @param returnType Return type @throws ApiException If the response has a unsuccessful status code or fail to deserialize the response body @return Type
public <T> T handleResponse(Response response, Type returnType) throws ApiException { if (response.isSuccessful()) { if (returnType == null || response.code() == 204) { // returning null if the returnType is not defined, // or the status code is 204 (No Content) ...
Handle the given response, return the deserialized object when the response is successful. @param <T> Type @param response Response @param returnType Return type @throws ApiException If the response has a unsuccessful status code or fail to deserialize the response body @return Type public <T> T handleResponse(Respon...
222
284
934
CodeSearchNet permissive-repo filter (dataset-level; per-row license absent)
code_search_net
2026-12-05
1bbc35ad4ab4656714eed45c7e5f1cc3d5c0676e2b06a259b65f1f9ca8f17817
Apache-2.0
permissive
https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE
b719022f008431cbdfcd0e0b
vnesek/nmote-iim4j
src/main/java/com/nmote/iim4j/IIMFile.java
IIMFile.add
https://github.com/vnesek/nmote-iim4j/blob/ec55b02fc644cd722e93051ac0bdb96b00cb42a8/src/main/java/com/nmote/iim4j/IIMFile.java#L79-L88
train
java
Adds a data set to IIM file. @param ds data set id (see constants in IIM class) @param value data set value. Null values are silently ignored. @throws SerializationException if value can't be serialized by data set's serializer @throws InvalidDataSetException if data set isn't defined
public void add(int ds, Object value) throws SerializationException, InvalidDataSetException { if (value == null) { return; } DataSetInfo dsi = dsiFactory.create(ds); byte[] data = dsi.getSerializer().serialize(value, activeSerializationContext); DataSet dataSet = new DefaultDataSet(dsi, data); ...
Adds a data set to IIM file. @param ds data set id (see constants in IIM class) @param value data set value. Null values are silently ignored. @throws SerializationException if value can't be serialized by data set's serializer @throws InvalidDataSetException if data set isn't defined public void add(int ds, Object v...
149
286
346
CodeSearchNet permissive-repo filter (dataset-level; per-row license absent)
code_search_net
2026-12-05
1f7213573753b48e782d11ee0677429507c724343bd52d213de4d91669cde129
BSD-3-Clause
permissive
https://github.com/vnesek/nmote-iim4j/blob/master/LICENSE.txt
e1234f00110884bc6e034b40
vnesek/nmote-iim4j
src/main/java/com/nmote/iim4j/IIMFile.java
IIMFile.addDateTimeHelper
https://github.com/vnesek/nmote-iim4j/blob/ec55b02fc644cd722e93051ac0bdb96b00cb42a8/src/main/java/com/nmote/iim4j/IIMFile.java#L102-L114
train
java
Adds a data set with date-time value to IIM file. @param ds data set id (see constants in IIM class) @param date date to set. Null values are silently ignored. @throws SerializationException if value can't be serialized by data set's serializer @throws InvalidDataSetException if data set isn't defined
public void addDateTimeHelper(int ds, Date date) throws SerializationException, InvalidDataSetException { if (date == null) { return; } DataSetInfo dsi = dsiFactory.create(ds); SimpleDateFormat df = new SimpleDateFormat(dsi.getSerializer().toString()); String value = df.format(date); byte[] da...
Adds a data set with date-time value to IIM file. @param ds data set id (see constants in IIM class) @param date date to set. Null values are silently ignored. @throws SerializationException if value can't be serialized by data set's serializer @throws InvalidDataSetException if data set isn't defined public void add...
175
303
463
CodeSearchNet permissive-repo filter (dataset-level; per-row license absent)
code_search_net
2026-12-05
2d4775d7477ab055bce3819d42bff7b4f9f86fafa2fdcaddd5b8e5147f2e7f44
BSD-3-Clause
permissive
https://github.com/vnesek/nmote-iim4j/blob/master/LICENSE.txt
f1fa59d4f24b9284f2acdf68
vnesek/nmote-iim4j
src/main/java/com/nmote/iim4j/IIMFile.java
IIMFile.get
https://github.com/vnesek/nmote-iim4j/blob/ec55b02fc644cd722e93051ac0bdb96b00cb42a8/src/main/java/com/nmote/iim4j/IIMFile.java#L148-L159
train
java
Gets a first data set value. @param dataSet IIM record and dataset code (See constants in {@link IIM}) @return data set value @throws SerializationException if value can't be deserialized from binary representation
public Object get(int dataSet) throws SerializationException { Object result = null; for (Iterator<DataSet> i = dataSets.iterator(); i.hasNext();) { DataSet ds = i.next(); DataSetInfo info = ds.getInfo(); if (info.getDataSetNumber() == dataSet) { result = getData(ds); break; } } re...
Gets a first data set value. @param dataSet IIM record and dataset code (See constants in {@link IIM}) @return data set value @throws SerializationException if value can't be deserialized from binary representation public Object get(int dataSet) throws SerializationException { Object result = null; for (Iterato...
129
215
336
CodeSearchNet permissive-repo filter (dataset-level; per-row license absent)
code_search_net
2026-12-05
2134995f8d637c2a2f3b13feeef80dba2a0c64bada090c9fbbe2822415bb92bd
BSD-3-Clause
permissive
https://github.com/vnesek/nmote-iim4j/blob/master/LICENSE.txt
1ada63e6f509ae712a37d50d
vnesek/nmote-iim4j
src/main/java/com/nmote/iim4j/IIMFile.java
IIMFile.getAll
https://github.com/vnesek/nmote-iim4j/blob/ec55b02fc644cd722e93051ac0bdb96b00cb42a8/src/main/java/com/nmote/iim4j/IIMFile.java#L170-L180
train
java
Gets all data set values. @param dataSet IIM record and dataset code (See constants in {@link IIM}) @return data set value @throws SerializationException if value can't be deserialized from binary representation
public List<Object> getAll(int dataSet) throws SerializationException { List<Object> result = new ArrayList<Object>(); for (Iterator<DataSet> i = dataSets.iterator(); i.hasNext();) { DataSet ds = i.next(); DataSetInfo info = ds.getInfo(); if (info.getDataSetNumber() == dataSet) { result.add(getDa...
Gets all data set values. @param dataSet IIM record and dataset code (See constants in {@link IIM}) @return data set value @throws SerializationException if value can't be deserialized from binary representation public List<Object> getAll(int dataSet) throws SerializationException { List<Object> result = new Array...
132
212
361
CodeSearchNet permissive-repo filter (dataset-level; per-row license absent)
code_search_net
2026-12-05
b7e4bf62d6b9c4e618400a5c934eea1c40fcafb4672861e3a77c2c5a43d9f203
BSD-3-Clause
permissive
https://github.com/vnesek/nmote-iim4j/blob/master/LICENSE.txt
56cd84783c5878625e5234ce
vnesek/nmote-iim4j
src/main/java/com/nmote/iim4j/IIMFile.java
IIMFile.getDateTimeHelper
https://github.com/vnesek/nmote-iim4j/blob/ec55b02fc644cd722e93051ac0bdb96b00cb42a8/src/main/java/com/nmote/iim4j/IIMFile.java#L203-L233
train
java
Gets combined date/time value from two data sets. @param dateDataSet data set containing date value @param timeDataSet data set containing time value @return date/time instance @throws SerializationException if data sets can't be deserialized from binary format or can't be parsed
public Date getDateTimeHelper(int dateDataSet, int timeDataSet) throws SerializationException { DataSet dateDS = null; DataSet timeDS = null; for (Iterator<DataSet> i = dataSets.iterator(); (dateDS == null || timeDS == null) && i.hasNext();) { DataSet ds = i.next(); DataSetInfo info = ds.getInfo(); ...
Gets combined date/time value from two data sets. @param dateDataSet data set containing date value @param timeDataSet data set containing time value @return date/time instance @throws SerializationException if data sets can't be deserialized from binary format or can't be parsed public Date getDateTimeHelper(int dat...
334
281
1,103
CodeSearchNet permissive-repo filter (dataset-level; per-row license absent)
code_search_net
2026-12-05
4f42a7563cdf7e0fa6ab4d919c5e0190ed4362467407cb91eae8b7319e97ff55
BSD-3-Clause
permissive
https://github.com/vnesek/nmote-iim4j/blob/master/LICENSE.txt
49c3d2ca37e458be3f06bff7
vnesek/nmote-iim4j
src/main/java/com/nmote/iim4j/IIMFile.java
IIMFile.readFrom
https://github.com/vnesek/nmote-iim4j/blob/ec55b02fc644cd722e93051ac0bdb96b00cb42a8/src/main/java/com/nmote/iim4j/IIMFile.java#L288-L357
train
java
Reads data sets from a passed reader. @param reader data sets source @param recover max number of errors reading process will try to recover from. Set to 0 to fail immediately @throws IOException if reader can't read underlying stream @throws InvalidDataSetException if invalid/undefined data set is encountered
public void readFrom(IIMReader reader, int recover) throws IOException, InvalidDataSetException { final boolean doLog = log != null; for (;;) { try { DataSet ds = reader.read(); if (ds == null) { break; } if (doLog) { log.debug("Read data set " + ds); } DataSetInf...
Reads data sets from a passed reader. @param reader data sets source @param recover max number of errors reading process will try to recover from. Set to 0 to fail immediately @throws IOException if reader can't read underlying stream @throws InvalidDataSetException if invalid/undefined data set is encountered public...
581
312
1,832
CodeSearchNet permissive-repo filter (dataset-level; per-row license absent)
code_search_net
2026-12-05
ed62a6621664d36f6c788eca97b24fd1293ba60bc778479e9775050cde1c58eb
BSD-3-Clause
permissive
https://github.com/vnesek/nmote-iim4j/blob/master/LICENSE.txt
e7e968524de30fb2781407dd
vnesek/nmote-iim4j
src/main/java/com/nmote/iim4j/IIMFile.java
IIMFile.writeTo
https://github.com/vnesek/nmote-iim4j/blob/ec55b02fc644cd722e93051ac0bdb96b00cb42a8/src/main/java/com/nmote/iim4j/IIMFile.java#L469-L478
train
java
Writes this IIMFile to writer. @param writer writer to write to @throws IOException if file can't be written to
public void writeTo(IIMWriter writer) throws IOException { final boolean doLog = log != null; for (Iterator<DataSet> i = dataSets.iterator(); i.hasNext();) { DataSet ds = i.next(); writer.write(ds); if (doLog) { log.debug("Wrote data set " + ds); } } }
Writes this IIMFile to writer. @param writer writer to write to @throws IOException if file can't be written to public void writeTo(IIMWriter writer) throws IOException { final boolean doLog = log != null; for (Iterator<DataSet> i = dataSets.iterator(); i.hasNext();) { DataSet ds = i.next(); writer.writ...
106
112
284
CodeSearchNet permissive-repo filter (dataset-level; per-row license absent)
code_search_net
2026-12-05
81b03ce029a1662a9f5d9497f9eb0336bcfb077b9265b80af3e03a73b29ad46c
BSD-3-Clause
permissive
https://github.com/vnesek/nmote-iim4j/blob/master/LICENSE.txt
3b3a9f06d38edc7b09955c66
vnesek/nmote-iim4j
src/main/java/com/nmote/iim4j/IIMFile.java
IIMFile.validate
https://github.com/vnesek/nmote-iim4j/blob/ec55b02fc644cd722e93051ac0bdb96b00cb42a8/src/main/java/com/nmote/iim4j/IIMFile.java#L500-L513
train
java
Checks if data set is mandatory but missing or non repeatable but having multiple values in this IIM instance. @param info IIM data set to check @return list of constraint violations, empty set if data set is valid
public Set<ConstraintViolation> validate(DataSetInfo info) { Set<ConstraintViolation> errors = new LinkedHashSet<ConstraintViolation>(); try { if (info.isMandatory() && get(info.getDataSetNumber()) == null) { errors.add(new ConstraintViolation(info, ConstraintViolation.MANDATORY_MISSING)); } if (...
Checks if data set is mandatory but missing or non repeatable but having multiple values in this IIM instance. @param info IIM data set to check @return list of constraint violations, empty set if data set is valid public Set<ConstraintViolation> validate(DataSetInfo info) { Set<ConstraintViolation> errors = new L...
189
215
633
CodeSearchNet permissive-repo filter (dataset-level; per-row license absent)
code_search_net
2026-12-05
525d4c5b02023dfe18d61b54dcea90a4736ed16ace15d371b54dbdd17e8b5a5d
BSD-3-Clause
permissive
https://github.com/vnesek/nmote-iim4j/blob/master/LICENSE.txt
6ddfdc4f24b7f2254787d8e0
vnesek/nmote-iim4j
src/main/java/com/nmote/iim4j/IIMFile.java
IIMFile.validate
https://github.com/vnesek/nmote-iim4j/blob/ec55b02fc644cd722e93051ac0bdb96b00cb42a8/src/main/java/com/nmote/iim4j/IIMFile.java#L523-L534
train
java
Checks all data sets in a given record for constraint violations. @param record IIM record (1,2,3, ...) to check @return list of constraint violations, empty set if IIM file is valid
public Set<ConstraintViolation> validate(int record) { Set<ConstraintViolation> errors = new LinkedHashSet<ConstraintViolation>(); for (int ds = 0; ds < 250; ++ds) { try { DataSetInfo dataSetInfo = dsiFactory.create(IIM.DS(record, ds)); errors.addAll(validate(dataSetInfo)); } catch (InvalidDataS...
Checks all data sets in a given record for constraint violations. @param record IIM record (1,2,3, ...) to check @return list of constraint violations, empty set if IIM file is valid public Set<ConstraintViolation> validate(int record) { Set<ConstraintViolation> errors = new LinkedHashSet<ConstraintViolation>(); ...
158
184
442
CodeSearchNet permissive-repo filter (dataset-level; per-row license absent)
code_search_net
2026-12-05
23b88ec3a95410b716c6a0fe8b79244f2dc2e81b2c0c38b72bcd9c3450072f99
BSD-3-Clause
permissive
https://github.com/vnesek/nmote-iim4j/blob/master/LICENSE.txt
86cc071820b21997379def37
vnesek/nmote-iim4j
src/main/java/com/nmote/iim4j/IIMFile.java
IIMFile.validate
https://github.com/vnesek/nmote-iim4j/blob/ec55b02fc644cd722e93051ac0bdb96b00cb42a8/src/main/java/com/nmote/iim4j/IIMFile.java#L541-L547
train
java
Checks all data sets in IIM records 1, 2 and 3 for constraint violations. @return list of constraint violations, empty set if IIM file is valid
public Set<ConstraintViolation> validate() { Set<ConstraintViolation> errors = new LinkedHashSet<ConstraintViolation>(); for (int record = 1; record <= 3; ++record) { errors.addAll(validate(record)); } return errors; }
Checks all data sets in IIM records 1, 2 and 3 for constraint violations. @return list of constraint violations, empty set if IIM file is valid public Set<ConstraintViolation> validate() { Set<ConstraintViolation> errors = new LinkedHashSet<ConstraintViolation>(); for (int record = 1; record <= 3; ++record) { ...
92
144
236
CodeSearchNet permissive-repo filter (dataset-level; per-row license absent)
code_search_net
2026-12-05
46b754243aae8b7af6d74857a08af13c3e836cc589999d13dd6d269931f19669
BSD-3-Clause
permissive
https://github.com/vnesek/nmote-iim4j/blob/master/LICENSE.txt
31f376c090d788d5c864b33a
artikcloud/artikcloud-java
src/main/java/cloud/artik/api/DevicesStatusApi.java
DevicesStatusApi.getDeviceStatus
https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/DevicesStatusApi.java#L132-L135
train
java
Get Device Status Get Device Status @param deviceId Device ID. (required) @param includeSnapshot Include device snapshot into the response (optional) @param includeSnapshotTimestamp Include device snapshot timestamp into the response (optional) @return DeviceStatus @throws ApiException If fail to call the API, e.g. ser...
public DeviceStatus getDeviceStatus(String deviceId, Boolean includeSnapshot, Boolean includeSnapshotTimestamp) throws ApiException { ApiResponse<DeviceStatus> resp = getDeviceStatusWithHttpInfo(deviceId, includeSnapshot, includeSnapshotTimestamp); return resp.getData(); }
Get Device Status Get Device Status @param deviceId Device ID. (required) @param includeSnapshot Include device snapshot into the response (optional) @param includeSnapshotTimestamp Include device snapshot timestamp into the response (optional) @return DeviceStatus @throws ApiException If fail to call the API, e.g. ser...
120
369
293
CodeSearchNet permissive-repo filter (dataset-level; per-row license absent)
code_search_net
2026-12-05
feaf5de7ba12baba2e84d8e6ed6f9058384a8b0f929be762be8c187eb0149d32
Apache-2.0
permissive
https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE
7444a4597c406fd2b1a29f24
artikcloud/artikcloud-java
src/main/java/cloud/artik/api/DevicesStatusApi.java
DevicesStatusApi.getDeviceStatusWithHttpInfo
https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/DevicesStatusApi.java#L146-L150
train
java
Get Device Status Get Device Status @param deviceId Device ID. (required) @param includeSnapshot Include device snapshot into the response (optional) @param includeSnapshotTimestamp Include device snapshot timestamp into the response (optional) @return ApiResponse&lt;DeviceStatus&gt; @throws ApiException If fail to cal...
public ApiResponse<DeviceStatus> getDeviceStatusWithHttpInfo(String deviceId, Boolean includeSnapshot, Boolean includeSnapshotTimestamp) throws ApiException { com.squareup.okhttp.Call call = getDeviceStatusValidateBeforeCall(deviceId, includeSnapshot, includeSnapshotTimestamp, null, null); Type localVar...
Get Device Status Get Device Status @param deviceId Device ID. (required) @param includeSnapshot Include device snapshot into the response (optional) @param includeSnapshotTimestamp Include device snapshot timestamp into the response (optional) @return ApiResponse&lt;DeviceStatus&gt; @throws ApiException If fail to cal...
154
388
441
CodeSearchNet permissive-repo filter (dataset-level; per-row license absent)
code_search_net
2026-12-05
bf4b94cd6bd91722b2bde8eeb80a3a52c49644bdefb965ae0846ac68d5d0653e
Apache-2.0
permissive
https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE
662a41c2e97118f989991561
artikcloud/artikcloud-java
src/main/java/cloud/artik/api/DevicesStatusApi.java
DevicesStatusApi.getDeviceStatusAsync
https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/DevicesStatusApi.java#L162-L187
train
java
Get Device Status (asynchronously) Get Device Status @param deviceId Device ID. (required) @param includeSnapshot Include device snapshot into the response (optional) @param includeSnapshotTimestamp Include device snapshot timestamp into the response (optional) @param callback The callback to be executed when the API c...
public com.squareup.okhttp.Call getDeviceStatusAsync(String deviceId, Boolean includeSnapshot, Boolean includeSnapshotTimestamp, final ApiCallback<DeviceStatus> callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener pro...
Get Device Status (asynchronously) Get Device Status @param deviceId Device ID. (required) @param includeSnapshot Include device snapshot into the response (optional) @param includeSnapshotTimestamp Include device snapshot timestamp into the response (optional) @param callback The callback to be executed when the API c...
312
452
1,372
CodeSearchNet permissive-repo filter (dataset-level; per-row license absent)
code_search_net
2026-12-05
655d6622ebe091a083ae3f0de0466cc98d830ec1fa1453d4fcd0d6de91095290
Apache-2.0
permissive
https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE
7d45746b4ce6dadfe3b318f2
artikcloud/artikcloud-java
src/main/java/cloud/artik/api/DevicesStatusApi.java
DevicesStatusApi.getDevicesStatus
https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/DevicesStatusApi.java#L262-L265
train
java
Get Devices Status Get Devices Status @param dids List of device ids (comma-separated) for which the statuses are requested. (required) @param includeSnapshot Include device snapshot into the response (optional) @param includeSnapshotTimestamp Include device snapshot timestamp into the response (optional) @return Devic...
public DeviceStatusBatch getDevicesStatus(String dids, Boolean includeSnapshot, Boolean includeSnapshotTimestamp) throws ApiException { ApiResponse<DeviceStatusBatch> resp = getDevicesStatusWithHttpInfo(dids, includeSnapshot, includeSnapshotTimestamp); return resp.getData(); }
Get Devices Status Get Devices Status @param dids List of device ids (comma-separated) for which the statuses are requested. (required) @param includeSnapshot Include device snapshot into the response (optional) @param includeSnapshotTimestamp Include device snapshot timestamp into the response (optional) @return Devic...
137
436
297
CodeSearchNet permissive-repo filter (dataset-level; per-row license absent)
code_search_net
2026-12-05
64ee115d146e45ba21568585153df098cde91f0e32e3ea6054d6df1a537b70c0
Apache-2.0
permissive
https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE
fa48c3345e4b348e75991e34
artikcloud/artikcloud-java
src/main/java/cloud/artik/api/DevicesStatusApi.java
DevicesStatusApi.getDevicesStatusWithHttpInfo
https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/DevicesStatusApi.java#L276-L280
train
java
Get Devices Status Get Devices Status @param dids List of device ids (comma-separated) for which the statuses are requested. (required) @param includeSnapshot Include device snapshot into the response (optional) @param includeSnapshotTimestamp Include device snapshot timestamp into the response (optional) @return ApiRe...
public ApiResponse<DeviceStatusBatch> getDevicesStatusWithHttpInfo(String dids, Boolean includeSnapshot, Boolean includeSnapshotTimestamp) throws ApiException { com.squareup.okhttp.Call call = getDevicesStatusValidateBeforeCall(dids, includeSnapshot, includeSnapshotTimestamp, null, null); Type localVarR...
Get Devices Status Get Devices Status @param dids List of device ids (comma-separated) for which the statuses are requested. (required) @param includeSnapshot Include device snapshot into the response (optional) @param includeSnapshotTimestamp Include device snapshot timestamp into the response (optional) @return ApiRe...
171
455
445
CodeSearchNet permissive-repo filter (dataset-level; per-row license absent)
code_search_net
2026-12-05
91429d9018bf92bd75f2df2283640a9b91584092710ad8eb93da020574b49ccd
Apache-2.0
permissive
https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE
43a73f6378cd425b2bfe3e04
artikcloud/artikcloud-java
src/main/java/cloud/artik/api/DevicesStatusApi.java
DevicesStatusApi.putDeviceStatus
https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/DevicesStatusApi.java#L386-L389
train
java
Update Device Status Update Device Status @param deviceId Device ID. (required) @param body Body (optional) @return DeviceStatus @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
public DeviceStatus putDeviceStatus(String deviceId, DeviceStatusPut body) throws ApiException { ApiResponse<DeviceStatus> resp = putDeviceStatusWithHttpInfo(deviceId, body); return resp.getData(); }
Update Device Status Update Device Status @param deviceId Device ID. (required) @param body Body (optional) @return DeviceStatus @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body public DeviceStatus putDeviceStatus(String deviceId, DeviceStatusPut body) throws ApiE...
91
232
219
CodeSearchNet permissive-repo filter (dataset-level; per-row license absent)
code_search_net
2026-12-05
426742baabc5559eab3ed619f6d50f2dc2e74411ff1dba3610cf43d85ffda270
Apache-2.0
permissive
https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE
15ecd46e38225b65454c53ed
artikcloud/artikcloud-java
src/main/java/cloud/artik/api/DevicesStatusApi.java
DevicesStatusApi.putDeviceStatusWithHttpInfo
https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/DevicesStatusApi.java#L399-L403
train
java
Update Device Status Update Device Status @param deviceId Device ID. (required) @param body Body (optional) @return ApiResponse&lt;DeviceStatus&gt; @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
public ApiResponse<DeviceStatus> putDeviceStatusWithHttpInfo(String deviceId, DeviceStatusPut body) throws ApiException { com.squareup.okhttp.Call call = putDeviceStatusValidateBeforeCall(deviceId, body, null, null); Type localVarReturnType = new TypeToken<DeviceStatus>(){}.getType(); return api...
Update Device Status Update Device Status @param deviceId Device ID. (required) @param body Body (optional) @return ApiResponse&lt;DeviceStatus&gt; @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body public ApiResponse<DeviceStatus> putDeviceStatusWithHttpInfo(String...
125
251
367
CodeSearchNet permissive-repo filter (dataset-level; per-row license absent)
code_search_net
2026-12-05
5fe3eae0a3065a95905f0003bf3e597b12fc0f438c4bd3feab3c9b6e31b0055f
Apache-2.0
permissive
https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE
d6194ae03f1f40ba460dda77
artikcloud/artikcloud-java
src/main/java/cloud/artik/api/TagsApi.java
TagsApi.getTagCategoriesWithHttpInfo
https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/TagsApi.java#L128-L132
train
java
Get all categories Get all tags marked as categories @return ApiResponse&lt;TagsEnvelope&gt; @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
public ApiResponse<TagsEnvelope> getTagCategoriesWithHttpInfo() throws ApiException { com.squareup.okhttp.Call call = getTagCategoriesValidateBeforeCall(null, null); Type localVarReturnType = new TypeToken<TagsEnvelope>(){}.getType(); return apiClient.execute(call, localVarReturnType); }
Get all categories Get all tags marked as categories @return ApiResponse&lt;TagsEnvelope&gt; @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body public ApiResponse<TagsEnvelope> getTagCategoriesWithHttpInfo() throws ApiException { com.squareup.okhttp.Call cal...
102
196
316
CodeSearchNet permissive-repo filter (dataset-level; per-row license absent)
code_search_net
2026-12-05
fe043ee0dc70595458d2196ae2ae3432b093af3238841b92b717a482fab50130
Apache-2.0
permissive
https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE
2644e5fcc96c49f7d734440a
artikcloud/artikcloud-java
src/main/java/cloud/artik/api/TagsApi.java
TagsApi.getTagSuggestions
https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/TagsApi.java#L239-L242
train
java
Get tag suggestions Get tag suggestions for applications, device types that have been most used with a group of tags. @param entityType Entity type name. (optional) @param tags Comma separated list of tags. (optional) @param name Name of tags used for type ahead. (optional) @param count Number of results to return. Max...
public TagsEnvelope getTagSuggestions(String entityType, String tags, String name, Integer count) throws ApiException { ApiResponse<TagsEnvelope> resp = getTagSuggestionsWithHttpInfo(entityType, tags, name, count); return resp.getData(); }
Get tag suggestions Get tag suggestions for applications, device types that have been most used with a group of tags. @param entityType Entity type name. (optional) @param tags Comma separated list of tags. (optional) @param name Name of tags used for type ahead. (optional) @param count Number of results to return. Max...
149
460
259
CodeSearchNet permissive-repo filter (dataset-level; per-row license absent)
code_search_net
2026-12-05
b5fc58a0b2d1e39e72d640dc8231b6efa8fd8208f0b78e1046eeb0a8e3130a4b
Apache-2.0
permissive
https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE
9deb6dc05a5087fd39aef724
artikcloud/artikcloud-java
src/main/java/cloud/artik/api/TagsApi.java
TagsApi.getTagSuggestionsWithHttpInfo
https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/TagsApi.java#L254-L258
train
java
Get tag suggestions Get tag suggestions for applications, device types that have been most used with a group of tags. @param entityType Entity type name. (optional) @param tags Comma separated list of tags. (optional) @param name Name of tags used for type ahead. (optional) @param count Number of results to return. Max...
public ApiResponse<TagsEnvelope> getTagSuggestionsWithHttpInfo(String entityType, String tags, String name, Integer count) throws ApiException { com.squareup.okhttp.Call call = getTagSuggestionsValidateBeforeCall(entityType, tags, name, count, null, null); Type localVarReturnType = new TypeToken<TagsEnv...
Get tag suggestions Get tag suggestions for applications, device types that have been most used with a group of tags. @param entityType Entity type name. (optional) @param tags Comma separated list of tags. (optional) @param name Name of tags used for type ahead. (optional) @param count Number of results to return. Max...
183
479
407
CodeSearchNet permissive-repo filter (dataset-level; per-row license absent)
code_search_net
2026-12-05
67f604ab81d3000a81055e9ff1a5b7b204cc2c01e0b3f031286da0900fb49633
Apache-2.0
permissive
https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE
a1733518db75d6ac410f35df
artikcloud/artikcloud-java
src/main/java/cloud/artik/api/TagsApi.java
TagsApi.getTagsByCategories
https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/TagsApi.java#L360-L363
train
java
Get all tags of categories Get all tags related to the list of categories @param categories Comma separated list of categories. (optional) @return TagsEnvelope @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
public TagsEnvelope getTagsByCategories(String categories) throws ApiException { ApiResponse<TagsEnvelope> resp = getTagsByCategoriesWithHttpInfo(categories); return resp.getData(); }
Get all tags of categories Get all tags related to the list of categories @param categories Comma separated list of categories. (optional) @return TagsEnvelope @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body public TagsEnvelope getTagsByCategories(String categori...
91
263
203
CodeSearchNet permissive-repo filter (dataset-level; per-row license absent)
code_search_net
2026-12-05
51f91303050bc2bdb721d26bea1612393423bab82cdf2e25b97bb8821131d9b5
Apache-2.0
permissive
https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE
ce106ea2b49e1e80d660a730
artikcloud/artikcloud-java
src/main/java/cloud/artik/api/TagsApi.java
TagsApi.getTagsByCategoriesWithHttpInfo
https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/TagsApi.java#L372-L376
train
java
Get all tags of categories Get all tags related to the list of categories @param categories Comma separated list of categories. (optional) @return ApiResponse&lt;TagsEnvelope&gt; @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
public ApiResponse<TagsEnvelope> getTagsByCategoriesWithHttpInfo(String categories) throws ApiException { com.squareup.okhttp.Call call = getTagsByCategoriesValidateBeforeCall(categories, null, null); Type localVarReturnType = new TypeToken<TagsEnvelope>(){}.getType(); return apiClient.execute(c...
Get all tags of categories Get all tags related to the list of categories @param categories Comma separated list of categories. (optional) @return ApiResponse&lt;TagsEnvelope&gt; @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body public ApiResponse<TagsEnvelope> get...
125
282
351
CodeSearchNet permissive-repo filter (dataset-level; per-row license absent)
code_search_net
2026-12-05
68e96173032c2659f550d624c12699e7b4b866531a4283baec194e8171e73c02
Apache-2.0
permissive
https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE
4cb47c5f4c219e9629669829
artikcloud/artikcloud-java
src/main/java/cloud/artik/api/RulesApi.java
RulesApi.createRule
https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/RulesApi.java#L133-L136
train
java
Create Rule Create a new Rule @param ruleInfo Rule object that needs to be added (required) @param userId User ID (required) @return RuleEnvelope @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
public RuleEnvelope createRule(RuleCreationInfo ruleInfo, String userId) throws ApiException { ApiResponse<RuleEnvelope> resp = createRuleWithHttpInfo(ruleInfo, userId); return resp.getData(); }
Create Rule Create a new Rule @param ruleInfo Rule object that needs to be added (required) @param userId User ID (required) @return RuleEnvelope @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body public RuleEnvelope createRule(RuleCreationInfo ruleInfo, String user...
97
249
214
CodeSearchNet permissive-repo filter (dataset-level; per-row license absent)
code_search_net
2026-12-05
76a4bd3a2bd54b26300636e66b53a86d3141249b2ca0e73e1ec3c95b9ed3ff7a
Apache-2.0
permissive
https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE
ab5a3486b1c55fc403b1f8b0
artikcloud/artikcloud-java
src/main/java/cloud/artik/api/RulesApi.java
RulesApi.createRuleWithHttpInfo
https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/RulesApi.java#L146-L150
train
java
Create Rule Create a new Rule @param ruleInfo Rule object that needs to be added (required) @param userId User ID (required) @return ApiResponse&lt;RuleEnvelope&gt; @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
public ApiResponse<RuleEnvelope> createRuleWithHttpInfo(RuleCreationInfo ruleInfo, String userId) throws ApiException { com.squareup.okhttp.Call call = createRuleValidateBeforeCall(ruleInfo, userId, null, null); Type localVarReturnType = new TypeToken<RuleEnvelope>(){}.getType(); return apiClien...
Create Rule Create a new Rule @param ruleInfo Rule object that needs to be added (required) @param userId User ID (required) @return ApiResponse&lt;RuleEnvelope&gt; @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body public ApiResponse<RuleEnvelope> createRuleWithHtt...
131
268
362
CodeSearchNet permissive-repo filter (dataset-level; per-row license absent)
code_search_net
2026-12-05
3f059692730d102c460c8455b4b5563682593c5793ea088a235e6468bb23c0e1
Apache-2.0
permissive
https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE
2dcb5edfad9b838cb642b4e3
artikcloud/artikcloud-java
src/main/java/cloud/artik/api/RulesApi.java
RulesApi.deleteRule
https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/RulesApi.java#L254-L257
train
java
Delete Rule Delete a Rule @param ruleId Rule ID. (required) @return RuleEnvelope @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
public RuleEnvelope deleteRule(String ruleId) throws ApiException { ApiResponse<RuleEnvelope> resp = deleteRuleWithHttpInfo(ruleId); return resp.getData(); }
Delete Rule Delete a Rule @param ruleId Rule ID. (required) @return RuleEnvelope @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body public RuleEnvelope deleteRule(String ruleId) throws ApiException { ApiResponse<RuleEnvelope> resp = deleteRuleWithHttpInfo(ru...
77
184
177
CodeSearchNet permissive-repo filter (dataset-level; per-row license absent)
code_search_net
2026-12-05
17153a491d9d0fe1529ff3aa86b2668d78f4e441fe1af1f4b5464faa5546bd8b
Apache-2.0
permissive
https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE
06b8d5daafd630617d84bf76
artikcloud/artikcloud-java
src/main/java/cloud/artik/api/RulesApi.java
RulesApi.deleteRuleWithHttpInfo
https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/RulesApi.java#L266-L270
train
java
Delete Rule Delete a Rule @param ruleId Rule ID. (required) @return ApiResponse&lt;RuleEnvelope&gt; @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
public ApiResponse<RuleEnvelope> deleteRuleWithHttpInfo(String ruleId) throws ApiException { com.squareup.okhttp.Call call = deleteRuleValidateBeforeCall(ruleId, null, null); Type localVarReturnType = new TypeToken<RuleEnvelope>(){}.getType(); return apiClient.execute(call, localVarReturnType); ...
Delete Rule Delete a Rule @param ruleId Rule ID. (required) @return ApiResponse&lt;RuleEnvelope&gt; @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body public ApiResponse<RuleEnvelope> deleteRuleWithHttpInfo(String ruleId) throws ApiException { com.squareup.o...
111
203
325
CodeSearchNet permissive-repo filter (dataset-level; per-row license absent)
code_search_net
2026-12-05
674584e26371e011cd91c1cfa549348548aa8dd4cbbbb17c8b7cdf3545302000
Apache-2.0
permissive
https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE
9746eb774924dd4c6e30ffae
artikcloud/artikcloud-java
src/main/java/cloud/artik/api/RulesApi.java
RulesApi.getRule
https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/RulesApi.java#L373-L376
train
java
Get Rule Get a rule using the Rule ID @param ruleId Rule ID. (required) @return RuleEnvelope @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
public RuleEnvelope getRule(String ruleId) throws ApiException { ApiResponse<RuleEnvelope> resp = getRuleWithHttpInfo(ruleId); return resp.getData(); }
Get Rule Get a rule using the Rule ID @param ruleId Rule ID. (required) @return RuleEnvelope @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body public RuleEnvelope getRule(String ruleId) throws ApiException { ApiResponse<RuleEnvelope> resp = getRuleWithHttpI...
81
196
171
CodeSearchNet permissive-repo filter (dataset-level; per-row license absent)
code_search_net
2026-12-05
13bf8af5171754eedf8bb637871b4268402c3203b217c3e7b36d325d6d838b62
Apache-2.0
permissive
https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE
9971b46b77cc4e2486a62426
artikcloud/artikcloud-java
src/main/java/cloud/artik/api/RulesApi.java
RulesApi.updateRule
https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/RulesApi.java#L498-L501
train
java
Update Rule Update an existing Rule @param ruleId Rule ID. (required) @param ruleInfo Rule object that needs to be updated (required) @return RuleEnvelope @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
public RuleEnvelope updateRule(String ruleId, RuleUpdateInfo ruleInfo) throws ApiException { ApiResponse<RuleEnvelope> resp = updateRuleWithHttpInfo(ruleId, ruleInfo); return resp.getData(); }
Update Rule Update an existing Rule @param ruleId Rule ID. (required) @param ruleInfo Rule object that needs to be updated (required) @return RuleEnvelope @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body public RuleEnvelope updateRule(String ruleId, RuleUpdateInfo...
100
258
212
CodeSearchNet permissive-repo filter (dataset-level; per-row license absent)
code_search_net
2026-12-05
2674262af455e44230dc6804e7480c6bdb1297f9b51c04abf2b3fc0d3897eea7
Apache-2.0
permissive
https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE
End of preview. Expand in Data Studio

CodeSearchNet Java — permissive licences only

Working copy (2026-12-05). Subset of PiotrSty/code-search-net-java keeping only repositories whose audited SPDX licence is permissive (MIT, Apache-2.0, BSD-2/3-Clause, ISC, Zlib, WTFPL, Artistic-2.0).

  • 334,367 rows, 3,880 repositories
  • 299,132,516 characters, 63,689,933 tokens (tiktoken cl100k_base)
  • parquet 163,300,781 bytes (zstd), 20 columns
  • splits: train 303,622 · validation 12,828 · test 17,917
  • removed 114,492 weak/strong-copyleft rows and 47,818 rows without a detected licence.

Full datasheet: datasheet.md.

Licences (rows)

SPDX rows %
Apache-2.0 264,874 79.2%
MIT 52,732 15.8%
BSD-3-Clause 10,322 3.1%
BSD-2-Clause 5,480 1.6%
ISC 772 0.2%
Zlib 117 0.0%
WTFPL 57 0.0%
Artistic-2.0 13 0.0%

Schema

id, repo, path, func_name, url, split, language, docstring, code, text,
token_count, doc_chars, code_chars, license_basis, source, added,
record_sha256, license, license_class, license_source

text = docstring + \n\n + code. id is unique. record_sha256 is the canonical per-row SHA-256.

Provenance and audit

  • Upstream: official CodeSearchNet Java shards.
  • Filters: code ≥ 20 chars, text ≥ 100 chars, exact-code dedup, open-licence filter, then license_class == "permissive".
  • Per-repo audit: GitHub REST /repos/{owner}/{repo}/license over 4,769 repositories (2026-12-05); full table in repo_licenses.jsonl.

Rights

  • Every retained row has an audited permissive SPDX licence in license (license_class == "permissive", license_source = GitHub licence URL).
  • No copyleft rows (LGPL/EPL/GPL/AGPL) and no NOASSERTION/unknown.
  • Permissive is not obligation-free: Apache-2.0 requires NOTICE/attribution and BSD/MIT require the copyright notice. This is not legal advice.

Not checked

  • Whether GitHub's LICENSE-file detection matches the repo's actual terms.
  • Notice/attribution preservation for Apache-2.0/BSD rows.
  • Cross-corpus dedup against other code corpora.

Authors

Piotr Styła (SlayerLab / Fabryka AI), 2026. See CITATION.cff.

Citation

If you use this dataset, cite it via CITATION.cff (or the Hugging Face dataset page). Upstream code should be cited/attributed via the repo and url fields.

Dataset licence

Curation, selection and metadata: CC-BY-4.0 (see LICENSE). Code and documentation remain under their upstream licences, recorded per row in license / license_source; see NOTICE, ATTRIBUTION.md and LICENSES/.

Downloads last month
15