Method: TurnkeyClient::ImportPrivateKeyIntent#list_invalid_properties

Defined in:
lib/turnkey_client/models/import_private_key_intent.rb

#list_invalid_propertiesObject

Show invalid properties with the reasons. Usually used together with valid?

Returns:

  • Array for valid properties with the reasons



98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
# File 'lib/turnkey_client/models/import_private_key_intent.rb', line 98

def list_invalid_properties
  invalid_properties = Array.new
  if @user_id.nil?
    invalid_properties.push('invalid value for "user_id", user_id cannot be nil.')
  end

  if @private_key_name.nil?
    invalid_properties.push('invalid value for "private_key_name", private_key_name cannot be nil.')
  end

  if @encrypted_bundle.nil?
    invalid_properties.push('invalid value for "encrypted_bundle", encrypted_bundle cannot be nil.')
  end

  if @curve.nil?
    invalid_properties.push('invalid value for "curve", curve cannot be nil.')
  end

  if @address_formats.nil?
    invalid_properties.push('invalid value for "address_formats", address_formats cannot be nil.')
  end

  invalid_properties
end