Class: Zitadel::Client::Models::BetaAppServiceApplicationKeysSorting
- Inherits:
-
Object
- Object
- Zitadel::Client::Models::BetaAppServiceApplicationKeysSorting
- Defined in:
- lib/zitadel/client/models/beta_app_service_application_keys_sorting.rb
Constant Summary collapse
- APPLICATION_KEYS_SORT_BY_ID =
"APPLICATION_KEYS_SORT_BY_ID".freeze
- APPLICATION_KEYS_SORT_BY_PROJECT_ID =
"APPLICATION_KEYS_SORT_BY_PROJECT_ID".freeze
- APPLICATION_KEYS_SORT_BY_APPLICATION_ID =
"APPLICATION_KEYS_SORT_BY_APPLICATION_ID".freeze
- APPLICATION_KEYS_SORT_BY_CREATION_DATE =
"APPLICATION_KEYS_SORT_BY_CREATION_DATE".freeze
- APPLICATION_KEYS_SORT_BY_ORGANIZATION_ID =
"APPLICATION_KEYS_SORT_BY_ORGANIZATION_ID".freeze
- APPLICATION_KEYS_SORT_BY_EXPIRATION =
"APPLICATION_KEYS_SORT_BY_EXPIRATION".freeze
- APPLICATION_KEYS_SORT_BY_TYPE =
"APPLICATION_KEYS_SORT_BY_TYPE".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
26 27 28 |
# File 'lib/zitadel/client/models/beta_app_service_application_keys_sorting.rb', line 26 def self.all_vars @all_vars ||= [APPLICATION_KEYS_SORT_BY_ID, APPLICATION_KEYS_SORT_BY_PROJECT_ID, APPLICATION_KEYS_SORT_BY_APPLICATION_ID, APPLICATION_KEYS_SORT_BY_CREATION_DATE, APPLICATION_KEYS_SORT_BY_ORGANIZATION_ID, APPLICATION_KEYS_SORT_BY_EXPIRATION, APPLICATION_KEYS_SORT_BY_TYPE].freeze end |
.build_from_hash(value) ⇒ String
Builds the enum from string
33 34 35 |
# File 'lib/zitadel/client/models/beta_app_service_application_keys_sorting.rb', line 33 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
40 41 42 43 |
# File 'lib/zitadel/client/models/beta_app_service_application_keys_sorting.rb', line 40 def build_from_hash(value) return value if BetaAppServiceApplicationKeysSorting.all_vars.include?(value) raise "Invalid ENUM value #{value} for class #Zitadel::Client::Models::BetaAppServiceApplicationKeysSorting" end |