Class: Zitadel::Client::Models::OIDCServicePrompt
- Inherits:
-
Object
- Object
- Zitadel::Client::Models::OIDCServicePrompt
- Defined in:
- lib/zitadel/client/models/o_i_d_c_service_prompt.rb
Constant Summary collapse
- PROMPT_UNSPECIFIED =
"PROMPT_UNSPECIFIED".freeze
- PROMPT_NONE =
"PROMPT_NONE".freeze
- PROMPT_LOGIN =
"PROMPT_LOGIN".freeze
- PROMPT_CONSENT =
"PROMPT_CONSENT".freeze
- PROMPT_SELECT_ACCOUNT =
"PROMPT_SELECT_ACCOUNT".freeze
- PROMPT_CREATE =
"PROMPT_CREATE".freeze
Class Method Summary collapse
- .all_vars ⇒ Object
-
.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
.all_vars ⇒ Object
25 26 27 |
# File 'lib/zitadel/client/models/o_i_d_c_service_prompt.rb', line 25 def self.all_vars @all_vars ||= [PROMPT_UNSPECIFIED, PROMPT_NONE, PROMPT_LOGIN, PROMPT_CONSENT, PROMPT_SELECT_ACCOUNT, PROMPT_CREATE].freeze end |
.build_from_hash(value) ⇒ String
Builds the enum from string
32 33 34 |
# File 'lib/zitadel/client/models/o_i_d_c_service_prompt.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 |
# File 'lib/zitadel/client/models/o_i_d_c_service_prompt.rb', line 39 def build_from_hash(value) return value if OIDCServicePrompt.all_vars.include?(value) raise "Invalid ENUM value #{value} for class #Zitadel::Client::Models::OIDCServicePrompt" end |