Class: PlexRubySDK::Models::Operations::GetMetadataChildrenMetadata

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Includes:
Crystalline::MetadataFields
Defined in:
lib/plex_ruby_sdk/models/operations/getmetadatachildren_metadata.rb

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

#field, #fields, included, #marshal_single, #to_dict, #to_json

Constructor Details

#initialize(added_at: nil, art: nil, guid: nil, index: nil, key: nil, last_rated_at: nil, last_viewed_at: nil, leaf_count: nil, parent_guid: nil, parent_index: nil, parent_key: nil, parent_rating_key: nil, parent_studio: nil, parent_theme: nil, parent_thumb: nil, parent_title: nil, parent_year: nil, rating_key: nil, skip_count: nil, summary: nil, thumb: nil, title: nil, type: nil, updated_at: nil, user_rating: nil, view_count: nil, viewed_leaf_count: nil) ⇒ GetMetadataChildrenMetadata

Returns a new instance of GetMetadataChildrenMetadata.



73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
# File 'lib/plex_ruby_sdk/models/operations/getmetadatachildren_metadata.rb', line 73

def initialize(added_at: nil, art: nil, guid: nil, index: nil, key: nil, last_rated_at: nil, last_viewed_at: nil, leaf_count: nil, parent_guid: nil, parent_index: nil, parent_key: nil, parent_rating_key: nil, parent_studio: nil, parent_theme: nil, parent_thumb: nil, parent_title: nil, parent_year: nil, rating_key: nil, skip_count: nil, summary: nil, thumb: nil, title: nil, type: nil, updated_at: nil, user_rating: nil, view_count: nil, viewed_leaf_count: nil)
  @added_at = added_at
  @art = art
  @guid = guid
  @index = index
  @key = key
  @last_rated_at = last_rated_at
  @last_viewed_at = last_viewed_at
  @leaf_count = leaf_count
  @parent_guid = parent_guid
  @parent_index = parent_index
  @parent_key = parent_key
  @parent_rating_key = parent_rating_key
  @parent_studio = parent_studio
  @parent_theme = parent_theme
  @parent_thumb = parent_thumb
  @parent_title = parent_title
  @parent_year = parent_year
  @rating_key = rating_key
  @skip_count = skip_count
  @summary = summary
  @thumb = thumb
  @title = title
  @type = type
  @updated_at = updated_at
  @user_rating = user_rating
  @view_count = view_count
  @viewed_leaf_count = viewed_leaf_count
end

Instance Method Details

#==(other) ⇒ Object



103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
# File 'lib/plex_ruby_sdk/models/operations/getmetadatachildren_metadata.rb', line 103

def ==(other)
  return false unless other.is_a? self.class
  return false unless @added_at == other.added_at
  return false unless @art == other.art
  return false unless @guid == other.guid
  return false unless @index == other.index
  return false unless @key == other.key
  return false unless @last_rated_at == other.last_rated_at
  return false unless @last_viewed_at == other.last_viewed_at
  return false unless @leaf_count == other.leaf_count
  return false unless @parent_guid == other.parent_guid
  return false unless @parent_index == other.parent_index
  return false unless @parent_key == other.parent_key
  return false unless @parent_rating_key == other.parent_rating_key
  return false unless @parent_studio == other.parent_studio
  return false unless @parent_theme == other.parent_theme
  return false unless @parent_thumb == other.parent_thumb
  return false unless @parent_title == other.parent_title
  return false unless @parent_year == other.parent_year
  return false unless @rating_key == other.rating_key
  return false unless @skip_count == other.skip_count
  return false unless @summary == other.summary
  return false unless @thumb == other.thumb
  return false unless @title == other.title
  return false unless @type == other.type
  return false unless @updated_at == other.updated_at
  return false unless @user_rating == other.user_rating
  return false unless @view_count == other.view_count
  return false unless @viewed_leaf_count == other.viewed_leaf_count
  true
end