Class: HubSpotSDK::Models::Cms::HubDBTableCloneRequest

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/hubspot_sdk/models/cms/hub_db_table_clone_request.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initialize(copy_rows:, is_hubspot_defined:, new_label: nil, new_name: nil) ⇒ Object

Parameters:

  • copy_rows (Boolean)

    Specifies whether to copy the rows during clone

  • is_hubspot_defined (Boolean)

    Indicates whether the table is defined by HubSpot.

  • new_label (String) (defaults to: nil)

    The new label for the cloned table

  • new_name (String) (defaults to: nil)

    The new name for the cloned table



# File 'lib/hubspot_sdk/models/cms/hub_db_table_clone_request.rb', line 31

Instance Attribute Details

#copy_rowsBoolean

Specifies whether to copy the rows during clone

Returns:

  • (Boolean)


11
# File 'lib/hubspot_sdk/models/cms/hub_db_table_clone_request.rb', line 11

required :copy_rows, HubSpotSDK::Internal::Type::Boolean, api_name: :copyRows

#is_hubspot_definedBoolean

Indicates whether the table is defined by HubSpot.

Returns:

  • (Boolean)


17
# File 'lib/hubspot_sdk/models/cms/hub_db_table_clone_request.rb', line 17

required :is_hubspot_defined, HubSpotSDK::Internal::Type::Boolean, api_name: :isHubspotDefined

#new_labelString?

The new label for the cloned table

Returns:

  • (String, nil)


23
# File 'lib/hubspot_sdk/models/cms/hub_db_table_clone_request.rb', line 23

optional :new_label, String, api_name: :newLabel

#new_nameString?

The new name for the cloned table

Returns:

  • (String, nil)


29
# File 'lib/hubspot_sdk/models/cms/hub_db_table_clone_request.rb', line 29

optional :new_name, String, api_name: :newName