Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

1 строка
11 KiB

  1. {"hierarchy":{"paths":[["doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling"]]},"seeAlsoSections":[{"anchor":"Models","generated":true,"title":"Models","identifiers":["doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ScannedTankModel","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/RentalEquipmentModel","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/RefillStatusMessageModel","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/InformationMessage","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ScannedTankModel"]}],"schemaVersion":{"minor":3,"major":0,"patch":0},"primaryContentSections":[{"declarations":[{"tokens":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"UserModel"}],"platforms":["iOS"],"languages":["swift"]}],"kind":"declarations"},{"kind":"content","content":[{"anchor":"Full-Code-","type":"heading","text":"Full Code :","level":3},{"code":["struct UserModel: Decodable {","\/\/ let id: UUID"," let firstName: String"," let lastName: String"," let userName: String"," let password: String"," let token: String","}"],"type":"codeListing","syntax":"swift"}]}],"kind":"symbol","sections":[],"metadata":{"title":"UserModel","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"UserModel","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"UserModel"}],"symbolKind":"struct","role":"symbol","externalID":"s:7Fueling9UserModelV","roleHeading":"Structure","modules":[{"name":"Fueling"}]},"identifier":{"url":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/UserModel","interfaceLanguage":"swift"},"topicSections":[{"title":"Initializers","generated":true,"anchor":"Initializers","identifiers":["doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/UserModel\/init(firstName:lastName:userName:password:token:)","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/UserModel\/init(from:)"]},{"identifiers":["doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/UserModel\/firstName","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/UserModel\/lastName","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/UserModel\/password","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/UserModel\/token","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/UserModel\/userName"],"title":"Instance Properties","anchor":"Instance-Properties","generated":true}],"relationshipsSections":[{"title":"Conforms To","type":"conformsTo","identifiers":["doc:\/\/rpm.com.production.Scanner\/Se","doc:\/\/rpm.com.production.Scanner\/s8SendableP"],"kind":"relationships"}],"variants":[{"paths":["\/documentation\/fueling\/usermodel"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://rpm.com.production.Scanner/documentation/Fueling/ScannedTankModel":{"url":"\/documentation\/fueling\/scannedtankmodel","title":"ScannedTankModel","abstract":[],"kind":"symbol","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"ScannedTankModel"}],"type":"topic","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ScannedTankModel","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"ScannedTankModel","kind":"identifier"}]},"doc://rpm.com.production.Scanner/documentation/Fueling/UserModel/firstName":{"fragments":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"firstName"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"}],"type":"topic","kind":"symbol","title":"firstName","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/UserModel\/firstName","url":"\/documentation\/fueling\/usermodel\/firstname","role":"symbol","abstract":[]},"doc://rpm.com.production.Scanner/documentation/Fueling/UserModel/password":{"kind":"symbol","title":"password","type":"topic","url":"\/documentation\/fueling\/usermodel\/password","abstract":[],"role":"symbol","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/UserModel\/password","fragments":[{"kind":"keyword","text":"let"},{"text":" ","kind":"text"},{"text":"password","kind":"identifier"},{"text":": ","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"}]},"doc://rpm.com.production.Scanner/documentation/Fueling/UserModel/userName":{"kind":"symbol","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/UserModel\/userName","url":"\/documentation\/fueling\/usermodel\/username","fragments":[{"text":"let","kind":"keyword"},{"kind":"text","text":" "},{"text":"userName","kind":"identifier"},{"text":": ","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"}],"role":"symbol","title":"userName","abstract":[],"type":"topic"},"doc://rpm.com.production.Scanner/documentation/Fueling/UserModel/init(from:)":{"abstract":[],"url":"\/documentation\/fueling\/usermodel\/init(from:)","role":"symbol","title":"init(from:)","kind":"symbol","type":"topic","fragments":[{"text":"init","kind":"identifier"},{"kind":"text","text":"("},{"text":"from","kind":"externalParam"},{"kind":"text","text":": any "},{"text":"Decoder","kind":"typeIdentifier","preciseIdentifier":"s:s7DecoderP"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"}],"identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/UserModel\/init(from:)"},"doc://rpm.com.production.Scanner/documentation/Fueling/RentalEquipmentModel":{"type":"topic","abstract":[],"fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"RentalEquipmentModel","kind":"identifier"}],"kind":"symbol","title":"RentalEquipmentModel","role":"symbol","navigatorTitle":[{"text":"RentalEquipmentModel","kind":"identifier"}],"identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/RentalEquipmentModel","url":"\/documentation\/fueling\/rentalequipmentmodel"},"doc://rpm.com.production.Scanner/documentation/Fueling/UserModel/init(firstName:lastName:userName:password:token:)":{"kind":"symbol","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/UserModel\/init(firstName:lastName:userName:password:token:)","url":"\/documentation\/fueling\/usermodel\/init(firstname:lastname:username:password:token:)","title":"init(firstName:lastName:userName:password:token:)","fragments":[{"text":"init","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"firstName"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"lastName","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"userName"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"password"},{"text":": ","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"token","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":")","kind":"text"}],"role":"symbol","abstract":[],"type":"topic"},"doc://rpm.com.production.Scanner/documentation/Fueling":{"kind":"symbol","url":"\/documentation\/fueling","title":"Fueling","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling","abstract":[{"type":"text","text":"The Scanner app is designed to facilitate secure and efficient fuel management operations, primarily focusing on user authentication, fuel data collection, and network communication. The app includes several key features to ensure seamless and reliable interactions between users and the backend systems, leveraging technologies like WebSockets, Core Data, and biometric authentication."}],"type":"topic","role":"collection"},"doc://rpm.com.production.Scanner/documentation/Fueling/UserModel/lastName":{"identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/UserModel\/lastName","url":"\/documentation\/fueling\/usermodel\/lastname","title":"lastName","kind":"symbol","fragments":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"lastName"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"}],"role":"symbol","abstract":[],"type":"topic"},"doc://rpm.com.production.Scanner/documentation/Fueling/UserModel/token":{"url":"\/documentation\/fueling\/usermodel\/token","title":"token","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/UserModel\/token","abstract":[],"role":"symbol","fragments":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"text":"token","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"}],"kind":"symbol","type":"topic"},"doc://rpm.com.production.Scanner/documentation/Fueling/UserModel":{"fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"UserModel","kind":"identifier"}],"abstract":[],"url":"\/documentation\/fueling\/usermodel","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/UserModel","navigatorTitle":[{"kind":"identifier","text":"UserModel"}],"type":"topic","role":"symbol","title":"UserModel","kind":"symbol"},"doc://rpm.com.production.Scanner/Se":{"title":"Swift.Decodable","type":"unresolvable","identifier":"doc:\/\/rpm.com.production.Scanner\/Se"},"doc://rpm.com.production.Scanner/s8SendableP":{"title":"Swift.Sendable","type":"unresolvable","identifier":"doc:\/\/rpm.com.production.Scanner\/s8SendableP"},"doc://rpm.com.production.Scanner/documentation/Fueling/InformationMessage":{"role":"symbol","kind":"symbol","abstract":[],"title":"InformationMessage","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"InformationMessage","kind":"identifier"}],"identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/InformationMessage","url":"\/documentation\/fueling\/informationmessage","type":"topic","navigatorTitle":[{"kind":"identifier","text":"InformationMessage"}]},"doc://rpm.com.production.Scanner/documentation/Fueling/RefillStatusMessageModel":{"type":"topic","title":"RefillStatusMessageModel","navigatorTitle":[{"kind":"identifier","text":"RefillStatusMessageModel"}],"fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"RefillStatusMessageModel"}],"identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/RefillStatusMessageModel","role":"symbol","kind":"symbol","url":"\/documentation\/fueling\/refillstatusmessagemodel","abstract":[]}}}