mirror of
https://github.com/LukeHagar/plexruby.git
synced 2025-12-06 12:47:44 +00:00
38 lines
1.0 KiB
Ruby
38 lines
1.0 KiB
Ruby
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
|
|
# typed: true
|
|
# frozen_string_literal: true
|
|
|
|
|
|
module PlexRubySDK
|
|
module Models
|
|
module Operations
|
|
|
|
# Attributes associated with the marker.
|
|
class Attributes
|
|
extend T::Sig
|
|
include Crystalline::MetadataFields
|
|
|
|
# The identifier for the attributes.
|
|
field :id, ::Integer, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('id') } }
|
|
# The version number of the marker attributes.
|
|
field :version, T.nilable(::Integer), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('version') } }
|
|
|
|
|
|
sig { params(id: ::Integer, version: T.nilable(::Integer)).void }
|
|
def initialize(id: nil, version: nil)
|
|
@id = id
|
|
@version = version
|
|
end
|
|
|
|
def ==(other)
|
|
return false unless other.is_a? self.class
|
|
return false unless @id == other.id
|
|
return false unless @version == other.version
|
|
true
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|