openlayer 0.0.2 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.env +0 -0
- data/.rspec +3 -0
- data/.rubocop.yml +13 -0
- data/LICENSE +21 -0
- data/README.md +19 -294
- data/Rakefile +12 -0
- data/lib/openlayer/client.rb +21 -71
- data/lib/openlayer/error.rb +5 -0
- data/lib/openlayer/inference_pipeline.rb +36 -0
- data/lib/openlayer/version.rb +1 -1
- data/lib/openlayer.rb +7 -96
- data/openlayer.gemspec +42 -0
- data/sig/openlayer.rbs +4 -0
- metadata +44 -227
- data/.ignore +0 -2
- data/CHANGELOG.md +0 -15
- data/SECURITY.md +0 -27
- data/lib/openlayer/errors.rb +0 -228
- data/lib/openlayer/file_part.rb +0 -58
- data/lib/openlayer/internal/transport/base_client.rb +0 -567
- data/lib/openlayer/internal/transport/pooled_net_requester.rb +0 -198
- data/lib/openlayer/internal/type/array_of.rb +0 -168
- data/lib/openlayer/internal/type/base_model.rb +0 -531
- data/lib/openlayer/internal/type/base_page.rb +0 -55
- data/lib/openlayer/internal/type/boolean.rb +0 -77
- data/lib/openlayer/internal/type/converter.rb +0 -327
- data/lib/openlayer/internal/type/enum.rb +0 -131
- data/lib/openlayer/internal/type/file_input.rb +0 -111
- data/lib/openlayer/internal/type/hash_of.rb +0 -188
- data/lib/openlayer/internal/type/request_parameters.rb +0 -42
- data/lib/openlayer/internal/type/union.rb +0 -237
- data/lib/openlayer/internal/type/unknown.rb +0 -81
- data/lib/openlayer/internal/util.rb +0 -915
- data/lib/openlayer/internal.rb +0 -20
- data/lib/openlayer/models/commit_retrieve_params.rb +0 -14
- data/lib/openlayer/models/commit_retrieve_response.rb +0 -275
- data/lib/openlayer/models/commits/test_result_list_params.rb +0 -91
- data/lib/openlayer/models/commits/test_result_list_response.rb +0 -566
- data/lib/openlayer/models/inference_pipeline_delete_params.rb +0 -14
- data/lib/openlayer/models/inference_pipeline_retrieve_params.rb +0 -33
- data/lib/openlayer/models/inference_pipeline_retrieve_response.rb +0 -605
- data/lib/openlayer/models/inference_pipeline_update_params.rb +0 -42
- data/lib/openlayer/models/inference_pipeline_update_response.rb +0 -605
- data/lib/openlayer/models/inference_pipelines/data_stream_params.rb +0 -463
- data/lib/openlayer/models/inference_pipelines/data_stream_response.rb +0 -28
- data/lib/openlayer/models/inference_pipelines/row_update_params.rb +0 -90
- data/lib/openlayer/models/inference_pipelines/row_update_response.rb +0 -28
- data/lib/openlayer/models/inference_pipelines/test_result_list_params.rb +0 -83
- data/lib/openlayer/models/inference_pipelines/test_result_list_response.rb +0 -568
- data/lib/openlayer/models/project_create_params.rb +0 -51
- data/lib/openlayer/models/project_create_response.rb +0 -262
- data/lib/openlayer/models/project_list_params.rb +0 -59
- data/lib/openlayer/models/project_list_response.rb +0 -274
- data/lib/openlayer/models/projects/commit_create_params.rb +0 -61
- data/lib/openlayer/models/projects/commit_create_response.rb +0 -277
- data/lib/openlayer/models/projects/commit_list_params.rb +0 -32
- data/lib/openlayer/models/projects/commit_list_response.rb +0 -288
- data/lib/openlayer/models/projects/inference_pipeline_create_params.rb +0 -229
- data/lib/openlayer/models/projects/inference_pipeline_create_response.rb +0 -612
- data/lib/openlayer/models/projects/inference_pipeline_list_params.rb +0 -40
- data/lib/openlayer/models/projects/inference_pipeline_list_response.rb +0 -623
- data/lib/openlayer/models/projects/test_create_params.rb +0 -367
- data/lib/openlayer/models/projects/test_create_response.rb +0 -438
- data/lib/openlayer/models/projects/test_list_params.rb +0 -91
- data/lib/openlayer/models/projects/test_list_response.rb +0 -452
- data/lib/openlayer/models/projects/test_update_params.rb +0 -262
- data/lib/openlayer/models/projects/test_update_response.rb +0 -24
- data/lib/openlayer/models/storage/presigned_url_create_params.rb +0 -24
- data/lib/openlayer/models/storage/presigned_url_create_response.rb +0 -35
- data/lib/openlayer/models.rb +0 -61
- data/lib/openlayer/request_options.rb +0 -77
- data/lib/openlayer/resources/commits/test_results.rb +0 -51
- data/lib/openlayer/resources/commits.rb +0 -38
- data/lib/openlayer/resources/inference_pipelines/data.rb +0 -46
- data/lib/openlayer/resources/inference_pipelines/rows.rb +0 -46
- data/lib/openlayer/resources/inference_pipelines/test_results.rb +0 -49
- data/lib/openlayer/resources/inference_pipelines.rb +0 -101
- data/lib/openlayer/resources/projects/commits.rb +0 -72
- data/lib/openlayer/resources/projects/inference_pipelines.rb +0 -74
- data/lib/openlayer/resources/projects/tests.rb +0 -135
- data/lib/openlayer/resources/projects.rb +0 -80
- data/lib/openlayer/resources/storage/presigned_url.rb +0 -38
- data/lib/openlayer/resources/storage.rb +0 -18
- data/manifest.yaml +0 -15
- data/rbi/openlayer/client.rbi +0 -58
- data/rbi/openlayer/errors.rbi +0 -205
- data/rbi/openlayer/file_part.rbi +0 -37
- data/rbi/openlayer/internal/transport/base_client.rbi +0 -293
- data/rbi/openlayer/internal/transport/pooled_net_requester.rbi +0 -79
- data/rbi/openlayer/internal/type/array_of.rbi +0 -104
- data/rbi/openlayer/internal/type/base_model.rbi +0 -304
- data/rbi/openlayer/internal/type/base_page.rbi +0 -42
- data/rbi/openlayer/internal/type/boolean.rbi +0 -58
- data/rbi/openlayer/internal/type/converter.rbi +0 -216
- data/rbi/openlayer/internal/type/enum.rbi +0 -82
- data/rbi/openlayer/internal/type/file_input.rbi +0 -59
- data/rbi/openlayer/internal/type/hash_of.rbi +0 -104
- data/rbi/openlayer/internal/type/request_parameters.rbi +0 -29
- data/rbi/openlayer/internal/type/union.rbi +0 -128
- data/rbi/openlayer/internal/type/unknown.rbi +0 -58
- data/rbi/openlayer/internal/util.rbi +0 -487
- data/rbi/openlayer/internal.rbi +0 -18
- data/rbi/openlayer/models/commit_retrieve_params.rbi +0 -27
- data/rbi/openlayer/models/commit_retrieve_response.rbi +0 -393
- data/rbi/openlayer/models/commits/test_result_list_params.rbi +0 -214
- data/rbi/openlayer/models/commits/test_result_list_response.rbi +0 -1256
- data/rbi/openlayer/models/inference_pipeline_delete_params.rbi +0 -30
- data/rbi/openlayer/models/inference_pipeline_retrieve_params.rbi +0 -101
- data/rbi/openlayer/models/inference_pipeline_retrieve_response.rbi +0 -1022
- data/rbi/openlayer/models/inference_pipeline_update_params.rbi +0 -67
- data/rbi/openlayer/models/inference_pipeline_update_response.rbi +0 -1018
- data/rbi/openlayer/models/inference_pipelines/data_stream_params.rbi +0 -750
- data/rbi/openlayer/models/inference_pipelines/data_stream_response.rbi +0 -73
- data/rbi/openlayer/models/inference_pipelines/row_update_params.rbi +0 -153
- data/rbi/openlayer/models/inference_pipelines/row_update_response.rbi +0 -73
- data/rbi/openlayer/models/inference_pipelines/test_result_list_params.rbi +0 -216
- data/rbi/openlayer/models/inference_pipelines/test_result_list_response.rbi +0 -1258
- data/rbi/openlayer/models/project_create_params.rbi +0 -99
- data/rbi/openlayer/models/project_create_response.rbi +0 -401
- data/rbi/openlayer/models/project_list_params.rbi +0 -121
- data/rbi/openlayer/models/project_list_response.rbi +0 -442
- data/rbi/openlayer/models/projects/commit_create_params.rbi +0 -125
- data/rbi/openlayer/models/projects/commit_create_response.rbi +0 -409
- data/rbi/openlayer/models/projects/commit_list_params.rbi +0 -62
- data/rbi/openlayer/models/projects/commit_list_response.rbi +0 -454
- data/rbi/openlayer/models/projects/inference_pipeline_create_params.rbi +0 -560
- data/rbi/openlayer/models/projects/inference_pipeline_create_response.rbi +0 -1027
- data/rbi/openlayer/models/projects/inference_pipeline_list_params.rbi +0 -73
- data/rbi/openlayer/models/projects/inference_pipeline_list_response.rbi +0 -1070
- data/rbi/openlayer/models/projects/test_create_params.rbi +0 -940
- data/rbi/openlayer/models/projects/test_create_response.rbi +0 -1026
- data/rbi/openlayer/models/projects/test_list_params.rbi +0 -165
- data/rbi/openlayer/models/projects/test_list_response.rbi +0 -1067
- data/rbi/openlayer/models/projects/test_update_params.rbi +0 -699
- data/rbi/openlayer/models/projects/test_update_response.rbi +0 -43
- data/rbi/openlayer/models/storage/presigned_url_create_params.rbi +0 -45
- data/rbi/openlayer/models/storage/presigned_url_create_response.rbi +0 -55
- data/rbi/openlayer/models.rbi +0 -26
- data/rbi/openlayer/request_options.rbi +0 -59
- data/rbi/openlayer/resources/commits/test_results.rbi +0 -45
- data/rbi/openlayer/resources/commits.rbi +0 -29
- data/rbi/openlayer/resources/inference_pipelines/data.rbi +0 -41
- data/rbi/openlayer/resources/inference_pipelines/rows.rbi +0 -40
- data/rbi/openlayer/resources/inference_pipelines/test_results.rbi +0 -46
- data/rbi/openlayer/resources/inference_pipelines.rbi +0 -79
- data/rbi/openlayer/resources/projects/commits.rbi +0 -60
- data/rbi/openlayer/resources/projects/inference_pipelines.rbi +0 -69
- data/rbi/openlayer/resources/projects/tests.rbi +0 -123
- data/rbi/openlayer/resources/projects.rbi +0 -64
- data/rbi/openlayer/resources/storage/presigned_url.rbi +0 -28
- data/rbi/openlayer/resources/storage.rbi +0 -15
- data/rbi/openlayer/version.rbi +0 -5
- data/sig/openlayer/client.rbs +0 -32
- data/sig/openlayer/errors.rbs +0 -117
- data/sig/openlayer/file_part.rbs +0 -21
- data/sig/openlayer/internal/transport/base_client.rbs +0 -131
- data/sig/openlayer/internal/transport/pooled_net_requester.rbs +0 -45
- data/sig/openlayer/internal/type/array_of.rbs +0 -48
- data/sig/openlayer/internal/type/base_model.rbs +0 -102
- data/sig/openlayer/internal/type/base_page.rbs +0 -24
- data/sig/openlayer/internal/type/boolean.rbs +0 -26
- data/sig/openlayer/internal/type/converter.rbs +0 -79
- data/sig/openlayer/internal/type/enum.rbs +0 -32
- data/sig/openlayer/internal/type/file_input.rbs +0 -25
- data/sig/openlayer/internal/type/hash_of.rbs +0 -48
- data/sig/openlayer/internal/type/request_parameters.rbs +0 -19
- data/sig/openlayer/internal/type/union.rbs +0 -52
- data/sig/openlayer/internal/type/unknown.rbs +0 -26
- data/sig/openlayer/internal/util.rbs +0 -185
- data/sig/openlayer/internal.rbs +0 -9
- data/sig/openlayer/models/commit_retrieve_params.rbs +0 -15
- data/sig/openlayer/models/commit_retrieve_response.rbs +0 -209
- data/sig/openlayer/models/commits/test_result_list_params.rbs +0 -91
- data/sig/openlayer/models/commits/test_result_list_response.rbs +0 -529
- data/sig/openlayer/models/inference_pipeline_delete_params.rbs +0 -15
- data/sig/openlayer/models/inference_pipeline_retrieve_params.rbs +0 -41
- data/sig/openlayer/models/inference_pipeline_retrieve_response.rbs +0 -493
- data/sig/openlayer/models/inference_pipeline_update_params.rbs +0 -34
- data/sig/openlayer/models/inference_pipeline_update_response.rbs +0 -493
- data/sig/openlayer/models/inference_pipelines/data_stream_params.rbs +0 -386
- data/sig/openlayer/models/inference_pipelines/data_stream_response.rbs +0 -32
- data/sig/openlayer/models/inference_pipelines/row_update_params.rbs +0 -75
- data/sig/openlayer/models/inference_pipelines/row_update_response.rbs +0 -32
- data/sig/openlayer/models/inference_pipelines/test_result_list_params.rbs +0 -84
- data/sig/openlayer/models/inference_pipelines/test_result_list_response.rbs +0 -529
- data/sig/openlayer/models/project_create_params.rbs +0 -53
- data/sig/openlayer/models/project_create_response.rbs +0 -210
- data/sig/openlayer/models/project_list_params.rbs +0 -68
- data/sig/openlayer/models/project_list_response.rbs +0 -225
- data/sig/openlayer/models/projects/commit_create_params.rbs +0 -82
- data/sig/openlayer/models/projects/commit_create_response.rbs +0 -211
- data/sig/openlayer/models/projects/commit_list_params.rbs +0 -34
- data/sig/openlayer/models/projects/commit_list_response.rbs +0 -228
- data/sig/openlayer/models/projects/inference_pipeline_create_params.rbs +0 -308
- data/sig/openlayer/models/projects/inference_pipeline_create_response.rbs +0 -495
- data/sig/openlayer/models/projects/inference_pipeline_list_params.rbs +0 -40
- data/sig/openlayer/models/projects/inference_pipeline_list_response.rbs +0 -512
- data/sig/openlayer/models/projects/test_create_params.rbs +0 -388
- data/sig/openlayer/models/projects/test_create_response.rbs +0 -427
- data/sig/openlayer/models/projects/test_list_params.rbs +0 -85
- data/sig/openlayer/models/projects/test_list_response.rbs +0 -442
- data/sig/openlayer/models/projects/test_update_params.rbs +0 -275
- data/sig/openlayer/models/projects/test_update_response.rbs +0 -25
- data/sig/openlayer/models/storage/presigned_url_create_params.rbs +0 -25
- data/sig/openlayer/models/storage/presigned_url_create_response.rbs +0 -22
- data/sig/openlayer/models.rbs +0 -21
- data/sig/openlayer/request_options.rbs +0 -34
- data/sig/openlayer/resources/commits/test_results.rbs +0 -19
- data/sig/openlayer/resources/commits.rbs +0 -14
- data/sig/openlayer/resources/inference_pipelines/data.rbs +0 -16
- data/sig/openlayer/resources/inference_pipelines/rows.rbs +0 -17
- data/sig/openlayer/resources/inference_pipelines/test_results.rbs +0 -18
- data/sig/openlayer/resources/inference_pipelines.rbs +0 -32
- data/sig/openlayer/resources/projects/commits.rbs +0 -25
- data/sig/openlayer/resources/projects/inference_pipelines.rbs +0 -26
- data/sig/openlayer/resources/projects/tests.rbs +0 -45
- data/sig/openlayer/resources/projects.rbs +0 -28
- data/sig/openlayer/resources/storage/presigned_url.rbs +0 -14
- data/sig/openlayer/resources/storage.rbs +0 -9
- data/sig/openlayer/version.rbs +0 -3
@@ -1,229 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
module Openlayer
|
4
|
-
module Models
|
5
|
-
module Projects
|
6
|
-
# @see Openlayer::Resources::Projects::InferencePipelines#create
|
7
|
-
class InferencePipelineCreateParams < Openlayer::Internal::Type::BaseModel
|
8
|
-
extend Openlayer::Internal::Type::RequestParameters::Converter
|
9
|
-
include Openlayer::Internal::Type::RequestParameters
|
10
|
-
|
11
|
-
# @!attribute description
|
12
|
-
# The inference pipeline description.
|
13
|
-
#
|
14
|
-
# @return [String, nil]
|
15
|
-
required :description, String, nil?: true
|
16
|
-
|
17
|
-
# @!attribute name
|
18
|
-
# The inference pipeline name.
|
19
|
-
#
|
20
|
-
# @return [String]
|
21
|
-
required :name, String
|
22
|
-
|
23
|
-
# @!attribute project
|
24
|
-
#
|
25
|
-
# @return [Openlayer::Models::Projects::InferencePipelineCreateParams::Project, nil]
|
26
|
-
optional :project, -> { Openlayer::Projects::InferencePipelineCreateParams::Project }, nil?: true
|
27
|
-
|
28
|
-
# @!attribute workspace
|
29
|
-
#
|
30
|
-
# @return [Openlayer::Models::Projects::InferencePipelineCreateParams::Workspace, nil]
|
31
|
-
optional :workspace, -> { Openlayer::Projects::InferencePipelineCreateParams::Workspace }, nil?: true
|
32
|
-
|
33
|
-
# @!method initialize(description:, name:, project: nil, workspace: nil, request_options: {})
|
34
|
-
# @param description [String, nil] The inference pipeline description.
|
35
|
-
#
|
36
|
-
# @param name [String] The inference pipeline name.
|
37
|
-
#
|
38
|
-
# @param project [Openlayer::Models::Projects::InferencePipelineCreateParams::Project, nil]
|
39
|
-
#
|
40
|
-
# @param workspace [Openlayer::Models::Projects::InferencePipelineCreateParams::Workspace, nil]
|
41
|
-
#
|
42
|
-
# @param request_options [Openlayer::RequestOptions, Hash{Symbol=>Object}]
|
43
|
-
|
44
|
-
class Project < Openlayer::Internal::Type::BaseModel
|
45
|
-
# @!attribute name
|
46
|
-
# The project name.
|
47
|
-
#
|
48
|
-
# @return [String]
|
49
|
-
required :name, String
|
50
|
-
|
51
|
-
# @!attribute task_type
|
52
|
-
# The task type of the project.
|
53
|
-
#
|
54
|
-
# @return [Symbol, Openlayer::Models::Projects::InferencePipelineCreateParams::Project::TaskType]
|
55
|
-
required :task_type,
|
56
|
-
enum: -> { Openlayer::Projects::InferencePipelineCreateParams::Project::TaskType },
|
57
|
-
api_name: :taskType
|
58
|
-
|
59
|
-
# @!attribute description
|
60
|
-
# The project description.
|
61
|
-
#
|
62
|
-
# @return [String, nil]
|
63
|
-
optional :description, String, nil?: true
|
64
|
-
|
65
|
-
# @!method initialize(name:, task_type:, description: nil)
|
66
|
-
# @param name [String] The project name.
|
67
|
-
#
|
68
|
-
# @param task_type [Symbol, Openlayer::Models::Projects::InferencePipelineCreateParams::Project::TaskType] The task type of the project.
|
69
|
-
#
|
70
|
-
# @param description [String, nil] The project description.
|
71
|
-
|
72
|
-
# @see Openlayer::Models::Projects::InferencePipelineCreateParams::Project#links
|
73
|
-
class Links < Openlayer::Internal::Type::BaseModel
|
74
|
-
# @!attribute app
|
75
|
-
#
|
76
|
-
# @return [String]
|
77
|
-
required :app, String
|
78
|
-
|
79
|
-
# @!method initialize(app:)
|
80
|
-
# Links to the project.
|
81
|
-
#
|
82
|
-
# @param app [String]
|
83
|
-
end
|
84
|
-
|
85
|
-
# The source of the project.
|
86
|
-
#
|
87
|
-
# @see Openlayer::Models::Projects::InferencePipelineCreateParams::Project#source
|
88
|
-
module Source
|
89
|
-
extend Openlayer::Internal::Type::Enum
|
90
|
-
|
91
|
-
WEB = :web
|
92
|
-
API = :api
|
93
|
-
NULL = :null
|
94
|
-
|
95
|
-
# @!method self.values
|
96
|
-
# @return [Array<Symbol>]
|
97
|
-
end
|
98
|
-
|
99
|
-
# The task type of the project.
|
100
|
-
#
|
101
|
-
# @see Openlayer::Models::Projects::InferencePipelineCreateParams::Project#task_type
|
102
|
-
module TaskType
|
103
|
-
extend Openlayer::Internal::Type::Enum
|
104
|
-
|
105
|
-
LLM_BASE = :"llm-base"
|
106
|
-
TABULAR_CLASSIFICATION = :"tabular-classification"
|
107
|
-
TABULAR_REGRESSION = :"tabular-regression"
|
108
|
-
TEXT_CLASSIFICATION = :"text-classification"
|
109
|
-
|
110
|
-
# @!method self.values
|
111
|
-
# @return [Array<Symbol>]
|
112
|
-
end
|
113
|
-
|
114
|
-
# @see Openlayer::Models::Projects::InferencePipelineCreateParams::Project#git_repo
|
115
|
-
class GitRepo < Openlayer::Internal::Type::BaseModel
|
116
|
-
# @!attribute git_account_id
|
117
|
-
#
|
118
|
-
# @return [String]
|
119
|
-
required :git_account_id, String, api_name: :gitAccountId
|
120
|
-
|
121
|
-
# @!attribute git_id
|
122
|
-
#
|
123
|
-
# @return [Integer]
|
124
|
-
required :git_id, Integer, api_name: :gitId
|
125
|
-
|
126
|
-
# @!attribute branch
|
127
|
-
#
|
128
|
-
# @return [String, nil]
|
129
|
-
optional :branch, String
|
130
|
-
|
131
|
-
# @!attribute root_dir
|
132
|
-
#
|
133
|
-
# @return [String, nil]
|
134
|
-
optional :root_dir, String, api_name: :rootDir
|
135
|
-
|
136
|
-
# @!method initialize(git_account_id:, git_id:, branch: nil, root_dir: nil)
|
137
|
-
# @param git_account_id [String]
|
138
|
-
# @param git_id [Integer]
|
139
|
-
# @param branch [String]
|
140
|
-
# @param root_dir [String]
|
141
|
-
end
|
142
|
-
end
|
143
|
-
|
144
|
-
class Workspace < Openlayer::Internal::Type::BaseModel
|
145
|
-
# @!attribute name
|
146
|
-
# The workspace name.
|
147
|
-
#
|
148
|
-
# @return [String]
|
149
|
-
required :name, String
|
150
|
-
|
151
|
-
# @!attribute slug
|
152
|
-
# The workspace slug.
|
153
|
-
#
|
154
|
-
# @return [String]
|
155
|
-
required :slug, String
|
156
|
-
|
157
|
-
# @!attribute saml_only_access
|
158
|
-
# Whether the workspace only allows SAML authentication.
|
159
|
-
#
|
160
|
-
# @return [Boolean, nil]
|
161
|
-
optional :saml_only_access, Openlayer::Internal::Type::Boolean, api_name: :samlOnlyAccess
|
162
|
-
|
163
|
-
# @!attribute wildcard_domains
|
164
|
-
#
|
165
|
-
# @return [Array<String>, nil]
|
166
|
-
optional :wildcard_domains, Openlayer::Internal::Type::ArrayOf[String], api_name: :wildcardDomains
|
167
|
-
|
168
|
-
request_only do
|
169
|
-
# @!attribute invite_code
|
170
|
-
# The workspace invite code.
|
171
|
-
#
|
172
|
-
# @return [String, nil]
|
173
|
-
optional :invite_code, String, api_name: :inviteCode
|
174
|
-
end
|
175
|
-
|
176
|
-
# @!method initialize(name:, slug:, invite_code: nil, saml_only_access: nil, wildcard_domains: nil)
|
177
|
-
# @param name [String] The workspace name.
|
178
|
-
#
|
179
|
-
# @param slug [String] The workspace slug.
|
180
|
-
#
|
181
|
-
# @param invite_code [String] The workspace invite code.
|
182
|
-
#
|
183
|
-
# @param saml_only_access [Boolean] Whether the workspace only allows SAML authentication.
|
184
|
-
#
|
185
|
-
# @param wildcard_domains [Array<String>]
|
186
|
-
|
187
|
-
# @see Openlayer::Models::Projects::InferencePipelineCreateParams::Workspace#status
|
188
|
-
module Status
|
189
|
-
extend Openlayer::Internal::Type::Enum
|
190
|
-
|
191
|
-
ACTIVE = :active
|
192
|
-
PAST_DUE = :past_due
|
193
|
-
UNPAID = :unpaid
|
194
|
-
CANCELED = :canceled
|
195
|
-
INCOMPLETE = :incomplete
|
196
|
-
INCOMPLETE_EXPIRED = :incomplete_expired
|
197
|
-
TRIALING = :trialing
|
198
|
-
PAUSED = :paused
|
199
|
-
|
200
|
-
# @!method self.values
|
201
|
-
# @return [Array<Symbol>]
|
202
|
-
end
|
203
|
-
|
204
|
-
class MonthlyUsage < Openlayer::Internal::Type::BaseModel
|
205
|
-
# @!attribute execution_time_ms
|
206
|
-
#
|
207
|
-
# @return [Integer, nil]
|
208
|
-
optional :execution_time_ms, Integer, api_name: :executionTimeMs, nil?: true
|
209
|
-
|
210
|
-
# @!attribute month_year
|
211
|
-
#
|
212
|
-
# @return [Date, nil]
|
213
|
-
optional :month_year, Date, api_name: :monthYear
|
214
|
-
|
215
|
-
# @!attribute prediction_count
|
216
|
-
#
|
217
|
-
# @return [Integer, nil]
|
218
|
-
optional :prediction_count, Integer, api_name: :predictionCount
|
219
|
-
|
220
|
-
# @!method initialize(execution_time_ms: nil, month_year: nil, prediction_count: nil)
|
221
|
-
# @param execution_time_ms [Integer, nil]
|
222
|
-
# @param month_year [Date]
|
223
|
-
# @param prediction_count [Integer]
|
224
|
-
end
|
225
|
-
end
|
226
|
-
end
|
227
|
-
end
|
228
|
-
end
|
229
|
-
end
|