class NexosisApi::DatasetListQuery
class to hold the query options for list datasets @since 3.0.0 @see developers.nexosis.com/docs/services/98847a3fbbe64f73aa959d3cededb3af/operations/datasets-list-all? @note - sort by properties include dataSetName, dataSetSize, rowCount, dateCreated, and lastModified
Attributes
partial_name[RW]
The name or part of a name by which to limit the list results. @return [String]
Public Class Methods
new(options = {})
click to toggle source
Calls superclass method
NexosisApi::ListQuery::new
# File lib/nexosis_api/list_queries.rb, line 64 def initialize(options = {}) @partial_name = options[:partial_name] if options.key? :partial_name super(options, :partial_name) end
Public Instance Methods
query_parameters()
click to toggle source
A hash suitable for using as the query portion of an HTTP request to the API @return [Hash]
# File lib/nexosis_api/list_queries.rb, line 72 def query_parameters parm_hash = {} parm_hash.store(:partialName, @partial_name) unless @partial_name.nil? self.to_hash.merge(parm_hash) end