Method: GongAPI::GenericDealStageRequest#valid?

Defined in:
lib/gong_api/models/generic_deal_stage_request.rb

#valid?Boolean

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

Returns:

  • (Boolean)

    true if the model is valid



111
112
113
114
115
116
117
# File 'lib/gong_api/models/generic_deal_stage_request.rb', line 111

def valid?
  return false if @internal_name.nil?
  return false if @is_active.nil?
  return false if @name.nil?
  return false if @sort_order.nil?
  true
end