Class: Fog::Compute::Ecloud::PasswordComplexityRule

Inherits:
Ecloud::Model show all
Defined in:
lib/fog/ecloud/models/compute/password_complexity_rule.rb

Instance Attribute Summary

Attributes inherited from Ecloud::Model

#loaded

Attributes inherited from Model

#collection, #connection

Instance Method Summary collapse

Methods inherited from Ecloud::Model

#load_unless_loaded!, #reload

Methods inherited from Model

#initialize, #inspect, #reload, #symbolize_keys, #to_json, #wait_for

Methods included from Attributes::ClassMethods

#_load, #aliases, #attribute, #attributes, #identity, #ignore_attributes, #ignored_attributes

Methods included from Attributes::InstanceMethods

#_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

#idObject



43
44
45
# File 'lib/fog/ecloud/models/compute/password_complexity_rule.rb', line 43

def id
  href.scan(/\d+/)[0]
end

#maximum_consecutive_characters_from_prior_passwordObject



31
32
33
# File 'lib/fog/ecloud/models/compute/password_complexity_rule.rb', line 31

def maximum_consecutive_characters_from_prior_password
  custom_rules[:MaximumConsecutiveCharactersFromPriorPassword]
end

#minimum_charactersObject



11
12
13
# File 'lib/fog/ecloud/models/compute/password_complexity_rule.rb', line 11

def minimum_characters
  custom_rules[:MinimumCharacters]
end

#minimum_generations_before_reuseObject



39
40
41
# File 'lib/fog/ecloud/models/compute/password_complexity_rule.rb', line 39

def minimum_generations_before_reuse
  custom_rules[:MinimumGenerationsBeforeReuse]
end

#minimum_lifetime_restrictionObject



35
36
37
# File 'lib/fog/ecloud/models/compute/password_complexity_rule.rb', line 35

def minimum_lifetime_restriction
  custom_rules[:MinimumLifetimeRestriction]
end

#minimum_lower_case_charactersObject



19
20
21
# File 'lib/fog/ecloud/models/compute/password_complexity_rule.rb', line 19

def minimum_lower_case_characters
  custom_rules[:MinimumLowerCaseCharacters]
end

#minimum_numeric_charactersObject



23
24
25
# File 'lib/fog/ecloud/models/compute/password_complexity_rule.rb', line 23

def minimum_numeric_characters
  custom_rules[:MinimumNumericCharacters]
end

#minimum_special_charactersObject



27
28
29
# File 'lib/fog/ecloud/models/compute/password_complexity_rule.rb', line 27

def minimum_special_characters
  custom_rules[:MinimumSpecialCharacters]
end

#minimum_upper_case_charactersObject



15
16
17
# File 'lib/fog/ecloud/models/compute/password_complexity_rule.rb', line 15

def minimum_upper_case_characters
  custom_rules[:MinimumUpperCaseCharacters]
end