Method: Coinbase::Client::FetchStakingRewards200Response#valid?

Defined in:
lib/coinbase/client/models/fetch_staking_rewards200_response.rb

#valid?Boolean

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

Returns:

  • (Boolean)

    true if the model is valid



114
115
116
117
118
119
120
# File 'lib/coinbase/client/models/fetch_staking_rewards200_response.rb', line 114

def valid?
  warn '[DEPRECATED] the `valid?` method is obsolete'
  return false if @data.nil?
  return false if @has_more.nil?
  return false if @next_page.nil?
  true
end