Method: OpenapiClient::ConnectStampsRequestBody#valid?

Defined in:
lib/openapi_client/models/connect_stamps_request_body.rb

#valid?Boolean

Check to see if the all the properties in the model are valid

Returns:

  • (Boolean)

    true if the model is valid



112
113
114
115
116
117
118
119
120
# File 'lib/openapi_client/models/connect_stamps_request_body.rb', line 112

def valid?
  return false if @nickname.nil?
  return false if @nickname.to_s.length < 1
  return false if @username.nil?
  return false if @username.to_s.length < 1
  return false if @password.nil?
  return false if @password.to_s.length < 1
  true
end