mirror of
https://github.com/LukeHagar/plexruby.git
synced 2025-12-07 04:20:54 +00:00
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.531.4
This commit is contained in:
37
lib/plex_ruby_sdk/models/operations/attributes.rb
Normal file
37
lib/plex_ruby_sdk/models/operations/attributes.rb
Normal file
@@ -0,0 +1,37 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user