Class: Zavudev::Models::FunctionGetDeploymentResponse::Deployment
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Zavudev::Models::FunctionGetDeploymentResponse::Deployment
- Defined in:
- lib/zavudev/models/function_get_deployment_response.rb
Overview
Defined Under Namespace
Modules: Status
Instance Attribute Summary collapse
- #bundle_bytes ⇒ Integer?
- #created_at ⇒ Time
- #deployed_at ⇒ Time?
-
#error_message ⇒ String?
Failure reason when status is ‘failed’.
- #function_id ⇒ String
- #id ⇒ String
- #source_code_bytes ⇒ Integer?
-
#status ⇒ Symbol, Zavudev::Models::FunctionGetDeploymentResponse::Deployment::Status
Stage of a function deployment.
-
#version ⇒ Integer
Monotonically increasing deployment version, starting at 1.
Instance Method Summary collapse
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:, bundle_bytes: nil, deployed_at: nil, error_message: nil, source_code_bytes: nil) ⇒ Object
|
|
# File 'lib/zavudev/models/function_get_deployment_response.rb', line 65
|
Instance Attribute Details
#bundle_bytes ⇒ Integer?
47 |
# File 'lib/zavudev/models/function_get_deployment_response.rb', line 47 optional :bundle_bytes, Integer, api_name: :bundleBytes, nil?: true |
#created_at ⇒ Time
25 |
# File 'lib/zavudev/models/function_get_deployment_response.rb', line 25 required :created_at, Time, api_name: :createdAt |
#deployed_at ⇒ Time?
52 |
# File 'lib/zavudev/models/function_get_deployment_response.rb', line 52 optional :deployed_at, Time, api_name: :deployedAt, nil?: true |
#error_message ⇒ String?
Failure reason when status is ‘failed’.
58 |
# File 'lib/zavudev/models/function_get_deployment_response.rb', line 58 optional :error_message, String, api_name: :errorMessage, nil?: true |
#function_id ⇒ String
30 |
# File 'lib/zavudev/models/function_get_deployment_response.rb', line 30 required :function_id, String, api_name: :functionId |
#id ⇒ String
20 |
# File 'lib/zavudev/models/function_get_deployment_response.rb', line 20 required :id, String |
#source_code_bytes ⇒ Integer?
63 |
# File 'lib/zavudev/models/function_get_deployment_response.rb', line 63 optional :source_code_bytes, Integer, api_name: :sourceCodeBytes, nil?: true |
#status ⇒ Symbol, Zavudev::Models::FunctionGetDeploymentResponse::Deployment::Status
Stage of a function deployment.
36 |
# File 'lib/zavudev/models/function_get_deployment_response.rb', line 36 required :status, enum: -> { Zavudev::Models::FunctionGetDeploymentResponse::Deployment::Status } |
#version ⇒ Integer
Monotonically increasing deployment version, starting at 1.
42 |
# File 'lib/zavudev/models/function_get_deployment_response.rb', line 42 required :version, Integer |