# frozen_string_literal: true # encoding: utf-8 # Options: =begin Date: 2026-10-26 15:58:22 Version: 10.20 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://uat-api-vehicle-mgt-mb-dhc.rapp-customers.co.uk #MakePartial: True #MakeVirtual: True #MakeInternal: False #MakeDataContractsExtensible: False #AddReturnMarker: True #AddDescriptionAsComments: True #AddDataContractAttributes: False #AddIndexesToDataMembers: False #AddGeneratedCodeAttributes: False #AddResponseStatus: False #AddImplicitVersion: #InitializeCollections: False #ExportValueTypes: False IncludeTypes: SecuredStatusRequest.* #ExcludeTypes: #AddNamespaces: #AddDefaultXmlNamespace: http://schemas.servicestack.net/types =end require 'json' require 'servicestack' module IReturn def response_type() = T def get_type_name() = 'IReturn' end module IPost end class ValidateVehicleResponse include ServiceStack::DTO # @return [String] attr_accessor :comm # @return [String] attr_accessor :failure_reason # @return [Integer] attr_accessor :failure_reason_id def self.properties { comm: { name: 'comm' }, failure_reason: { name: 'failureReason' }, failure_reason_id: { name: 'failureReasonId' }, } end end class ValidateSecuredStatusResponse include ServiceStack::DTO # @return [List] attr_accessor :validate_vehicle_responses def self.properties { validate_vehicle_responses: { name: 'validateVehicleResponses', type: [ValidateVehicleResponse] }, } end end # @Route("/v1/Vehicle/SecuredStatus", "POST") class SecuredStatusRequest include ServiceStack::DTO # @return [String] attr_accessor :commission_number # @return [String] attr_accessor :vehicle_type # @return [String] attr_accessor :reason # @return [TrueClass] attr_accessor :secured def self.properties { commission_number: { name: 'commissionNumber' }, vehicle_type: { name: 'vehicleType' }, reason: { name: 'reason' }, secured: { name: 'secured' }, } end def response_type() = ValidateSecuredStatusResponse def get_type_name() = 'SecuredStatusRequest' def get_method() = 'POST' end