Module: Phaseo::Gen::Operations
- Defined in:
- lib/gen/operations.rb
Class Method Summary collapse
- .calculatePricing(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
- .cancelBatch(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
- .cancelBatchAlias(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
- .cancelVideo(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
- .cancelVideoAlias(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
- .createAnthropicMessage(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
- .createApiKey(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
- .createBatch(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
- .createBatchAlias(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
- .createChatCompletion(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
- .createEmbedding(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
- .createImage(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
- .createImageEdit(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
- .createModeration(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
- .createOcr(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
- .createRerank(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
- .createResponse(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
- .createSpeech(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
- .createTranscription(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
- .createTranslation(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
- .createVideo(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
- .createVideoAlias(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
- .createVideoDownloadUrl(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
- .createVideoDownloadUrlAlias(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
- .createWorkspace(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
- .deleteApiKey(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
- .deleteVideo(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
- .deleteVideoAlias(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
- .deleteWorkspace(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
- .generateMusic(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
- .generateMusicAlias(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
- .getActivity(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
- .getActivityAlias(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
- .getApiKey(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
- .getCredits(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
- .getCurrentApiKey(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
- .getGeneration(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
- .getHealth(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
- .getMusicGeneration(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
- .getMusicGenerationAlias(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
- .getProviderDerankStatus(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
- .getVideo(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
- .getVideoAlias(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
- .getVideoContent(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
- .getVideoContentAlias(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
- .getWorkspace(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
- .listApiKeys(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
- .listBatchCapabilities(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
- .listBatchCapabilitiesAlias(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
- .listBatches(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
- .listBatchesAlias(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
- .listBatchFiles(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
- .listBatchFilesAlias(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
- .listBatchModels(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
- .listBatchModelsAlias(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
- .listBatchRequests(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
- .listBatchRequestsAlias(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
- .listDataModels(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
- .listEndpoints(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
- .listFiles(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
- .listModels(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
- .listOrganisations(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
- .listPricingModels(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
- .listProviders(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
- .listTeamModels(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
- .listVideoModels(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
- .listVideoModelsAlias(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
- .listVideos(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
- .listVideosAlias(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
- .listWorkspaces(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
- .openAsyncJobWebSocket(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
- .retrieveBatch(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
- .retrieveBatchAlias(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
- .retrieveBatchFile(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
- .retrieveBatchFileAlias(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
- .retrieveBatchFileContent(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
- .retrieveBatchFileContentAlias(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
- .retrieveFile(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
- .retrieveFileContent(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
- .updateApiKey(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
- .updateWorkspace(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
- .uploadBatchFile(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
- .uploadBatchFileAlias(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
- .uploadFile(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
Class Method Details
.calculatePricing(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
6 7 8 9 10 |
# File 'lib/gen/operations.rb', line 6 def self.calculatePricing(client, path: nil, query: nil, headers: nil, body: nil) path ||= {} resolved_path = "/pricing/calculate" client.request(method: "POST", path: resolved_path, query: query, headers: headers, body: body) end |
.cancelBatch(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
12 13 14 15 16 |
# File 'lib/gen/operations.rb', line 12 def self.cancelBatch(client, path: nil, query: nil, headers: nil, body: nil) path ||= {} resolved_path = "/batches/#{path["batch_id"]}/cancel" client.request(method: "POST", path: resolved_path, query: query, headers: headers, body: body) end |
.cancelBatchAlias(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
18 19 20 21 22 |
# File 'lib/gen/operations.rb', line 18 def self.cancelBatchAlias(client, path: nil, query: nil, headers: nil, body: nil) path ||= {} resolved_path = "/batch/#{path["id"]}/cancel" client.request(method: "POST", path: resolved_path, query: query, headers: headers, body: body) end |
.cancelVideo(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
24 25 26 27 28 |
# File 'lib/gen/operations.rb', line 24 def self.cancelVideo(client, path: nil, query: nil, headers: nil, body: nil) path ||= {} resolved_path = "/videos/#{path["video_id"]}/cancel" client.request(method: "POST", path: resolved_path, query: query, headers: headers, body: body) end |
.cancelVideoAlias(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
30 31 32 33 34 |
# File 'lib/gen/operations.rb', line 30 def self.cancelVideoAlias(client, path: nil, query: nil, headers: nil, body: nil) path ||= {} resolved_path = "/video/generations/#{path["video_id"]}/cancel" client.request(method: "POST", path: resolved_path, query: query, headers: headers, body: body) end |
.createAnthropicMessage(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
36 37 38 39 40 |
# File 'lib/gen/operations.rb', line 36 def self.createAnthropicMessage(client, path: nil, query: nil, headers: nil, body: nil) path ||= {} resolved_path = "/messages" client.request(method: "POST", path: resolved_path, query: query, headers: headers, body: body) end |
.createApiKey(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
42 43 44 45 46 |
# File 'lib/gen/operations.rb', line 42 def self.createApiKey(client, path: nil, query: nil, headers: nil, body: nil) path ||= {} resolved_path = "/keys" client.request(method: "POST", path: resolved_path, query: query, headers: headers, body: body) end |
.createBatch(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
48 49 50 51 52 |
# File 'lib/gen/operations.rb', line 48 def self.createBatch(client, path: nil, query: nil, headers: nil, body: nil) path ||= {} resolved_path = "/batches" client.request(method: "POST", path: resolved_path, query: query, headers: headers, body: body) end |
.createBatchAlias(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
54 55 56 57 58 |
# File 'lib/gen/operations.rb', line 54 def self.createBatchAlias(client, path: nil, query: nil, headers: nil, body: nil) path ||= {} resolved_path = "/batch" client.request(method: "POST", path: resolved_path, query: query, headers: headers, body: body) end |
.createChatCompletion(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
60 61 62 63 64 |
# File 'lib/gen/operations.rb', line 60 def self.createChatCompletion(client, path: nil, query: nil, headers: nil, body: nil) path ||= {} resolved_path = "/chat/completions" client.request(method: "POST", path: resolved_path, query: query, headers: headers, body: body) end |
.createEmbedding(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
66 67 68 69 70 |
# File 'lib/gen/operations.rb', line 66 def self.createEmbedding(client, path: nil, query: nil, headers: nil, body: nil) path ||= {} resolved_path = "/embeddings" client.request(method: "POST", path: resolved_path, query: query, headers: headers, body: body) end |
.createImage(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
72 73 74 75 76 |
# File 'lib/gen/operations.rb', line 72 def self.createImage(client, path: nil, query: nil, headers: nil, body: nil) path ||= {} resolved_path = "/images/generations" client.request(method: "POST", path: resolved_path, query: query, headers: headers, body: body) end |
.createImageEdit(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
78 79 80 81 82 |
# File 'lib/gen/operations.rb', line 78 def self.createImageEdit(client, path: nil, query: nil, headers: nil, body: nil) path ||= {} resolved_path = "/images/edits" client.request(method: "POST", path: resolved_path, query: query, headers: headers, body: body) end |
.createModeration(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
84 85 86 87 88 |
# File 'lib/gen/operations.rb', line 84 def self.createModeration(client, path: nil, query: nil, headers: nil, body: nil) path ||= {} resolved_path = "/moderations" client.request(method: "POST", path: resolved_path, query: query, headers: headers, body: body) end |
.createOcr(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
90 91 92 93 94 |
# File 'lib/gen/operations.rb', line 90 def self.createOcr(client, path: nil, query: nil, headers: nil, body: nil) path ||= {} resolved_path = "/ocr" client.request(method: "POST", path: resolved_path, query: query, headers: headers, body: body) end |
.createRerank(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
96 97 98 99 100 |
# File 'lib/gen/operations.rb', line 96 def self.createRerank(client, path: nil, query: nil, headers: nil, body: nil) path ||= {} resolved_path = "/rerank" client.request(method: "POST", path: resolved_path, query: query, headers: headers, body: body) end |
.createResponse(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
102 103 104 105 106 |
# File 'lib/gen/operations.rb', line 102 def self.createResponse(client, path: nil, query: nil, headers: nil, body: nil) path ||= {} resolved_path = "/responses" client.request(method: "POST", path: resolved_path, query: query, headers: headers, body: body) end |
.createSpeech(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
108 109 110 111 112 |
# File 'lib/gen/operations.rb', line 108 def self.createSpeech(client, path: nil, query: nil, headers: nil, body: nil) path ||= {} resolved_path = "/audio/speech" client.request(method: "POST", path: resolved_path, query: query, headers: headers, body: body) end |
.createTranscription(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
114 115 116 117 118 |
# File 'lib/gen/operations.rb', line 114 def self.createTranscription(client, path: nil, query: nil, headers: nil, body: nil) path ||= {} resolved_path = "/audio/transcriptions" client.request(method: "POST", path: resolved_path, query: query, headers: headers, body: body) end |
.createTranslation(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
120 121 122 123 124 |
# File 'lib/gen/operations.rb', line 120 def self.createTranslation(client, path: nil, query: nil, headers: nil, body: nil) path ||= {} resolved_path = "/audio/translations" client.request(method: "POST", path: resolved_path, query: query, headers: headers, body: body) end |
.createVideo(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
126 127 128 129 130 |
# File 'lib/gen/operations.rb', line 126 def self.createVideo(client, path: nil, query: nil, headers: nil, body: nil) path ||= {} resolved_path = "/videos" client.request(method: "POST", path: resolved_path, query: query, headers: headers, body: body) end |
.createVideoAlias(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
132 133 134 135 136 |
# File 'lib/gen/operations.rb', line 132 def self.createVideoAlias(client, path: nil, query: nil, headers: nil, body: nil) path ||= {} resolved_path = "/video/generations" client.request(method: "POST", path: resolved_path, query: query, headers: headers, body: body) end |
.createVideoDownloadUrl(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
138 139 140 141 142 |
# File 'lib/gen/operations.rb', line 138 def self.createVideoDownloadUrl(client, path: nil, query: nil, headers: nil, body: nil) path ||= {} resolved_path = "/videos/#{path["video_id"]}/download_url" client.request(method: "POST", path: resolved_path, query: query, headers: headers, body: body) end |
.createVideoDownloadUrlAlias(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
144 145 146 147 148 |
# File 'lib/gen/operations.rb', line 144 def self.createVideoDownloadUrlAlias(client, path: nil, query: nil, headers: nil, body: nil) path ||= {} resolved_path = "/video/generations/#{path["video_id"]}/download_url" client.request(method: "POST", path: resolved_path, query: query, headers: headers, body: body) end |
.createWorkspace(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
150 151 152 153 154 |
# File 'lib/gen/operations.rb', line 150 def self.createWorkspace(client, path: nil, query: nil, headers: nil, body: nil) path ||= {} resolved_path = "/workspaces" client.request(method: "POST", path: resolved_path, query: query, headers: headers, body: body) end |
.deleteApiKey(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
156 157 158 159 160 |
# File 'lib/gen/operations.rb', line 156 def self.deleteApiKey(client, path: nil, query: nil, headers: nil, body: nil) path ||= {} resolved_path = "/keys/#{path["id"]}" client.request(method: "DELETE", path: resolved_path, query: query, headers: headers, body: body) end |
.deleteVideo(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
162 163 164 165 166 |
# File 'lib/gen/operations.rb', line 162 def self.deleteVideo(client, path: nil, query: nil, headers: nil, body: nil) path ||= {} resolved_path = "/videos/#{path["video_id"]}" client.request(method: "DELETE", path: resolved_path, query: query, headers: headers, body: body) end |
.deleteVideoAlias(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
168 169 170 171 172 |
# File 'lib/gen/operations.rb', line 168 def self.deleteVideoAlias(client, path: nil, query: nil, headers: nil, body: nil) path ||= {} resolved_path = "/video/generations/#{path["video_id"]}" client.request(method: "DELETE", path: resolved_path, query: query, headers: headers, body: body) end |
.deleteWorkspace(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
174 175 176 177 178 |
# File 'lib/gen/operations.rb', line 174 def self.deleteWorkspace(client, path: nil, query: nil, headers: nil, body: nil) path ||= {} resolved_path = "/workspaces/#{path["id"]}" client.request(method: "DELETE", path: resolved_path, query: query, headers: headers, body: body) end |
.generateMusic(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
180 181 182 183 184 |
# File 'lib/gen/operations.rb', line 180 def self.generateMusic(client, path: nil, query: nil, headers: nil, body: nil) path ||= {} resolved_path = "/music/generate" client.request(method: "POST", path: resolved_path, query: query, headers: headers, body: body) end |
.generateMusicAlias(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
186 187 188 189 190 |
# File 'lib/gen/operations.rb', line 186 def self.generateMusicAlias(client, path: nil, query: nil, headers: nil, body: nil) path ||= {} resolved_path = "/music/generations" client.request(method: "POST", path: resolved_path, query: query, headers: headers, body: body) end |
.getActivity(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
192 193 194 195 196 |
# File 'lib/gen/operations.rb', line 192 def self.getActivity(client, path: nil, query: nil, headers: nil, body: nil) path ||= {} resolved_path = "/activity" client.request(method: "GET", path: resolved_path, query: query, headers: headers, body: body) end |
.getActivityAlias(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
198 199 200 201 202 |
# File 'lib/gen/operations.rb', line 198 def self.getActivityAlias(client, path: nil, query: nil, headers: nil, body: nil) path ||= {} resolved_path = "/analytics" client.request(method: "GET", path: resolved_path, query: query, headers: headers, body: body) end |
.getApiKey(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
204 205 206 207 208 |
# File 'lib/gen/operations.rb', line 204 def self.getApiKey(client, path: nil, query: nil, headers: nil, body: nil) path ||= {} resolved_path = "/keys/#{path["id"]}" client.request(method: "GET", path: resolved_path, query: query, headers: headers, body: body) end |
.getCredits(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
210 211 212 213 214 |
# File 'lib/gen/operations.rb', line 210 def self.getCredits(client, path: nil, query: nil, headers: nil, body: nil) path ||= {} resolved_path = "/credits" client.request(method: "GET", path: resolved_path, query: query, headers: headers, body: body) end |
.getCurrentApiKey(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
216 217 218 219 220 |
# File 'lib/gen/operations.rb', line 216 def self.getCurrentApiKey(client, path: nil, query: nil, headers: nil, body: nil) path ||= {} resolved_path = "/key" client.request(method: "GET", path: resolved_path, query: query, headers: headers, body: body) end |
.getGeneration(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
222 223 224 225 226 |
# File 'lib/gen/operations.rb', line 222 def self.getGeneration(client, path: nil, query: nil, headers: nil, body: nil) path ||= {} resolved_path = "/generations" client.request(method: "GET", path: resolved_path, query: query, headers: headers, body: body) end |
.getHealth(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
228 229 230 231 232 |
# File 'lib/gen/operations.rb', line 228 def self.getHealth(client, path: nil, query: nil, headers: nil, body: nil) path ||= {} resolved_path = "/health" client.request(method: "GET", path: resolved_path, query: query, headers: headers, body: body) end |
.getMusicGeneration(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
234 235 236 237 238 |
# File 'lib/gen/operations.rb', line 234 def self.getMusicGeneration(client, path: nil, query: nil, headers: nil, body: nil) path ||= {} resolved_path = "/music/generate/#{path["music_id"]}" client.request(method: "GET", path: resolved_path, query: query, headers: headers, body: body) end |
.getMusicGenerationAlias(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
240 241 242 243 244 |
# File 'lib/gen/operations.rb', line 240 def self.getMusicGenerationAlias(client, path: nil, query: nil, headers: nil, body: nil) path ||= {} resolved_path = "/music/generations/#{path["music_id"]}" client.request(method: "GET", path: resolved_path, query: query, headers: headers, body: body) end |
.getProviderDerankStatus(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
246 247 248 249 250 |
# File 'lib/gen/operations.rb', line 246 def self.getProviderDerankStatus(client, path: nil, query: nil, headers: nil, body: nil) path ||= {} resolved_path = "/health/providers/#{path["provider_id"]}/derank" client.request(method: "GET", path: resolved_path, query: query, headers: headers, body: body) end |
.getVideo(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
252 253 254 255 256 |
# File 'lib/gen/operations.rb', line 252 def self.getVideo(client, path: nil, query: nil, headers: nil, body: nil) path ||= {} resolved_path = "/videos/#{path["video_id"]}" client.request(method: "GET", path: resolved_path, query: query, headers: headers, body: body) end |
.getVideoAlias(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
258 259 260 261 262 |
# File 'lib/gen/operations.rb', line 258 def self.getVideoAlias(client, path: nil, query: nil, headers: nil, body: nil) path ||= {} resolved_path = "/video/generations/#{path["video_id"]}" client.request(method: "GET", path: resolved_path, query: query, headers: headers, body: body) end |
.getVideoContent(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
264 265 266 267 268 |
# File 'lib/gen/operations.rb', line 264 def self.getVideoContent(client, path: nil, query: nil, headers: nil, body: nil) path ||= {} resolved_path = "/videos/#{path["video_id"]}/content" client.request(method: "GET", path: resolved_path, query: query, headers: headers, body: body) end |
.getVideoContentAlias(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
270 271 272 273 274 |
# File 'lib/gen/operations.rb', line 270 def self.getVideoContentAlias(client, path: nil, query: nil, headers: nil, body: nil) path ||= {} resolved_path = "/video/generations/#{path["video_id"]}/content" client.request(method: "GET", path: resolved_path, query: query, headers: headers, body: body) end |
.getWorkspace(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
276 277 278 279 280 |
# File 'lib/gen/operations.rb', line 276 def self.getWorkspace(client, path: nil, query: nil, headers: nil, body: nil) path ||= {} resolved_path = "/workspaces/#{path["id"]}" client.request(method: "GET", path: resolved_path, query: query, headers: headers, body: body) end |
.listApiKeys(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
282 283 284 285 286 |
# File 'lib/gen/operations.rb', line 282 def self.listApiKeys(client, path: nil, query: nil, headers: nil, body: nil) path ||= {} resolved_path = "/keys" client.request(method: "GET", path: resolved_path, query: query, headers: headers, body: body) end |
.listBatchCapabilities(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
288 289 290 291 292 |
# File 'lib/gen/operations.rb', line 288 def self.listBatchCapabilities(client, path: nil, query: nil, headers: nil, body: nil) path ||= {} resolved_path = "/batches/capabilities" client.request(method: "GET", path: resolved_path, query: query, headers: headers, body: body) end |
.listBatchCapabilitiesAlias(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
294 295 296 297 298 |
# File 'lib/gen/operations.rb', line 294 def self.listBatchCapabilitiesAlias(client, path: nil, query: nil, headers: nil, body: nil) path ||= {} resolved_path = "/batch/capabilities" client.request(method: "GET", path: resolved_path, query: query, headers: headers, body: body) end |
.listBatches(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
300 301 302 303 304 |
# File 'lib/gen/operations.rb', line 300 def self.listBatches(client, path: nil, query: nil, headers: nil, body: nil) path ||= {} resolved_path = "/batches" client.request(method: "GET", path: resolved_path, query: query, headers: headers, body: body) end |
.listBatchesAlias(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
306 307 308 309 310 |
# File 'lib/gen/operations.rb', line 306 def self.listBatchesAlias(client, path: nil, query: nil, headers: nil, body: nil) path ||= {} resolved_path = "/batch" client.request(method: "GET", path: resolved_path, query: query, headers: headers, body: body) end |
.listBatchFiles(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
312 313 314 315 316 |
# File 'lib/gen/operations.rb', line 312 def self.listBatchFiles(client, path: nil, query: nil, headers: nil, body: nil) path ||= {} resolved_path = "/batches/files" client.request(method: "GET", path: resolved_path, query: query, headers: headers, body: body) end |
.listBatchFilesAlias(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
318 319 320 321 322 |
# File 'lib/gen/operations.rb', line 318 def self.listBatchFilesAlias(client, path: nil, query: nil, headers: nil, body: nil) path ||= {} resolved_path = "/batch/files" client.request(method: "GET", path: resolved_path, query: query, headers: headers, body: body) end |
.listBatchModels(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
324 325 326 327 328 |
# File 'lib/gen/operations.rb', line 324 def self.listBatchModels(client, path: nil, query: nil, headers: nil, body: nil) path ||= {} resolved_path = "/batches/models" client.request(method: "GET", path: resolved_path, query: query, headers: headers, body: body) end |
.listBatchModelsAlias(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
330 331 332 333 334 |
# File 'lib/gen/operations.rb', line 330 def self.listBatchModelsAlias(client, path: nil, query: nil, headers: nil, body: nil) path ||= {} resolved_path = "/batch/models" client.request(method: "GET", path: resolved_path, query: query, headers: headers, body: body) end |
.listBatchRequests(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
336 337 338 339 340 |
# File 'lib/gen/operations.rb', line 336 def self.listBatchRequests(client, path: nil, query: nil, headers: nil, body: nil) path ||= {} resolved_path = "/batches/#{path["batch_id"]}/requests" client.request(method: "GET", path: resolved_path, query: query, headers: headers, body: body) end |
.listBatchRequestsAlias(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
342 343 344 345 346 |
# File 'lib/gen/operations.rb', line 342 def self.listBatchRequestsAlias(client, path: nil, query: nil, headers: nil, body: nil) path ||= {} resolved_path = "/batch/#{path["id"]}/requests" client.request(method: "GET", path: resolved_path, query: query, headers: headers, body: body) end |
.listDataModels(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
348 349 350 351 352 |
# File 'lib/gen/operations.rb', line 348 def self.listDataModels(client, path: nil, query: nil, headers: nil, body: nil) path ||= {} resolved_path = "/data/models" client.request(method: "GET", path: resolved_path, query: query, headers: headers, body: body) end |
.listEndpoints(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
354 355 356 357 358 |
# File 'lib/gen/operations.rb', line 354 def self.listEndpoints(client, path: nil, query: nil, headers: nil, body: nil) path ||= {} resolved_path = "/endpoints" client.request(method: "GET", path: resolved_path, query: query, headers: headers, body: body) end |
.listFiles(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
360 361 362 363 364 |
# File 'lib/gen/operations.rb', line 360 def self.listFiles(client, path: nil, query: nil, headers: nil, body: nil) path ||= {} resolved_path = "/files" client.request(method: "GET", path: resolved_path, query: query, headers: headers, body: body) end |
.listModels(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
366 367 368 369 370 |
# File 'lib/gen/operations.rb', line 366 def self.listModels(client, path: nil, query: nil, headers: nil, body: nil) path ||= {} resolved_path = "/models" client.request(method: "GET", path: resolved_path, query: query, headers: headers, body: body) end |
.listOrganisations(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
372 373 374 375 376 |
# File 'lib/gen/operations.rb', line 372 def self.listOrganisations(client, path: nil, query: nil, headers: nil, body: nil) path ||= {} resolved_path = "/organisations" client.request(method: "GET", path: resolved_path, query: query, headers: headers, body: body) end |
.listPricingModels(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
378 379 380 381 382 |
# File 'lib/gen/operations.rb', line 378 def self.listPricingModels(client, path: nil, query: nil, headers: nil, body: nil) path ||= {} resolved_path = "/pricing/models" client.request(method: "GET", path: resolved_path, query: query, headers: headers, body: body) end |
.listProviders(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
384 385 386 387 388 |
# File 'lib/gen/operations.rb', line 384 def self.listProviders(client, path: nil, query: nil, headers: nil, body: nil) path ||= {} resolved_path = "/providers" client.request(method: "GET", path: resolved_path, query: query, headers: headers, body: body) end |
.listTeamModels(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
390 391 392 393 394 |
# File 'lib/gen/operations.rb', line 390 def self.listTeamModels(client, path: nil, query: nil, headers: nil, body: nil) path ||= {} resolved_path = "/models/me" client.request(method: "GET", path: resolved_path, query: query, headers: headers, body: body) end |
.listVideoModels(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
396 397 398 399 400 |
# File 'lib/gen/operations.rb', line 396 def self.listVideoModels(client, path: nil, query: nil, headers: nil, body: nil) path ||= {} resolved_path = "/videos/models" client.request(method: "GET", path: resolved_path, query: query, headers: headers, body: body) end |
.listVideoModelsAlias(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
402 403 404 405 406 |
# File 'lib/gen/operations.rb', line 402 def self.listVideoModelsAlias(client, path: nil, query: nil, headers: nil, body: nil) path ||= {} resolved_path = "/video/generations/models" client.request(method: "GET", path: resolved_path, query: query, headers: headers, body: body) end |
.listVideos(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
408 409 410 411 412 |
# File 'lib/gen/operations.rb', line 408 def self.listVideos(client, path: nil, query: nil, headers: nil, body: nil) path ||= {} resolved_path = "/videos" client.request(method: "GET", path: resolved_path, query: query, headers: headers, body: body) end |
.listVideosAlias(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
414 415 416 417 418 |
# File 'lib/gen/operations.rb', line 414 def self.listVideosAlias(client, path: nil, query: nil, headers: nil, body: nil) path ||= {} resolved_path = "/video/generations" client.request(method: "GET", path: resolved_path, query: query, headers: headers, body: body) end |
.listWorkspaces(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
420 421 422 423 424 |
# File 'lib/gen/operations.rb', line 420 def self.listWorkspaces(client, path: nil, query: nil, headers: nil, body: nil) path ||= {} resolved_path = "/workspaces" client.request(method: "GET", path: resolved_path, query: query, headers: headers, body: body) end |
.openAsyncJobWebSocket(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
426 427 428 429 430 |
# File 'lib/gen/operations.rb', line 426 def self.openAsyncJobWebSocket(client, path: nil, query: nil, headers: nil, body: nil) path ||= {} resolved_path = "/async/#{path["kind"]}/#{path["id"]}/ws" client.request(method: "GET", path: resolved_path, query: query, headers: headers, body: body) end |
.retrieveBatch(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
432 433 434 435 436 |
# File 'lib/gen/operations.rb', line 432 def self.retrieveBatch(client, path: nil, query: nil, headers: nil, body: nil) path ||= {} resolved_path = "/batches/#{path["batch_id"]}" client.request(method: "GET", path: resolved_path, query: query, headers: headers, body: body) end |
.retrieveBatchAlias(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
438 439 440 441 442 |
# File 'lib/gen/operations.rb', line 438 def self.retrieveBatchAlias(client, path: nil, query: nil, headers: nil, body: nil) path ||= {} resolved_path = "/batch/#{path["id"]}" client.request(method: "GET", path: resolved_path, query: query, headers: headers, body: body) end |
.retrieveBatchFile(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
444 445 446 447 448 |
# File 'lib/gen/operations.rb', line 444 def self.retrieveBatchFile(client, path: nil, query: nil, headers: nil, body: nil) path ||= {} resolved_path = "/batches/files/#{path["file_id"]}" client.request(method: "GET", path: resolved_path, query: query, headers: headers, body: body) end |
.retrieveBatchFileAlias(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
450 451 452 453 454 |
# File 'lib/gen/operations.rb', line 450 def self.retrieveBatchFileAlias(client, path: nil, query: nil, headers: nil, body: nil) path ||= {} resolved_path = "/batch/files/#{path["file_id"]}" client.request(method: "GET", path: resolved_path, query: query, headers: headers, body: body) end |
.retrieveBatchFileContent(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
456 457 458 459 460 |
# File 'lib/gen/operations.rb', line 456 def self.retrieveBatchFileContent(client, path: nil, query: nil, headers: nil, body: nil) path ||= {} resolved_path = "/batches/files/#{path["file_id"]}/content" client.request(method: "GET", path: resolved_path, query: query, headers: headers, body: body) end |
.retrieveBatchFileContentAlias(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
462 463 464 465 466 |
# File 'lib/gen/operations.rb', line 462 def self.retrieveBatchFileContentAlias(client, path: nil, query: nil, headers: nil, body: nil) path ||= {} resolved_path = "/batch/files/#{path["file_id"]}/content" client.request(method: "GET", path: resolved_path, query: query, headers: headers, body: body) end |
.retrieveFile(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
468 469 470 471 472 |
# File 'lib/gen/operations.rb', line 468 def self.retrieveFile(client, path: nil, query: nil, headers: nil, body: nil) path ||= {} resolved_path = "/files/#{path["file_id"]}" client.request(method: "GET", path: resolved_path, query: query, headers: headers, body: body) end |
.retrieveFileContent(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
474 475 476 477 478 |
# File 'lib/gen/operations.rb', line 474 def self.retrieveFileContent(client, path: nil, query: nil, headers: nil, body: nil) path ||= {} resolved_path = "/files/#{path["file_id"]}/content" client.request(method: "GET", path: resolved_path, query: query, headers: headers, body: body) end |
.updateApiKey(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
480 481 482 483 484 |
# File 'lib/gen/operations.rb', line 480 def self.updateApiKey(client, path: nil, query: nil, headers: nil, body: nil) path ||= {} resolved_path = "/keys/#{path["id"]}" client.request(method: "PATCH", path: resolved_path, query: query, headers: headers, body: body) end |
.updateWorkspace(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
486 487 488 489 490 |
# File 'lib/gen/operations.rb', line 486 def self.updateWorkspace(client, path: nil, query: nil, headers: nil, body: nil) path ||= {} resolved_path = "/workspaces/#{path["id"]}" client.request(method: "PATCH", path: resolved_path, query: query, headers: headers, body: body) end |
.uploadBatchFile(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
492 493 494 495 496 |
# File 'lib/gen/operations.rb', line 492 def self.uploadBatchFile(client, path: nil, query: nil, headers: nil, body: nil) path ||= {} resolved_path = "/batches/files" client.request(method: "POST", path: resolved_path, query: query, headers: headers, body: body) end |
.uploadBatchFileAlias(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
498 499 500 501 502 |
# File 'lib/gen/operations.rb', line 498 def self.uploadBatchFileAlias(client, path: nil, query: nil, headers: nil, body: nil) path ||= {} resolved_path = "/batch/files" client.request(method: "POST", path: resolved_path, query: query, headers: headers, body: body) end |
.uploadFile(client, path: nil, query: nil, headers: nil, body: nil) ⇒ Object
504 505 506 507 508 |
# File 'lib/gen/operations.rb', line 504 def self.uploadFile(client, path: nil, query: nil, headers: nil, body: nil) path ||= {} resolved_path = "/files" client.request(method: "POST", path: resolved_path, query: query, headers: headers, body: body) end |