class CadenceThrift::ClientVersionNotSupportedError

Constants

CLIENTIMPL
FEATUREVERSION
FIELDS
SUPPORTEDVERSIONS

Public Instance Methods

struct_fields() click to toggle source
# File lib/gen/thrift/shared_types.rb, line 862
def struct_fields; FIELDS; end
validate() click to toggle source
# File lib/gen/thrift/shared_types.rb, line 864
def validate
  raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field featureVersion is unset!') unless @featureVersion
  raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field clientImpl is unset!') unless @clientImpl
  raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field supportedVersions is unset!') unless @supportedVersions
end