Sha256: 22a254856d0e1f611810a61de0d64564d5a975f3f27c985630026499791a04a1

Contents?: true

Size: 609 Bytes

Versions: 21

Compression:

Stored size: 609 Bytes

Contents

class Zendesk2::Client
  class TicketCommentPrivacyChange < AuditEvent

    # @return [integer] Automatically assigned when creating events
    identity :id, type: :integer

    # @return [Integer] The id if the comment that changed privacy
    attribute :comment_id, type: :integer
    # @return [Boolean] Tells if the comment was made public or private
    attribute :public, type: :boolean

    # @return [Zendesk2::Client::TicketComment] ticket comment pertaining to this privacy change
    def comment
      requires :comment_id

      self.service.ticket_comments.get(self.comment_id)
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
zendesk2-1.7.5 lib/zendesk2/client/models/ticket_comment_privacy_change.rb
zendesk2-1.7.4 lib/zendesk2/client/models/ticket_comment_privacy_change.rb
zendesk2-1.7.2 lib/zendesk2/client/models/ticket_comment_privacy_change.rb
zendesk2-1.7.1 lib/zendesk2/client/models/ticket_comment_privacy_change.rb
zendesk2-1.7.0 lib/zendesk2/client/models/ticket_comment_privacy_change.rb
zendesk2-1.6.1 lib/zendesk2/client/models/ticket_comment_privacy_change.rb
zendesk2-1.5.17 lib/zendesk2/client/models/ticket_comment_privacy_change.rb
zendesk2-1.5.16 lib/zendesk2/client/models/ticket_comment_privacy_change.rb
zendesk2-1.5.15 lib/zendesk2/client/models/ticket_comment_privacy_change.rb
zendesk2-1.5.14 lib/zendesk2/client/models/ticket_comment_privacy_change.rb
zendesk2-1.5.13 lib/zendesk2/client/models/ticket_comment_privacy_change.rb
zendesk2-1.5.12 lib/zendesk2/client/models/ticket_comment_privacy_change.rb
zendesk2-1.5.11 lib/zendesk2/client/models/ticket_comment_privacy_change.rb
zendesk2-1.5.10 lib/zendesk2/client/models/ticket_comment_privacy_change.rb
zendesk2-1.5.9 lib/zendesk2/client/models/ticket_comment_privacy_change.rb
zendesk2-1.5.8 lib/zendesk2/client/models/ticket_comment_privacy_change.rb
zendesk2-1.5.7 lib/zendesk2/client/models/ticket_comment_privacy_change.rb
zendesk2-1.5.6 lib/zendesk2/client/models/ticket_comment_privacy_change.rb
zendesk2-1.5.5 lib/zendesk2/client/models/ticket_comment_privacy_change.rb
zendesk2-1.5.4 lib/zendesk2/client/models/ticket_comment_privacy_change.rb