Sha256: 0aae01cb3206d11ab154864eb21e2872c81c088c1f96a80cbf3adb11940b0940

Contents?: true

Size: 1.83 KB

Versions: 2

Compression:

Stored size: 1.83 KB

Contents

# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.

# typed: true
# frozen_string_literal: true


module OpenApiSDK
  module Shared
  

    class UnifiedCrmNoteInput < ::OpenApiSDK::Utils::FieldAugmented
      extend T::Sig

      # The content of the note
      field :content, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('content') } }
      # The UUID of the company tied to the note
      field :company_id, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('company_id') } }
      # The UUID of the contact tied to the note
      field :contact_id, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('contact_id') } }
      # The UUID of the deal tied to the note
      field :deal_id, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('deal_id') } }
      # The custom field mappings of the note between the remote 3rd party & Panora
      field :field_mappings, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('field_mappings') } }
      # The UUID of the user tied to the note
      field :user_id, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('user_id') } }


      sig { params(content: ::String, company_id: T.nilable(::String), contact_id: T.nilable(::String), deal_id: T.nilable(::String), field_mappings: T.nilable(T::Hash[Symbol, ::Object]), user_id: T.nilable(::String)).void }
      def initialize(content: nil, company_id: nil, contact_id: nil, deal_id: nil, field_mappings: nil, user_id: nil)
        @content = content
        @company_id = company_id
        @contact_id = contact_id
        @deal_id = deal_id
        @field_mappings = field_mappings
        @user_id = user_id
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
panora-0.2.5 lib/open_api_sdk/models/shared/unifiedcrmnoteinput.rb
panora-0.2.4 lib/open_api_sdk/models/shared/unifiedcrmnoteinput.rb