Class: Knockapi::Models::BulkOperation
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Knockapi::Models::BulkOperation
- Defined in:
- lib/knockapi/models/bulk_operation.rb
Overview
Defined Under Namespace
Modules: Status Classes: ErrorItem
Instance Attribute Summary collapse
-
#_typename ⇒ String
The typename of the schema.
-
#completed_at ⇒ Time?
Timestamp when the bulk operation was completed.
-
#error_count ⇒ Integer?
The number of failed operations.
-
#error_items ⇒ Array<Knockapi::Models::BulkOperation::ErrorItem>?
A list of items that failed to be processed.
-
#estimated_total_rows ⇒ Integer
The estimated total number of rows to process.
-
#failed_at ⇒ Time?
Timestamp when the bulk operation failed.
-
#id ⇒ String
Unique identifier for the bulk operation.
-
#inserted_at ⇒ Time
Timestamp when the resource was created.
-
#name ⇒ String
The name of the bulk operation.
-
#processed_rows ⇒ Integer
The number of rows processed so far.
-
#progress_path ⇒ String?
The URI to the bulk operation’s progress.
-
#started_at ⇒ Time?
Timestamp when the bulk operation was started.
-
#status ⇒ Symbol, Knockapi::Models::BulkOperation::Status
The status of the bulk operation.
-
#success_count ⇒ Integer
The number of successful operations.
-
#updated_at ⇒ Time
The timestamp when the resource was last updated.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(id:, _typename:, estimated_total_rows:, inserted_at:, name:, processed_rows:, status:, success_count:, updated_at:, completed_at: nil, error_count: nil, error_items: nil, failed_at: nil, progress_path: nil, started_at: nil) ⇒ Object
constructor
A bulk operation entity.
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(id:, _typename:, estimated_total_rows:, inserted_at:, name:, processed_rows:, status:, success_count:, updated_at:, completed_at: nil, error_count: nil, error_items: nil, failed_at: nil, progress_path: nil, started_at: nil) ⇒ Object
A bulk operation entity.
|
|
# File 'lib/knockapi/models/bulk_operation.rb', line 97
|
Instance Attribute Details
#_typename ⇒ String
The typename of the schema.
17 |
# File 'lib/knockapi/models/bulk_operation.rb', line 17 required :_typename, String, api_name: :__typename |
#completed_at ⇒ Time?
Timestamp when the bulk operation was completed.
65 |
# File 'lib/knockapi/models/bulk_operation.rb', line 65 optional :completed_at, Time, nil?: true |
#error_count ⇒ Integer?
The number of failed operations.
71 |
# File 'lib/knockapi/models/bulk_operation.rb', line 71 optional :error_count, Integer |
#error_items ⇒ Array<Knockapi::Models::BulkOperation::ErrorItem>?
A list of items that failed to be processed.
77 |
# File 'lib/knockapi/models/bulk_operation.rb', line 77 optional :error_items, -> { Knockapi::Internal::Type::ArrayOf[Knockapi::BulkOperation::ErrorItem] } |
#estimated_total_rows ⇒ Integer
The estimated total number of rows to process.
23 |
# File 'lib/knockapi/models/bulk_operation.rb', line 23 required :estimated_total_rows, Integer |
#failed_at ⇒ Time?
Timestamp when the bulk operation failed.
83 |
# File 'lib/knockapi/models/bulk_operation.rb', line 83 optional :failed_at, Time, nil?: true |
#id ⇒ String
Unique identifier for the bulk operation.
11 |
# File 'lib/knockapi/models/bulk_operation.rb', line 11 required :id, String |
#inserted_at ⇒ Time
Timestamp when the resource was created.
29 |
# File 'lib/knockapi/models/bulk_operation.rb', line 29 required :inserted_at, Time |
#name ⇒ String
The name of the bulk operation.
35 |
# File 'lib/knockapi/models/bulk_operation.rb', line 35 required :name, String |
#processed_rows ⇒ Integer
The number of rows processed so far.
41 |
# File 'lib/knockapi/models/bulk_operation.rb', line 41 required :processed_rows, Integer |
#progress_path ⇒ String?
The URI to the bulk operation’s progress.
89 |
# File 'lib/knockapi/models/bulk_operation.rb', line 89 optional :progress_path, String |
#started_at ⇒ Time?
Timestamp when the bulk operation was started.
95 |
# File 'lib/knockapi/models/bulk_operation.rb', line 95 optional :started_at, Time, nil?: true |
#status ⇒ Symbol, Knockapi::Models::BulkOperation::Status
The status of the bulk operation.
47 |
# File 'lib/knockapi/models/bulk_operation.rb', line 47 required :status, enum: -> { Knockapi::BulkOperation::Status } |
#success_count ⇒ Integer
The number of successful operations.
53 |
# File 'lib/knockapi/models/bulk_operation.rb', line 53 required :success_count, Integer |
#updated_at ⇒ Time
The timestamp when the resource was last updated.
59 |
# File 'lib/knockapi/models/bulk_operation.rb', line 59 required :updated_at, Time |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/knockapi/models/bulk_operation.rb', line 141
|