Class: CnsOpenapiRubyClient::ProcessCodeType
- Inherits:
-
Object
- Object
- CnsOpenapiRubyClient::ProcessCodeType
- Defined in:
- lib/cns_openapi_ruby_client/models/process_code_type.rb
Constant Summary collapse
- New =
"01".freeze
- ChangedName =
"11".freeze
- ChangedDomesticAddress =
"12".freeze
- ChangedForeignAddress =
"13".freeze
- Closed =
"21".freeze
- ReActived =
"22".freeze
- AbsorbedAndMerged =
"71".freeze
- InvalidAbsorbedAndMerged =
"72".freeze
- DeletedTradeName =
"81".freeze
- Deleted =
"99".freeze
Class Method Summary collapse
-
.build_from_hash(value) ⇒ String
Builds the enum from string.
Instance Method Summary collapse
-
#build_from_hash(value) ⇒ String
Builds the enum from string.
Class Method Details
.build_from_hash(value) ⇒ String
Builds the enum from string
32 33 34 |
# File 'lib/cns_openapi_ruby_client/models/process_code_type.rb', line 32 def self.build_from_hash(value) new.build_from_hash(value) end |
Instance Method Details
#build_from_hash(value) ⇒ String
Builds the enum from string
39 40 41 42 43 |
# File 'lib/cns_openapi_ruby_client/models/process_code_type.rb', line 39 def build_from_hash(value) constantValues = ProcessCodeType.constants.select { |c| ProcessCodeType::const_get(c) == value } raise "Invalid ENUM value #{value} for class #ProcessCodeType" if constantValues.empty? value end |