Sha256: 4d8d7aa2b23190674611b775483284be504af6eb13b3b970d1e7c983c4540795

Contents?: true

Size: 1.98 KB

Versions: 2

Compression:

Stored size: 1.98 KB

Contents

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

# typed: true
# frozen_string_literal: true


module OpenApiSDK
  module Shared
  

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

      # The amount of the deal
      field :amount, ::Float, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('amount') } }
      # The description of the deal
      field :description, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('description') } }
      # The name of the deal
      field :name, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('name') } }
      # The UUID of the company tied to the deal
      field :company_id, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('company_id') } }
      # The custom field mappings of the company 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 stage of the deal
      field :stage_id, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('stage_id') } }
      # The UUID of the user who is on the deal
      field :user_id, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('user_id') } }


      sig { params(amount: ::Float, description: ::String, name: ::String, company_id: T.nilable(::String), field_mappings: T.nilable(T::Hash[Symbol, ::Object]), stage_id: T.nilable(::String), user_id: T.nilable(::String)).void }
      def initialize(amount: nil, description: nil, name: nil, company_id: nil, field_mappings: nil, stage_id: nil, user_id: nil)
        @amount = amount
        @description = description
        @name = name
        @company_id = company_id
        @field_mappings = field_mappings
        @stage_id = stage_id
        @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/unifiedcrmdealinput.rb
panora-0.2.4 lib/open_api_sdk/models/shared/unifiedcrmdealinput.rb