Method: SDM::SecretEnginePasswordPolicy#initialize

Defined in:
lib/models/porcelain.rb

#initialize(allow_repeat: nil, exclude_characters: nil, exclude_upper_case: nil, length: nil, num_digits: nil, num_symbols: nil) ⇒ SecretEnginePasswordPolicy

Returns a new instance of SecretEnginePasswordPolicy.



13829
13830
13831
13832
13833
13834
13835
13836
13837
13838
13839
13840
13841
13842
13843
# File 'lib/models/porcelain.rb', line 13829

def initialize(
  allow_repeat: nil,
  exclude_characters: nil,
  exclude_upper_case: nil,
  length: nil,
  num_digits: nil,
  num_symbols: nil
)
  @allow_repeat = allow_repeat == nil ? false : allow_repeat
  @exclude_characters = exclude_characters == nil ? "" : exclude_characters
  @exclude_upper_case = exclude_upper_case == nil ? false : exclude_upper_case
  @length = length == nil ? 0 : length
  @num_digits = num_digits == nil ? 0 : num_digits
  @num_symbols = num_symbols == nil ? 0 : num_symbols
end