Class: Sink::Resources::ConfigTools

Inherits:
Object
  • Object
show all
Defined in:
lib/sink/resources/config_tools.rb,
lib/sink/resources/config_tools/parent_with_skip_node_python.rb,
lib/sink/resources/config_tools/parent_with_skip_node_python/child_only_skip_python.rb

Defined Under Namespace

Classes: ParentWithSkipNodePython

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(client:) ⇒ ConfigTools

Returns a new instance of ConfigTools.

Parameters:



10
11
12
13
# File 'lib/sink/resources/config_tools.rb', line 10

def initialize(client:)
  @client = client
  @parent_with_skip_node_python = Sink::Resources::ConfigTools::ParentWithSkipNodePython.new(client: client)
end

Instance Attribute Details

#parent_with_skip_node_pythonSink::Resources::ConfigTools::ParentWithSkipNodePython (readonly)



7
8
9
# File 'lib/sink/resources/config_tools.rb', line 7

def parent_with_skip_node_python
  @parent_with_skip_node_python
end

Instance Method Details

#model_ref_from_nested_response_body(opts = {}) ⇒ Sink::Models::ConfigToolModelRefFromNestedResponseBodyResponse

Parameters:

  • opts (Hash, Sink::RequestOptions) (defaults to: {})

    Options to specify HTTP behaviour for this request.

Returns:



18
19
20
21
22
23
24
25
# File 'lib/sink/resources/config_tools.rb', line 18

def model_ref_from_nested_response_body(opts = {})
  req = {
    method: :get,
    path: "/config_tools/model_refs/from_nested_response",
    model: Sink::Models::ConfigToolModelRefFromNestedResponseBodyResponse
  }
  @client.request(req, opts)
end

#model_ref_from_schemas(opts = {}) ⇒ Sink::Models::ModelFromSchemasRef

Parameters:

  • opts (Hash, Sink::RequestOptions) (defaults to: {})

    Options to specify HTTP behaviour for this request.

Returns:



30
31
32
33
34
35
36
37
# File 'lib/sink/resources/config_tools.rb', line 30

def model_ref_from_schemas(opts = {})
  req = {
    method: :get,
    path: "/config_tools/model_refs/from_schemas",
    model: Sink::Models::ModelFromSchemasRef
  }
  @client.request(req, opts)
end