Sha256: 0310b9059c6971e2af7453675bcda6bf86de54aa0537f270fb6f432962b0a275

Contents?: true

Size: 702 Bytes

Versions: 1

Compression:

Stored size: 702 Bytes

Contents

# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.

# typed: true
# frozen_string_literal: true

require 'sorbet-runtime'
require 'faraday'

module StackOne
  module Shared

    class SocialLink < ::StackOne::Utils::FieldAugmented
      extend T::Sig

      # Type of the social link
      field :type, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('type') } }
      # URL of the social link
      field :url, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('url') } }


      sig { params(type: String, url: String).void }
      def initialize(type: nil, url: nil)
        @type = type
        @url = url
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
stackone_client-0.0.2 lib/stackone/models/shared/sociallink.rb