class Service::Content::Thrift::BasicAlbumPageResult
Constants
- ALBUMS
- CURRENTPAGE
- FIELDS
- PAGESIZE
- TOTALSIZE
Public Instance Methods
struct_fields()
click to toggle source
# File lib/service_album_api/content_types.rb, line 563 def struct_fields; FIELDS; end
validate()
click to toggle source
# File lib/service_album_api/content_types.rb, line 565 def validate raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field totalSize is unset!') unless @totalSize raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field currentPage is unset!') unless @currentPage raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field pageSize is unset!') unless @pageSize end