Class: Zavudev::Models::FunctionDeployResponse::Deployment
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Zavudev::Models::FunctionDeployResponse::Deployment
- Defined in:
- lib/zavudev/models/function_deploy_response.rb,
sig/zavudev/models/function_deploy_response.rbs
Overview
Defined Under Namespace
Modules: Status
Instance Attribute Summary collapse
-
#build_logs ⇒ String?
What the build printed: dependency installation, the bundler's output, and the compiler's message when it failed.
-
#bundle_bytes ⇒ Integer?
Size of the built bundle in bytes.
- #created_at ⇒ Time
- #deployed_at ⇒ Time?
-
#error_message ⇒ String?
Failure reason when status is 'failed'.
- #function_id ⇒ String
- #id ⇒ String
-
#source_code_bytes ⇒ Integer?
Total size of the deployed source tree in bytes.
-
#status ⇒ Symbol, Zavudev::Models::FunctionDeployResponse::Deployment::Status
Stage of a function deployment.
-
#version ⇒ Integer
Monotonically increasing deployment version, starting at 1.
Instance Method Summary collapse
-
#initialize(id:, created_at:, function_id:, status:, version:, build_logs: nil, bundle_bytes: nil, deployed_at: nil, error_message: nil, source_code_bytes: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see Deployment for more details.
- #to_hash ⇒ {
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:, created_at:, function_id:, status:, version:, build_logs: nil, bundle_bytes: nil, deployed_at: nil, error_message: nil, source_code_bytes: nil) ⇒ Object
Some parameter documentations has been truncated, see Zavudev::Models::FunctionDeployResponse::Deployment for more details.
|
|
# File 'lib/zavudev/models/function_deploy_response.rb', line 77
|
Instance Attribute Details
#build_logs ⇒ String?
What the build printed: dependency installation, the bundler's output, and the
compiler's message when it failed. Returned when fetching a single deployment,
omitted from the list. Read this first when a deploy fails — errorMessage is
often the outer wrapper's summary, and the line that names the broken import or
the syntax error is here.
52 |
# File 'lib/zavudev/models/function_deploy_response.rb', line 52 optional :build_logs, String, api_name: :buildLogs, nil?: true |
#bundle_bytes ⇒ Integer?
Size of the built bundle in bytes. Null until the build finishes.
58 |
# File 'lib/zavudev/models/function_deploy_response.rb', line 58 optional :bundle_bytes, Integer, api_name: :bundleBytes, nil?: true |
#created_at ⇒ Time
25 |
# File 'lib/zavudev/models/function_deploy_response.rb', line 25 required :created_at, Time, api_name: :createdAt |
#deployed_at ⇒ Time?
63 |
# File 'lib/zavudev/models/function_deploy_response.rb', line 63 optional :deployed_at, Time, api_name: :deployedAt, nil?: true |
#error_message ⇒ String?
Failure reason when status is 'failed'.
69 |
# File 'lib/zavudev/models/function_deploy_response.rb', line 69 optional :error_message, String, api_name: :errorMessage, nil?: true |
#function_id ⇒ String
30 |
# File 'lib/zavudev/models/function_deploy_response.rb', line 30 required :function_id, String, api_name: :functionId |
#id ⇒ String
20 |
# File 'lib/zavudev/models/function_deploy_response.rb', line 20 required :id, String |
#source_code_bytes ⇒ Integer?
Total size of the deployed source tree in bytes.
75 |
# File 'lib/zavudev/models/function_deploy_response.rb', line 75 optional :source_code_bytes, Integer, api_name: :sourceCodeBytes, nil?: true |
#status ⇒ Symbol, Zavudev::Models::FunctionDeployResponse::Deployment::Status
Stage of a function deployment.
36 |
# File 'lib/zavudev/models/function_deploy_response.rb', line 36 required :status, enum: -> { Zavudev::Models::FunctionDeployResponse::Deployment::Status } |
#version ⇒ Integer
Monotonically increasing deployment version, starting at 1.
42 |
# File 'lib/zavudev/models/function_deploy_response.rb', line 42 required :version, Integer |
Instance Method Details
#to_hash ⇒ {
65 |
# File 'sig/zavudev/models/function_deploy_response.rbs', line 65
def to_hash: -> {
|