class AddProductToSubscriptionSlotRequest
Constants
- FIELDS
- OLDPRODUCTID
- PRODUCTID
- PRODUCTTYPE
- SUBSCRIPTIONSERVICE
Public Instance Methods
struct_fields()
click to toggle source
# File lib/linerb/gen-rb/takagi_chan_types.rb, line 10983 def struct_fields; FIELDS; end
validate()
click to toggle source
# File lib/linerb/gen-rb/takagi_chan_types.rb, line 10985 def validate unless @productType.nil? || ::P0_a_a_b_a_a_t1::VALID_VALUES.include?(@productType) raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field productType!') end unless @subscriptionService.nil? || ::P0_a_a_b_a_a_p3::VALID_VALUES.include?(@subscriptionService) raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field subscriptionService!') end end