test-test-sink-test-test 0.0.2.pre.alpha.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README.md +151 -0
- data/lib/sink/base_client.rb +404 -0
- data/lib/sink/base_model.rb +226 -0
- data/lib/sink/client.rb +391 -0
- data/lib/sink/fake_page.rb +44 -0
- data/lib/sink/models/address.rb +55 -0
- data/lib/sink/models/allof_base_parent.rb +18 -0
- data/lib/sink/models/allof_multiple_inline_entries.rb +15 -0
- data/lib/sink/models/api_status.rb +18 -0
- data/lib/sink/models/array_float_items_response.rb +6 -0
- data/lib/sink/models/array_missing_items_response.rb +18 -0
- data/lib/sink/models/array_object_items.rb +18 -0
- data/lib/sink/models/array_object_items_response.rb +18 -0
- data/lib/sink/models/array_recursion.rb +6 -0
- data/lib/sink/models/balance.rb +18 -0
- data/lib/sink/models/basic_shared_model_object.rb +23 -0
- data/lib/sink/models/body_param_top_level_all_of_response.rb +28 -0
- data/lib/sink/models/body_param_top_level_any_of_response.rb +6 -0
- data/lib/sink/models/body_param_top_level_one_of_response.rb +6 -0
- data/lib/sink/models/body_param_union_overlapping_prop_response.rb +19 -0
- data/lib/sink/models/card.rb +211 -0
- data/lib/sink/models/card_list_response.rb +36 -0
- data/lib/sink/models/card_provision_foo_response.rb +18 -0
- data/lib/sink/models/child_inlined_response_response.rb +18 -0
- data/lib/sink/models/child_model.rb +36 -0
- data/lib/sink/models/class_.rb +18 -0
- data/lib/sink/models/client.rb +23 -0
- data/lib/sink/models/company.rb +18 -0
- data/lib/sink/models/company_payment.rb +18 -0
- data/lib/sink/models/complex_query_array_query_response.rb +26 -0
- data/lib/sink/models/config_tool_model_ref_from_nested_response_body_response.rb +32 -0
- data/lib/sink/models/currency.rb +23 -0
- data/lib/sink/models/decorator_test_keep_me_response.rb +18 -0
- data/lib/sink/models/docstring_leading_double_quote_response.rb +20 -0
- data/lib/sink/models/docstring_trailing_double_quote_response.rb +32 -0
- data/lib/sink/models/documents.rb +23 -0
- data/lib/sink/models/eeoc.rb +18 -0
- data/lib/sink/models/employment_data.rb +18 -0
- data/lib/sink/models/enum_basic_response.rb +62 -0
- data/lib/sink/models/envelope_inline_response_response.rb +18 -0
- data/lib/sink/models/envelope_wrapped_array_response.rb +6 -0
- data/lib/sink/models/export.rb +19 -0
- data/lib/sink/models/file_create_multipart_response.rb +18 -0
- data/lib/sink/models/file_everything_multipart_response.rb +19 -0
- data/lib/sink/models/file_no_file_multipart_response.rb +18 -0
- data/lib/sink/models/file_with_optional_param_response.rb +18 -0
- data/lib/sink/models/funding_account.rb +100 -0
- data/lib/sink/models/import.rb +18 -0
- data/lib/sink/models/interface.rb +18 -0
- data/lib/sink/models/keep_this_resource_keep_this_method_response.rb +19 -0
- data/lib/sink/models/make_ambiguous_schemas_explicit_make_ambiguous_schemas_explicit_response.rb +45 -0
- data/lib/sink/models/make_ambiguous_schemas_looser_make_ambiguous_schemas_looser_response.rb +45 -0
- data/lib/sink/models/map_nullable_items_response.rb +28 -0
- data/lib/sink/models/method_config_skipped_tests_all_response.rb +19 -0
- data/lib/sink/models/method_config_skipped_tests_go_response.rb +19 -0
- data/lib/sink/models/method_config_skipped_tests_java_response.rb +19 -0
- data/lib/sink/models/method_config_skipped_tests_kotlin_response.rb +19 -0
- data/lib/sink/models/method_config_skipped_tests_node_and_python_response.rb +19 -0
- data/lib/sink/models/method_config_skipped_tests_node_response.rb +19 -0
- data/lib/sink/models/method_config_skipped_tests_python_response.rb +19 -0
- data/lib/sink/models/method_config_skipped_tests_ruby_response.rb +19 -0
- data/lib/sink/models/model_from_nested_path.rb +39 -0
- data/lib/sink/models/model_from_nested_response_body_ref.rb +18 -0
- data/lib/sink/models/model_from_schemas_ref.rb +18 -0
- data/lib/sink/models/model_from_schemas_ref_openapi_uri.rb +18 -0
- data/lib/sink/models/model_from_schemas_ref_openapi_uri_jmespath.rb +19 -0
- data/lib/sink/models/model_from_schemas_ref_openapi_uri_jsonpath.rb +19 -0
- data/lib/sink/models/model_level_1.rb +22 -0
- data/lib/sink/models/model_level_2.rb +22 -0
- data/lib/sink/models/model_level_3.rb +22 -0
- data/lib/sink/models/model_referenced_in_parent_and_child.rb +19 -0
- data/lib/sink/models/model_with_nested_model.rb +24 -0
- data/lib/sink/models/my_model.rb +18 -0
- data/lib/sink/models/name_child_prop_import_clash_response.rb +37 -0
- data/lib/sink/models/name_properties_common_conflicts_response.rb +84 -0
- data/lib/sink/models/name_properties_illegal_go_identifiers_response.rb +19 -0
- data/lib/sink/models/name_properties_illegal_javascript_identifiers_response.rb +6 -0
- data/lib/sink/models/name_response_property_clashes_model_import_response.rb +24 -0
- data/lib/sink/models/name_response_shadows_pydantic_response.rb +24 -0
- data/lib/sink/models/nested_request_model_a.rb +18 -0
- data/lib/sink/models/nested_request_model_b.rb +18 -0
- data/lib/sink/models/nested_request_model_c.rb +31 -0
- data/lib/sink/models/object_missing_items_response.rb +18 -0
- data/lib/sink/models/object_mixed_known_and_unknown_response.rb +19 -0
- data/lib/sink/models/object_multiple_array_properties_same_ref_response.rb +73 -0
- data/lib/sink/models/object_multiple_properties_same_model_response.rb +29 -0
- data/lib/sink/models/object_multiple_properties_same_ref_response.rb +68 -0
- data/lib/sink/models/object_skipped_props.rb +38 -0
- data/lib/sink/models/object_two_dimensional_array_primitive_property_response.rb +34 -0
- data/lib/sink/models/object_with_any_of_null_property.rb +31 -0
- data/lib/sink/models/object_with_child_ref.rb +23 -0
- data/lib/sink/models/object_with_one_of_null_property.rb +31 -0
- data/lib/sink/models/object_with_union_properties.rb +23 -0
- data/lib/sink/models/openapi_format_array_type_one_entry_response.rb +19 -0
- data/lib/sink/models/openapi_format_array_type_one_entry_with_null_response.rb +19 -0
- data/lib/sink/models/openapi_special_used_used_as_property_name_response.rb +19 -0
- data/lib/sink/models/page_cursor_shared_ref_pagination.rb +23 -0
- data/lib/sink/models/parent_model_with_child_ref.rb +28 -0
- data/lib/sink/models/path_param_colon_suffix_response.rb +18 -0
- data/lib/sink/models/path_param_file_extension_response.rb +18 -0
- data/lib/sink/models/path_param_multiple_response.rb +18 -0
- data/lib/sink/models/path_param_query_param_response.rb +18 -0
- data/lib/sink/models/path_param_singular_response.rb +18 -0
- data/lib/sink/models/primitive_strings_response.rb +18 -0
- data/lib/sink/models/private.rb +18 -0
- data/lib/sink/models/public.rb +18 -0
- data/lib/sink/models/recursion_create_envelope_response.rb +19 -0
- data/lib/sink/models/response_allof_simple_response.rb +23 -0
- data/lib/sink/models/response_array_object_with_union_properties_response.rb +6 -0
- data/lib/sink/models/response_array_response_response.rb +6 -0
- data/lib/sink/models/response_missing_required_response.rb +24 -0
- data/lib/sink/models/response_nested_array_response.rb +36 -0
- data/lib/sink/models/response_object_all_properties_response.rb +65 -0
- data/lib/sink/models/response_object_no_properties_response.rb +14 -0
- data/lib/sink/models/response_object_with_additional_properties_prop_response.rb +32 -0
- data/lib/sink/models/response_object_with_heavily_nested_union_response.rb +19 -0
- data/lib/sink/models/response_only_read_only_properties_response.rb +25 -0
- data/lib/sink/models/responses_allof_cross_object.rb +23 -0
- data/lib/sink/models/return_.rb +18 -0
- data/lib/sink/models/root_response.rb +31 -0
- data/lib/sink/models/self_recursion.rb +23 -0
- data/lib/sink/models/shared_cursor_nested_response_prop_meta.rb +33 -0
- data/lib/sink/models/shared_self_recursion.rb +23 -0
- data/lib/sink/models/shipping_address.rb +85 -0
- data/lib/sink/models/simple_allof.rb +28 -0
- data/lib/sink/models/simple_object.rb +32 -0
- data/lib/sink/models/skip_this_resource_i_never_appear_response.rb +19 -0
- data/lib/sink/models/streaming_basic_response.rb +23 -0
- data/lib/sink/models/streaming_nested_params_response.rb +23 -0
- data/lib/sink/models/streaming_no_discriminator_response.rb +24 -0
- data/lib/sink/models/streaming_query_param_discriminator_response.rb +24 -0
- data/lib/sink/models/streaming_with_unrelated_default_param_response.rb +24 -0
- data/lib/sink/models/type_dates_response.rb +38 -0
- data/lib/sink/models/type_datetimes_response.rb +38 -0
- data/lib/sink/models/union_discriminated_variant_a.rb +27 -0
- data/lib/sink/models/union_discriminated_variant_b.rb +27 -0
- data/lib/sink/models/union_response_discriminated_by_property_name_response.rb +6 -0
- data/lib/sink/models/union_response_discriminated_with_basic_mapping_response.rb +6 -0
- data/lib/sink/models/union_type_mixed_types_response.rb +6 -0
- data/lib/sink/models/union_type_nullable_union_response.rb +6 -0
- data/lib/sink/models/union_type_objects_response.rb +6 -0
- data/lib/sink/models/union_type_super_mixed_types_response.rb +6 -0
- data/lib/sink/models/union_type_unknown_variant_response.rb +6 -0
- data/lib/sink/models/version_1_30_name_create_response.rb +18 -0
- data/lib/sink/models/widget.rb +19 -0
- data/lib/sink/models/write_only_response_simple_response.rb +21 -0
- data/lib/sink/page_cursor.rb +54 -0
- data/lib/sink/page_cursor_from_headers.rb +54 -0
- data/lib/sink/page_cursor_id.rb +50 -0
- data/lib/sink/page_cursor_nested_items.rb +84 -0
- data/lib/sink/page_cursor_nested_object_ref.rb +71 -0
- data/lib/sink/page_cursor_shared_ref.rb +72 -0
- data/lib/sink/page_cursor_top_level_array.rb +51 -0
- data/lib/sink/page_cursor_url.rb +51 -0
- data/lib/sink/page_cursor_with_reverse.rb +58 -0
- data/lib/sink/page_offset.rb +54 -0
- data/lib/sink/page_offset_no_start_field.rb +50 -0
- data/lib/sink/page_offset_total_count.rb +58 -0
- data/lib/sink/page_page_number.rb +58 -0
- data/lib/sink/page_page_number_without_current_page_response.rb +50 -0
- data/lib/sink/pooled_net_requester.rb +72 -0
- data/lib/sink/request_options.rb +89 -0
- data/lib/sink/resources/body_params/objects.rb +34 -0
- data/lib/sink/resources/body_params/unions.rb +34 -0
- data/lib/sink/resources/body_params.rb +630 -0
- data/lib/sink/resources/cards.rb +508 -0
- data/lib/sink/resources/casing/eeoc.rb +34 -0
- data/lib/sink/resources/casing.rb +16 -0
- data/lib/sink/resources/clients.rb +30 -0
- data/lib/sink/resources/company/payments.rb +30 -0
- data/lib/sink/resources/company.rb +18 -0
- data/lib/sink/resources/complex_queries.rb +60 -0
- data/lib/sink/resources/config_tools/parent_with_skip_node_python/child_only_skip_python.rb +99 -0
- data/lib/sink/resources/config_tools/parent_with_skip_node_python.rb +101 -0
- data/lib/sink/resources/config_tools.rb +40 -0
- data/lib/sink/resources/decorator_tests/keep_this_resource.rb +29 -0
- data/lib/sink/resources/decorator_tests/languages.rb +59 -0
- data/lib/sink/resources/decorator_tests/skip_this_resource.rb +28 -0
- data/lib/sink/resources/decorator_tests.rb +38 -0
- data/lib/sink/resources/deeply_nested/level_one/level_two/level_three.rb +33 -0
- data/lib/sink/resources/deeply_nested/level_one/level_two.rb +35 -0
- data/lib/sink/resources/deeply_nested/level_one.rb +33 -0
- data/lib/sink/resources/deeply_nested.rb +16 -0
- data/lib/sink/resources/docstrings.rb +82 -0
- data/lib/sink/resources/empty_body.rb +60 -0
- data/lib/sink/resources/envelopes.rb +74 -0
- data/lib/sink/resources/files.rb +101 -0
- data/lib/sink/resources/header_params.rb +81 -0
- data/lib/sink/resources/invalid_schemas/arrays.rb +26 -0
- data/lib/sink/resources/invalid_schemas/objects.rb +26 -0
- data/lib/sink/resources/invalid_schemas.rb +20 -0
- data/lib/sink/resources/make_ambiguous_schemas_explicit.rb +26 -0
- data/lib/sink/resources/make_ambiguous_schemas_looser.rb +26 -0
- data/lib/sink/resources/method_config.rb +167 -0
- data/lib/sink/resources/mixed_params/duplicates.rb +79 -0
- data/lib/sink/resources/mixed_params.rb +88 -0
- data/lib/sink/resources/model_referenced_in_parent_and_child/child.rb +26 -0
- data/lib/sink/resources/model_referenced_in_parent_and_child.rb +28 -0
- data/lib/sink/resources/names/can_cause_clashes/employment_data.rb +16 -0
- data/lib/sink/resources/names/can_cause_clashes/response.rb +32 -0
- data/lib/sink/resources/names/can_cause_clashes.rb +23 -0
- data/lib/sink/resources/names/documents.rb +28 -0
- data/lib/sink/resources/names/openapi_specials.rb +26 -0
- data/lib/sink/resources/names/params.rb +52 -0
- data/lib/sink/resources/names/reserved_names/import.rb +31 -0
- data/lib/sink/resources/names/reserved_names/methods.rb +40 -0
- data/lib/sink/resources/names/reserved_names/public/class_.rb +30 -0
- data/lib/sink/resources/names/reserved_names/public/interface.rb +30 -0
- data/lib/sink/resources/names/reserved_names/public/private.rb +30 -0
- data/lib/sink/resources/names/reserved_names/public.rb +40 -0
- data/lib/sink/resources/names/reserved_names.rb +46 -0
- data/lib/sink/resources/names.rb +170 -0
- data/lib/sink/resources/openapi_formats.rb +53 -0
- data/lib/sink/resources/pagination_tests/cursor.rb +57 -0
- data/lib/sink/resources/pagination_tests/cursor_id.rb +34 -0
- data/lib/sink/resources/pagination_tests/cursor_url.rb +34 -0
- data/lib/sink/resources/pagination_tests/fake_pages.rb +33 -0
- data/lib/sink/resources/pagination_tests/items_types.rb +34 -0
- data/lib/sink/resources/pagination_tests/nested_items.rb +34 -0
- data/lib/sink/resources/pagination_tests/offset.rb +74 -0
- data/lib/sink/resources/pagination_tests/page_number.rb +54 -0
- data/lib/sink/resources/pagination_tests/page_number_without_current_page_response.rb +55 -0
- data/lib/sink/resources/pagination_tests/refs.rb +55 -0
- data/lib/sink/resources/pagination_tests/response_headers.rb +34 -0
- data/lib/sink/resources/pagination_tests/schema_types.rb +54 -0
- data/lib/sink/resources/pagination_tests/top_level_arrays.rb +34 -0
- data/lib/sink/resources/pagination_tests.rb +64 -0
- data/lib/sink/resources/parent/child.rb +30 -0
- data/lib/sink/resources/parent.rb +18 -0
- data/lib/sink/resources/path_params.rb +210 -0
- data/lib/sink/resources/positional_params.rb +237 -0
- data/lib/sink/resources/query_params.rb +166 -0
- data/lib/sink/resources/recursion/shared_responses.rb +26 -0
- data/lib/sink/resources/recursion.rb +68 -0
- data/lib/sink/resources/resource_refs/paginated_model_first_ref.rb +14 -0
- data/lib/sink/resources/resource_refs/paginated_model_second_ref.rb +14 -0
- data/lib/sink/resources/resource_refs/parent/child.rb +31 -0
- data/lib/sink/resources/resource_refs/parent.rb +32 -0
- data/lib/sink/resources/resource_refs.rb +24 -0
- data/lib/sink/resources/resources.rb +26 -0
- data/lib/sink/resources/responses/union_types.rb +98 -0
- data/lib/sink/resources/responses.rb +319 -0
- data/lib/sink/resources/shared_query_params.rb +48 -0
- data/lib/sink/resources/streaming.rb +106 -0
- data/lib/sink/resources/testing.rb +24 -0
- data/lib/sink/resources/tests.rb +26 -0
- data/lib/sink/resources/tools.rb +33 -0
- data/lib/sink/resources/types/allofs.rb +14 -0
- data/lib/sink/resources/types/arrays.rb +62 -0
- data/lib/sink/resources/types/enums.rb +95 -0
- data/lib/sink/resources/types/maps.rb +29 -0
- data/lib/sink/resources/types/objects.rb +105 -0
- data/lib/sink/resources/types/primitives.rb +34 -0
- data/lib/sink/resources/types/read_only_params.rb +34 -0
- data/lib/sink/resources/types/unions.rb +126 -0
- data/lib/sink/resources/types/write_only_responses.rb +28 -0
- data/lib/sink/resources/types.rb +95 -0
- data/lib/sink/resources/undocumented_resource.rb +47 -0
- data/lib/sink/resources/version_1_30_names.rb +41 -0
- data/lib/sink/resources/widgets.rb +30 -0
- data/lib/sink/util.rb +78 -0
- data/lib/sink/version.rb +5 -0
- data/lib/sink.rb +276 -0
- metadata +322 -0
@@ -0,0 +1,60 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Sink
|
4
|
+
module Resources
|
5
|
+
class ComplexQueries
|
6
|
+
# @param client [Sink::Client]
|
7
|
+
def initialize(client:)
|
8
|
+
@client = client
|
9
|
+
end
|
10
|
+
|
11
|
+
# @param params [Hash{Symbol => Object}] Attributes to send in this request.
|
12
|
+
# @option params [Array<Symbol, Include>, nil] :include
|
13
|
+
#
|
14
|
+
# @param opts [Hash, Sink::RequestOptions] Options to specify HTTP behaviour for this request.
|
15
|
+
#
|
16
|
+
# @return [Sink::Models::ComplexQueryArrayQueryResponse]
|
17
|
+
def array_query(params = {}, opts = {})
|
18
|
+
req = {
|
19
|
+
method: :get,
|
20
|
+
path: "/array_query",
|
21
|
+
query: params,
|
22
|
+
model: Sink::Models::ComplexQueryArrayQueryResponse
|
23
|
+
}
|
24
|
+
@client.request(req, opts)
|
25
|
+
end
|
26
|
+
|
27
|
+
# @param params [Hash{Symbol => Object}] Attributes to send in this request.
|
28
|
+
# @option params [Hash, nil] :include
|
29
|
+
#
|
30
|
+
# @param opts [Hash, Sink::RequestOptions] Options to specify HTTP behaviour for this request.
|
31
|
+
#
|
32
|
+
# @return [Hash]
|
33
|
+
def object_query(params = {}, opts = {})
|
34
|
+
req = {
|
35
|
+
method: :get,
|
36
|
+
path: "/object_query",
|
37
|
+
query: params,
|
38
|
+
model: Hash
|
39
|
+
}
|
40
|
+
@client.request(req, opts)
|
41
|
+
end
|
42
|
+
|
43
|
+
# @param params [Hash{Symbol => Object}] Attributes to send in this request.
|
44
|
+
# @option params [Array<String>, Float, String, nil] :include
|
45
|
+
#
|
46
|
+
# @param opts [Hash, Sink::RequestOptions] Options to specify HTTP behaviour for this request.
|
47
|
+
#
|
48
|
+
# @return [Hash]
|
49
|
+
def union_query(params = {}, opts = {})
|
50
|
+
req = {
|
51
|
+
method: :get,
|
52
|
+
path: "/union_query",
|
53
|
+
query: params,
|
54
|
+
model: Hash
|
55
|
+
}
|
56
|
+
@client.request(req, opts)
|
57
|
+
end
|
58
|
+
end
|
59
|
+
end
|
60
|
+
end
|
@@ -0,0 +1,99 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Sink
|
4
|
+
module Resources
|
5
|
+
class ConfigTools
|
6
|
+
class ParentWithSkipNodePython
|
7
|
+
class ChildOnlySkipPython
|
8
|
+
# @param client [Sink::Client]
|
9
|
+
def initialize(client:)
|
10
|
+
@client = client
|
11
|
+
end
|
12
|
+
|
13
|
+
# Create a new virtual or physical card. Parameters `pin`, `shippingAddress`, and
|
14
|
+
# `product_id` only apply to physical cards.
|
15
|
+
#
|
16
|
+
# @param params [Hash{Symbol => Object}] Attributes to send in this request.
|
17
|
+
# @option params [Symbol, Type] :type
|
18
|
+
# Card types:
|
19
|
+
#
|
20
|
+
# - `MERCHANT_LOCKED` - Card is locked to first merchant that successfully
|
21
|
+
# authorizes the card.
|
22
|
+
# - `PHYSICAL` - Manufactured and sent to the cardholder. We offer white label
|
23
|
+
# branding, credit, ATM, PIN debit, chip/EMV, NFC and magstripe functionality.
|
24
|
+
# Reach out at [lithic.com/contact](https://lithic.com/contact) for more
|
25
|
+
# information.
|
26
|
+
# - `SINGLE_USE` - Card will close shortly after the first transaction.
|
27
|
+
# - `VIRTUAL` - Card will authorize at any merchant and can be added to a digital
|
28
|
+
# wallet like Apple Pay or Google Pay (if the card program is digital
|
29
|
+
# wallet-enabled).
|
30
|
+
# @option params [String, nil] :account_token Only required for multi-account users. Token identifying the account the card
|
31
|
+
# will be associated with. Only applicable if using account holder enrollment. See
|
32
|
+
# [Managing Your Program](https://docs.lithic.com/docs/managing-your-program) for
|
33
|
+
# more information.
|
34
|
+
# @option params [String, nil] :card_program_token Identifies the card program under which to create the card. Different card
|
35
|
+
# programs may have their own configurations (e.g., digital wallet card art, BIN
|
36
|
+
# type). This must be configured with Lithic before use.
|
37
|
+
# @option params [String, nil] :exp_month Two digit (MM) expiry month. If neither `exp_month` nor `exp_year` is provided,
|
38
|
+
# an expiration date will be generated.
|
39
|
+
# @option params [String, nil] :exp_year Four digit (yyyy) expiry year. If neither `exp_month` nor `exp_year` is
|
40
|
+
# provided, an expiration date will be generated.
|
41
|
+
# @option params [String, nil] :funding_token The token for the desired `FundingAccount` to use when making transactions with
|
42
|
+
# this card.
|
43
|
+
# @option params [String, nil] :memo Friendly name to identify the card.
|
44
|
+
# @option params [String, nil] :not_ Used to test the PythonSDKs ability to handle reserved keywords as parameters
|
45
|
+
# @option params [String, nil] :pin Encrypted PIN block (in base64). Only applies to cards of type `PHYSICAL` and
|
46
|
+
# `VIRTUAL`. See
|
47
|
+
# [Encrypted PIN Block](https://docs.lithic.com/docs/cards#encrypted-pin-block-enterprise).
|
48
|
+
# @option params [String, nil] :product_id Specifies the configuration (e.g., physical card art) that the card should be
|
49
|
+
# manufactured with, and only applies to cards of type `PHYSICAL` [beta]. This
|
50
|
+
# must be configured with Lithic before use.
|
51
|
+
# @option params [Symbol, ShippingMethod, nil] :shipping_method Shipping method for the card. Only applies to cards of type PHYSICAL [beta]. Use
|
52
|
+
# of options besides `STANDARD` require additional permissions.
|
53
|
+
#
|
54
|
+
# - `STANDARD` - USPS regular mail or similar international option, with no
|
55
|
+
# tracking
|
56
|
+
# - `STANDARD_WITH_TRACKING` - USPS regular mail or similar international option,
|
57
|
+
# with tracking
|
58
|
+
# - `EXPEDITED` - FedEx Standard Overnight or similar international option, with
|
59
|
+
# tracking
|
60
|
+
# @option params [Sink::Models::ShippingAddress, nil] :shipping_address
|
61
|
+
# @option params [Integer, nil] :spend_limit Amount (in cents) to limit approved authorizations. Transaction requests above
|
62
|
+
# the spend limit will be declined.
|
63
|
+
# @option params [Symbol, SpendLimitDuration, nil] :spend_limit_duration
|
64
|
+
# Spend limit duration values:
|
65
|
+
#
|
66
|
+
# - `ANNUALLY` - Card will authorize transactions up to spend limit in a calendar
|
67
|
+
# year.
|
68
|
+
# - `FOREVER` - Card will authorize only up to spend limit for the entire lifetime
|
69
|
+
# of the card.
|
70
|
+
# - `MONTHLY` - Card will authorize transactions up to spend limit for the
|
71
|
+
# trailing month. Month is calculated as this calendar date one month prior.
|
72
|
+
# - `TRANSACTION` - Card will authorizate multiple transactions if each individual
|
73
|
+
# transaction is under the spend limit.
|
74
|
+
# @option params [Symbol, State, nil] :state
|
75
|
+
# Card state values:
|
76
|
+
#
|
77
|
+
# - `OPEN` - Card will approve authorizations (if they match card and account
|
78
|
+
# parameters).
|
79
|
+
# - `PAUSED` - Card will decline authorizations, but can be resumed at a later
|
80
|
+
# time.
|
81
|
+
#
|
82
|
+
# @param opts [Hash, Sink::RequestOptions] Options to specify HTTP behaviour for this request.
|
83
|
+
#
|
84
|
+
# @return [Sink::Models::Card]
|
85
|
+
def not_in_node_python(params = {}, opts = {})
|
86
|
+
req = {
|
87
|
+
method: :post,
|
88
|
+
path: "/cards",
|
89
|
+
body: params,
|
90
|
+
headers: {"Content-Type" => "application/json"},
|
91
|
+
model: Sink::Models::Card
|
92
|
+
}
|
93
|
+
@client.request(req, opts)
|
94
|
+
end
|
95
|
+
end
|
96
|
+
end
|
97
|
+
end
|
98
|
+
end
|
99
|
+
end
|
@@ -0,0 +1,101 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Sink
|
4
|
+
module Resources
|
5
|
+
class ConfigTools
|
6
|
+
class ParentWithSkipNodePython
|
7
|
+
# @return [Sink::Resources::ConfigTools::ParentWithSkipNodePython::ChildOnlySkipPython]
|
8
|
+
attr_reader :child_only_skip_python
|
9
|
+
|
10
|
+
# @param client [Sink::Client]
|
11
|
+
def initialize(client:)
|
12
|
+
@client = client
|
13
|
+
@child_only_skip_python = Sink::Resources::ConfigTools::ParentWithSkipNodePython::ChildOnlySkipPython.new(client: client)
|
14
|
+
end
|
15
|
+
|
16
|
+
# Create a new virtual or physical card. Parameters `pin`, `shippingAddress`, and
|
17
|
+
# `product_id` only apply to physical cards.
|
18
|
+
#
|
19
|
+
# @param params [Hash{Symbol => Object}] Attributes to send in this request.
|
20
|
+
# @option params [Symbol, Type] :type
|
21
|
+
# Card types:
|
22
|
+
#
|
23
|
+
# - `MERCHANT_LOCKED` - Card is locked to first merchant that successfully
|
24
|
+
# authorizes the card.
|
25
|
+
# - `PHYSICAL` - Manufactured and sent to the cardholder. We offer white label
|
26
|
+
# branding, credit, ATM, PIN debit, chip/EMV, NFC and magstripe functionality.
|
27
|
+
# Reach out at [lithic.com/contact](https://lithic.com/contact) for more
|
28
|
+
# information.
|
29
|
+
# - `SINGLE_USE` - Card will close shortly after the first transaction.
|
30
|
+
# - `VIRTUAL` - Card will authorize at any merchant and can be added to a digital
|
31
|
+
# wallet like Apple Pay or Google Pay (if the card program is digital
|
32
|
+
# wallet-enabled).
|
33
|
+
# @option params [String, nil] :account_token Only required for multi-account users. Token identifying the account the card
|
34
|
+
# will be associated with. Only applicable if using account holder enrollment. See
|
35
|
+
# [Managing Your Program](https://docs.lithic.com/docs/managing-your-program) for
|
36
|
+
# more information.
|
37
|
+
# @option params [String, nil] :card_program_token Identifies the card program under which to create the card. Different card
|
38
|
+
# programs may have their own configurations (e.g., digital wallet card art, BIN
|
39
|
+
# type). This must be configured with Lithic before use.
|
40
|
+
# @option params [String, nil] :exp_month Two digit (MM) expiry month. If neither `exp_month` nor `exp_year` is provided,
|
41
|
+
# an expiration date will be generated.
|
42
|
+
# @option params [String, nil] :exp_year Four digit (yyyy) expiry year. If neither `exp_month` nor `exp_year` is
|
43
|
+
# provided, an expiration date will be generated.
|
44
|
+
# @option params [String, nil] :funding_token The token for the desired `FundingAccount` to use when making transactions with
|
45
|
+
# this card.
|
46
|
+
# @option params [String, nil] :memo Friendly name to identify the card.
|
47
|
+
# @option params [String, nil] :not_ Used to test the PythonSDKs ability to handle reserved keywords as parameters
|
48
|
+
# @option params [String, nil] :pin Encrypted PIN block (in base64). Only applies to cards of type `PHYSICAL` and
|
49
|
+
# `VIRTUAL`. See
|
50
|
+
# [Encrypted PIN Block](https://docs.lithic.com/docs/cards#encrypted-pin-block-enterprise).
|
51
|
+
# @option params [String, nil] :product_id Specifies the configuration (e.g., physical card art) that the card should be
|
52
|
+
# manufactured with, and only applies to cards of type `PHYSICAL` [beta]. This
|
53
|
+
# must be configured with Lithic before use.
|
54
|
+
# @option params [Symbol, ShippingMethod, nil] :shipping_method Shipping method for the card. Only applies to cards of type PHYSICAL [beta]. Use
|
55
|
+
# of options besides `STANDARD` require additional permissions.
|
56
|
+
#
|
57
|
+
# - `STANDARD` - USPS regular mail or similar international option, with no
|
58
|
+
# tracking
|
59
|
+
# - `STANDARD_WITH_TRACKING` - USPS regular mail or similar international option,
|
60
|
+
# with tracking
|
61
|
+
# - `EXPEDITED` - FedEx Standard Overnight or similar international option, with
|
62
|
+
# tracking
|
63
|
+
# @option params [Sink::Models::ShippingAddress, nil] :shipping_address
|
64
|
+
# @option params [Integer, nil] :spend_limit Amount (in cents) to limit approved authorizations. Transaction requests above
|
65
|
+
# the spend limit will be declined.
|
66
|
+
# @option params [Symbol, SpendLimitDuration, nil] :spend_limit_duration
|
67
|
+
# Spend limit duration values:
|
68
|
+
#
|
69
|
+
# - `ANNUALLY` - Card will authorize transactions up to spend limit in a calendar
|
70
|
+
# year.
|
71
|
+
# - `FOREVER` - Card will authorize only up to spend limit for the entire lifetime
|
72
|
+
# of the card.
|
73
|
+
# - `MONTHLY` - Card will authorize transactions up to spend limit for the
|
74
|
+
# trailing month. Month is calculated as this calendar date one month prior.
|
75
|
+
# - `TRANSACTION` - Card will authorizate multiple transactions if each individual
|
76
|
+
# transaction is under the spend limit.
|
77
|
+
# @option params [Symbol, State, nil] :state
|
78
|
+
# Card state values:
|
79
|
+
#
|
80
|
+
# - `OPEN` - Card will approve authorizations (if they match card and account
|
81
|
+
# parameters).
|
82
|
+
# - `PAUSED` - Card will decline authorizations, but can be resumed at a later
|
83
|
+
# time.
|
84
|
+
#
|
85
|
+
# @param opts [Hash, Sink::RequestOptions] Options to specify HTTP behaviour for this request.
|
86
|
+
#
|
87
|
+
# @return [Sink::Models::Card]
|
88
|
+
def not_in_node_python(params = {}, opts = {})
|
89
|
+
req = {
|
90
|
+
method: :post,
|
91
|
+
path: "/cards",
|
92
|
+
body: params,
|
93
|
+
headers: {"Content-Type" => "application/json"},
|
94
|
+
model: Sink::Models::Card
|
95
|
+
}
|
96
|
+
@client.request(req, opts)
|
97
|
+
end
|
98
|
+
end
|
99
|
+
end
|
100
|
+
end
|
101
|
+
end
|
@@ -0,0 +1,40 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Sink
|
4
|
+
module Resources
|
5
|
+
class ConfigTools
|
6
|
+
# @return [Sink::Resources::ConfigTools::ParentWithSkipNodePython]
|
7
|
+
attr_reader :parent_with_skip_node_python
|
8
|
+
|
9
|
+
# @param client [Sink::Client]
|
10
|
+
def initialize(client:)
|
11
|
+
@client = client
|
12
|
+
@parent_with_skip_node_python = Sink::Resources::ConfigTools::ParentWithSkipNodePython.new(client: client)
|
13
|
+
end
|
14
|
+
|
15
|
+
# @param opts [Hash, Sink::RequestOptions] Options to specify HTTP behaviour for this request.
|
16
|
+
#
|
17
|
+
# @return [Sink::Models::ConfigToolModelRefFromNestedResponseBodyResponse]
|
18
|
+
def model_ref_from_nested_response_body(opts = {})
|
19
|
+
req = {
|
20
|
+
method: :get,
|
21
|
+
path: "/config_tools/model_refs/from_nested_response",
|
22
|
+
model: Sink::Models::ConfigToolModelRefFromNestedResponseBodyResponse
|
23
|
+
}
|
24
|
+
@client.request(req, opts)
|
25
|
+
end
|
26
|
+
|
27
|
+
# @param opts [Hash, Sink::RequestOptions] Options to specify HTTP behaviour for this request.
|
28
|
+
#
|
29
|
+
# @return [Sink::Models::ModelFromSchemasRef]
|
30
|
+
def model_ref_from_schemas(opts = {})
|
31
|
+
req = {
|
32
|
+
method: :get,
|
33
|
+
path: "/config_tools/model_refs/from_schemas",
|
34
|
+
model: Sink::Models::ModelFromSchemasRef
|
35
|
+
}
|
36
|
+
@client.request(req, opts)
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
@@ -0,0 +1,29 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Sink
|
4
|
+
module Resources
|
5
|
+
class DecoratorTests
|
6
|
+
class KeepThisResource
|
7
|
+
# @param client [Sink::Client]
|
8
|
+
def initialize(client:)
|
9
|
+
@client = client
|
10
|
+
end
|
11
|
+
|
12
|
+
# Nested method that should render because it is not skipped nor are its
|
13
|
+
# ancestors.
|
14
|
+
#
|
15
|
+
# @param opts [Hash, Sink::RequestOptions] Options to specify HTTP behaviour for this request.
|
16
|
+
#
|
17
|
+
# @return [Sink::Models::KeepThisResourceKeepThisMethodResponse]
|
18
|
+
def keep_this_method(opts = {})
|
19
|
+
req = {
|
20
|
+
method: :get,
|
21
|
+
path: "/decorator_tests/nested/keep/this/method",
|
22
|
+
model: Sink::Models::KeepThisResourceKeepThisMethodResponse
|
23
|
+
}
|
24
|
+
@client.request(req, opts)
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
@@ -0,0 +1,59 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Sink
|
4
|
+
module Resources
|
5
|
+
class DecoratorTests
|
6
|
+
class Languages
|
7
|
+
# @param client [Sink::Client]
|
8
|
+
def initialize(client:)
|
9
|
+
@client = client
|
10
|
+
end
|
11
|
+
|
12
|
+
# Endpoint that returns a $ref to SimpleObject. This is used to test shared
|
13
|
+
# response models.
|
14
|
+
#
|
15
|
+
# @param opts [Hash, Sink::RequestOptions] Options to specify HTTP behaviour for this request.
|
16
|
+
#
|
17
|
+
# @return [Sink::Models::SimpleObject]
|
18
|
+
def skipped_for_node(opts = {})
|
19
|
+
req = {
|
20
|
+
method: :get,
|
21
|
+
path: "/responses/shared_simple_object",
|
22
|
+
model: Sink::Models::SimpleObject
|
23
|
+
}
|
24
|
+
@client.request(req, opts)
|
25
|
+
end
|
26
|
+
|
27
|
+
# Endpoint that returns a $ref to SimpleObject. This is used to test shared
|
28
|
+
# response models.
|
29
|
+
#
|
30
|
+
# @param opts [Hash, Sink::RequestOptions] Options to specify HTTP behaviour for this request.
|
31
|
+
#
|
32
|
+
# @return [Sink::Models::SimpleObject]
|
33
|
+
def skipped_for_python(opts = {})
|
34
|
+
req = {
|
35
|
+
method: :get,
|
36
|
+
path: "/responses/shared_simple_object",
|
37
|
+
model: Sink::Models::SimpleObject
|
38
|
+
}
|
39
|
+
@client.request(req, opts)
|
40
|
+
end
|
41
|
+
|
42
|
+
# Endpoint that returns a $ref to SimpleObject. This is used to test shared
|
43
|
+
# response models.
|
44
|
+
#
|
45
|
+
# @param opts [Hash, Sink::RequestOptions] Options to specify HTTP behaviour for this request.
|
46
|
+
#
|
47
|
+
# @return [Sink::Models::SimpleObject]
|
48
|
+
def skipped_for_python_and_node(opts = {})
|
49
|
+
req = {
|
50
|
+
method: :get,
|
51
|
+
path: "/responses/shared_simple_object",
|
52
|
+
model: Sink::Models::SimpleObject
|
53
|
+
}
|
54
|
+
@client.request(req, opts)
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
59
|
+
end
|
@@ -0,0 +1,28 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Sink
|
4
|
+
module Resources
|
5
|
+
class DecoratorTests
|
6
|
+
class SkipThisResource
|
7
|
+
# @param client [Sink::Client]
|
8
|
+
def initialize(client:)
|
9
|
+
@client = client
|
10
|
+
end
|
11
|
+
|
12
|
+
# Nested method that should never render because its parent resource is skipped.
|
13
|
+
#
|
14
|
+
# @param opts [Hash, Sink::RequestOptions] Options to specify HTTP behaviour for this request.
|
15
|
+
#
|
16
|
+
# @return [Sink::Models::SkipThisResourceINeverAppearResponse]
|
17
|
+
def i_never_appear(opts = {})
|
18
|
+
req = {
|
19
|
+
method: :get,
|
20
|
+
path: "/decorator_tests/nested/i/never/appear",
|
21
|
+
model: Sink::Models::SkipThisResourceINeverAppearResponse
|
22
|
+
}
|
23
|
+
@client.request(req, opts)
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
@@ -0,0 +1,38 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Sink
|
4
|
+
module Resources
|
5
|
+
class DecoratorTests
|
6
|
+
# @return [Sink::Resources::DecoratorTests::Languages]
|
7
|
+
attr_reader :languages
|
8
|
+
|
9
|
+
# @return [Sink::Resources::DecoratorTests::KeepThisResource]
|
10
|
+
attr_reader :keep_this_resource
|
11
|
+
|
12
|
+
# @return [Sink::Resources::DecoratorTests::SkipThisResource]
|
13
|
+
attr_reader :skip_this_resource
|
14
|
+
|
15
|
+
# @param client [Sink::Client]
|
16
|
+
def initialize(client:)
|
17
|
+
@client = client
|
18
|
+
@languages = Sink::Resources::DecoratorTests::Languages.new(client: client)
|
19
|
+
@keep_this_resource = Sink::Resources::DecoratorTests::KeepThisResource.new(client: client)
|
20
|
+
@skip_this_resource = Sink::Resources::DecoratorTests::SkipThisResource.new(client: client)
|
21
|
+
end
|
22
|
+
|
23
|
+
# Top-level method that should not be skipped.
|
24
|
+
#
|
25
|
+
# @param opts [Hash, Sink::RequestOptions] Options to specify HTTP behaviour for this request.
|
26
|
+
#
|
27
|
+
# @return [Sink::Models::DecoratorTestKeepMeResponse]
|
28
|
+
def keep_me(opts = {})
|
29
|
+
req = {
|
30
|
+
method: :get,
|
31
|
+
path: "/decorator_tests/keep/me",
|
32
|
+
model: Sink::Models::DecoratorTestKeepMeResponse
|
33
|
+
}
|
34
|
+
@client.request(req, opts)
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Sink
|
4
|
+
module Resources
|
5
|
+
class DeeplyNested
|
6
|
+
class LevelOne
|
7
|
+
class LevelTwo
|
8
|
+
class LevelThree
|
9
|
+
# @param client [Sink::Client]
|
10
|
+
def initialize(client:)
|
11
|
+
@client = client
|
12
|
+
end
|
13
|
+
|
14
|
+
# Get card configuration such as spend limit and state.
|
15
|
+
#
|
16
|
+
# @param card_token [String]
|
17
|
+
# @param opts [Hash, Sink::RequestOptions] Options to specify HTTP behaviour for this request.
|
18
|
+
#
|
19
|
+
# @return [Sink::Models::Card]
|
20
|
+
def method_level_3(card_token, opts = {})
|
21
|
+
req = {
|
22
|
+
method: :get,
|
23
|
+
path: "/cards/#{card_token}",
|
24
|
+
model: Sink::Models::Card
|
25
|
+
}
|
26
|
+
@client.request(req, opts)
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
@@ -0,0 +1,35 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Sink
|
4
|
+
module Resources
|
5
|
+
class DeeplyNested
|
6
|
+
class LevelOne
|
7
|
+
class LevelTwo
|
8
|
+
# @return [Sink::Resources::DeeplyNested::LevelOne::LevelTwo::LevelThree]
|
9
|
+
attr_reader :level_three
|
10
|
+
|
11
|
+
# @param client [Sink::Client]
|
12
|
+
def initialize(client:)
|
13
|
+
@client = client
|
14
|
+
@level_three = Sink::Resources::DeeplyNested::LevelOne::LevelTwo::LevelThree.new(client: client)
|
15
|
+
end
|
16
|
+
|
17
|
+
# Get card configuration such as spend limit and state.
|
18
|
+
#
|
19
|
+
# @param card_token [String]
|
20
|
+
# @param opts [Hash, Sink::RequestOptions] Options to specify HTTP behaviour for this request.
|
21
|
+
#
|
22
|
+
# @return [Sink::Models::Card]
|
23
|
+
def method_level_2(card_token, opts = {})
|
24
|
+
req = {
|
25
|
+
method: :get,
|
26
|
+
path: "/cards/#{card_token}",
|
27
|
+
model: Sink::Models::Card
|
28
|
+
}
|
29
|
+
@client.request(req, opts)
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Sink
|
4
|
+
module Resources
|
5
|
+
class DeeplyNested
|
6
|
+
class LevelOne
|
7
|
+
# @return [Sink::Resources::DeeplyNested::LevelOne::LevelTwo]
|
8
|
+
attr_reader :level_two
|
9
|
+
|
10
|
+
# @param client [Sink::Client]
|
11
|
+
def initialize(client:)
|
12
|
+
@client = client
|
13
|
+
@level_two = Sink::Resources::DeeplyNested::LevelOne::LevelTwo.new(client: client)
|
14
|
+
end
|
15
|
+
|
16
|
+
# Get card configuration such as spend limit and state.
|
17
|
+
#
|
18
|
+
# @param card_token [String]
|
19
|
+
# @param opts [Hash, Sink::RequestOptions] Options to specify HTTP behaviour for this request.
|
20
|
+
#
|
21
|
+
# @return [Sink::Models::Card]
|
22
|
+
def method_level_1(card_token, opts = {})
|
23
|
+
req = {
|
24
|
+
method: :get,
|
25
|
+
path: "/cards/#{card_token}",
|
26
|
+
model: Sink::Models::Card
|
27
|
+
}
|
28
|
+
@client.request(req, opts)
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Sink
|
4
|
+
module Resources
|
5
|
+
class DeeplyNested
|
6
|
+
# @return [Sink::Resources::DeeplyNested::LevelOne]
|
7
|
+
attr_reader :level_one
|
8
|
+
|
9
|
+
# @param client [Sink::Client]
|
10
|
+
def initialize(client:)
|
11
|
+
@client = client
|
12
|
+
@level_one = Sink::Resources::DeeplyNested::LevelOne.new(client: client)
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,82 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Sink
|
4
|
+
module Resources
|
5
|
+
class Docstrings
|
6
|
+
# @param client [Sink::Client]
|
7
|
+
def initialize(client:)
|
8
|
+
@client = client
|
9
|
+
end
|
10
|
+
|
11
|
+
# This is the method description.
|
12
|
+
#
|
13
|
+
# Hello _/ console.log('evil code') /_ Goodbye """ """" """"" """"""
|
14
|
+
# console.log('more evil code'); """ \
|
15
|
+
#
|
16
|
+
# these need stay (valid escapes)
|
17
|
+
#
|
18
|
+
# \'\"\ \\ \n\r\t\b\f\v\x63\uFE63\U0000FE63\N{HYPHEN}\1\12\123\1234a
|
19
|
+
#
|
20
|
+
# these need be escaped in python (invalid escapes)
|
21
|
+
#
|
22
|
+
# \a\g\*\(\&\@\x2z\u11z1\U1111z111\N{HYPHEN#}
|
23
|
+
#
|
24
|
+
# \
|
25
|
+
# Other text
|
26
|
+
#
|
27
|
+
# @param opts [Hash, Sink::RequestOptions] Options to specify HTTP behaviour for this request.
|
28
|
+
#
|
29
|
+
# @return [Sink::Models::BasicSharedModelObject]
|
30
|
+
def description_contains_js_doc(opts = {})
|
31
|
+
req = {
|
32
|
+
method: :get,
|
33
|
+
path: "/docstrings/description_contains_comments",
|
34
|
+
model: Sink::Models::BasicSharedModelObject
|
35
|
+
}
|
36
|
+
@client.request(req, opts)
|
37
|
+
end
|
38
|
+
|
39
|
+
# This is the method description.
|
40
|
+
#
|
41
|
+
# In the middle it contains a \*\*/ Or ```
|
42
|
+
#
|
43
|
+
# Other text
|
44
|
+
#
|
45
|
+
# @param opts [Hash, Sink::RequestOptions] Options to specify HTTP behaviour for this request.
|
46
|
+
#
|
47
|
+
# @return [Sink::Models::BasicSharedModelObject]
|
48
|
+
def description_contains_js_doc_end(opts = {})
|
49
|
+
req = {
|
50
|
+
method: :get,
|
51
|
+
path: "/docstrings/description_contains_comment_enders",
|
52
|
+
model: Sink::Models::BasicSharedModelObject
|
53
|
+
}
|
54
|
+
@client.request(req, opts)
|
55
|
+
end
|
56
|
+
|
57
|
+
# @param opts [Hash, Sink::RequestOptions] Options to specify HTTP behaviour for this request.
|
58
|
+
#
|
59
|
+
# @return [Sink::Models::DocstringLeadingDoubleQuoteResponse]
|
60
|
+
def leading_double_quote(opts = {})
|
61
|
+
req = {
|
62
|
+
method: :get,
|
63
|
+
path: "/docstrings/property_leading_double_quote",
|
64
|
+
model: Sink::Models::DocstringLeadingDoubleQuoteResponse
|
65
|
+
}
|
66
|
+
@client.request(req, opts)
|
67
|
+
end
|
68
|
+
|
69
|
+
# @param opts [Hash, Sink::RequestOptions] Options to specify HTTP behaviour for this request.
|
70
|
+
#
|
71
|
+
# @return [Sink::Models::DocstringTrailingDoubleQuoteResponse]
|
72
|
+
def trailing_double_quote(opts = {})
|
73
|
+
req = {
|
74
|
+
method: :get,
|
75
|
+
path: "/docstrings/property_trailing_double_quote",
|
76
|
+
model: Sink::Models::DocstringTrailingDoubleQuoteResponse
|
77
|
+
}
|
78
|
+
@client.request(req, opts)
|
79
|
+
end
|
80
|
+
end
|
81
|
+
end
|
82
|
+
end
|