Sha256: 9f4d7cac2ead5e32db0b1248e35124b0b3a91886e274d801f140c92a2054eae0

Contents?: true

Size: 679 Bytes

Versions: 2

Compression:

Stored size: 679 Bytes

Contents

# frozen_string_literal: true

module Nylas
  # Structure to represent the Label Schema
  # @see https://docs.nylas.com/reference#labels
  class Label
    include Model
    self.resources_path = "/labels"
    self.creatable = true
    self.listable = true
    self.showable = true
    self.filterable = false
    self.updatable = true
    self.destroyable = true
    self.id_listable = true
    self.countable = true

    attribute :id, :string
    attribute :account_id, :string
    attribute :object, :string

    attribute :name, :string
    attribute :display_name, :string
    attribute :provider_id, :string
    attribute :job_status_id, :string, read_only: true
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
nylas-5.17.0 lib/nylas/label.rb
nylas-5.16.0 lib/nylas/label.rb