Class: Fog::Compute::Ecloud::PasswordComplexityRule
- Inherits:
-
Ecloud::Model
show all
- Defined in:
- lib/rackspace-fog/ecloud/models/compute/password_complexity_rule.rb
Instance Attribute Summary
#loaded
Attributes inherited from Model
#collection, #connection
Instance Method Summary
collapse
#load_unless_loaded!, #reload
Methods inherited from Model
#initialize, #inspect, #reload, #symbolize_keys, #to_json, #wait_for
#_load, #aliases, #attribute, #attributes, #identity, #ignore_attributes, #ignored_attributes
#_dump, #attributes, #dup, #identity, #identity=, #merge_attributes, #new_record?, #requires, #requires_one
Constructor Details
This class inherits a constructor from Fog::Model
Instance Method Details
#id ⇒ Object
43
44
45
|
# File 'lib/rackspace-fog/ecloud/models/compute/password_complexity_rule.rb', line 43
def id
href.scan(/\d+/)[0]
end
|
#maximum_consecutive_characters_from_prior_password ⇒ Object
31
32
33
|
# File 'lib/rackspace-fog/ecloud/models/compute/password_complexity_rule.rb', line 31
def maximum_consecutive_characters_from_prior_password
custom_rules[:MaximumConsecutiveCharactersFromPriorPassword]
end
|
#minimum_characters ⇒ Object
11
12
13
|
# File 'lib/rackspace-fog/ecloud/models/compute/password_complexity_rule.rb', line 11
def minimum_characters
custom_rules[:MinimumCharacters]
end
|
#minimum_generations_before_reuse ⇒ Object
39
40
41
|
# File 'lib/rackspace-fog/ecloud/models/compute/password_complexity_rule.rb', line 39
def minimum_generations_before_reuse
custom_rules[:MinimumGenerationsBeforeReuse]
end
|
#minimum_lifetime_restriction ⇒ Object
35
36
37
|
# File 'lib/rackspace-fog/ecloud/models/compute/password_complexity_rule.rb', line 35
def minimum_lifetime_restriction
custom_rules[:MinimumLifetimeRestriction]
end
|
#minimum_lower_case_characters ⇒ Object
19
20
21
|
# File 'lib/rackspace-fog/ecloud/models/compute/password_complexity_rule.rb', line 19
def minimum_lower_case_characters
custom_rules[:MinimumLowerCaseCharacters]
end
|
#minimum_numeric_characters ⇒ Object
23
24
25
|
# File 'lib/rackspace-fog/ecloud/models/compute/password_complexity_rule.rb', line 23
def minimum_numeric_characters
custom_rules[:MinimumNumericCharacters]
end
|
#minimum_special_characters ⇒ Object
27
28
29
|
# File 'lib/rackspace-fog/ecloud/models/compute/password_complexity_rule.rb', line 27
def minimum_special_characters
custom_rules[:MinimumSpecialCharacters]
end
|
#minimum_upper_case_characters ⇒ Object
15
16
17
|
# File 'lib/rackspace-fog/ecloud/models/compute/password_complexity_rule.rb', line 15
def minimum_upper_case_characters
custom_rules[:MinimumUpperCaseCharacters]
end
|