Class: TalkService::GetBlockedContactIds_args

Inherits:
Object
  • Object
show all
Includes:
Thrift::Struct, Thrift::Struct_Union
Defined in:
lib/linerb/gen-rb/talk_service.rb

Constant Summary collapse

SYNCREASON =
1
FIELDS =
{
  SYNCREASON => {:type => ::Thrift::Types::I32, :name => 'syncReason', :enum_class => ::J0_a_e_a_b_rg}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



4246
# File 'lib/linerb/gen-rb/talk_service.rb', line 4246

def struct_fields; FIELDS; end

#validateObject



4248
4249
4250
4251
4252
# File 'lib/linerb/gen-rb/talk_service.rb', line 4248

def validate
  unless @syncReason.nil? || ::J0_a_e_a_b_rg::VALID_VALUES.include?(@syncReason)
    raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field syncReason!')
  end
end