Files

1 line
8.8 KiB
JSON

{"identifier":{"url":"doc:\/\/MarvelService\/documentation\/MarvelService\/Operations\/getCharacterById\/Output\/MethodNotAllowed-swift.struct\/init(body:)","interfaceLanguage":"swift"},"kind":"symbol","schemaVersion":{"minor":3,"major":0,"patch":0},"hierarchy":{"paths":[["doc:\/\/MarvelService\/documentation\/MarvelService","doc:\/\/MarvelService\/documentation\/MarvelService\/Operations","doc:\/\/MarvelService\/documentation\/MarvelService\/Operations\/getCharacterById","doc:\/\/MarvelService\/documentation\/MarvelService\/Operations\/getCharacterById\/Output","doc:\/\/MarvelService\/documentation\/MarvelService\/Operations\/getCharacterById\/Output\/MethodNotAllowed-swift.struct"]]},"metadata":{"roleHeading":"Initializer","modules":[{"name":"MarvelService"}],"role":"symbol","title":"init(body:)","symbolKind":"init","externalID":"s:13MarvelService10OperationsO16getCharacterByIdO6OutputO16MethodNotAllowedV4bodyA2I4BodyO_tcfc","fragments":[{"text":"init","kind":"identifier"},{"text":"(","kind":"text"},{"text":"body","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:13MarvelService10OperationsO","text":"Operations","kind":"typeIdentifier"},{"text":".","kind":"text"},{"preciseIdentifier":"s:13MarvelService10OperationsO16getCharacterByIdO","text":"getCharacterById","kind":"typeIdentifier"},{"text":".","kind":"text"},{"preciseIdentifier":"s:13MarvelService10OperationsO16getCharacterByIdO6OutputO","text":"Output","kind":"typeIdentifier"},{"text":".","kind":"text"},{"preciseIdentifier":"s:13MarvelService10OperationsO16getCharacterByIdO6OutputO16MethodNotAllowedV","text":"MethodNotAllowed","kind":"typeIdentifier"},{"text":".","kind":"text"},{"preciseIdentifier":"s:13MarvelService10OperationsO16getCharacterByIdO6OutputO16MethodNotAllowedV4BodyO","text":"Body","kind":"typeIdentifier"},{"text":")","kind":"text"}]},"sections":[],"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"text":"init","kind":"keyword"},{"text":"(","kind":"text"},{"text":"body","kind":"externalParam"},{"text":": ","kind":"text"},{"identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Operations","text":"Operations","preciseIdentifier":"s:13MarvelService10OperationsO","kind":"typeIdentifier"},{"text":".","kind":"text"},{"identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Operations\/getCharacterById","text":"getCharacterById","preciseIdentifier":"s:13MarvelService10OperationsO16getCharacterByIdO","kind":"typeIdentifier"},{"text":".","kind":"text"},{"identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Operations\/getCharacterById\/Output","text":"Output","preciseIdentifier":"s:13MarvelService10OperationsO16getCharacterByIdO6OutputO","kind":"typeIdentifier"},{"text":".","kind":"text"},{"identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Operations\/getCharacterById\/Output\/MethodNotAllowed-swift.struct","text":"MethodNotAllowed","preciseIdentifier":"s:13MarvelService10OperationsO16getCharacterByIdO6OutputO16MethodNotAllowedV","kind":"typeIdentifier"},{"text":".","kind":"text"},{"identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Operations\/getCharacterById\/Output\/MethodNotAllowed-swift.struct\/Body-swift.enum","text":"Body","preciseIdentifier":"s:13MarvelService10OperationsO16getCharacterByIdO6OutputO16MethodNotAllowedV4BodyO","kind":"typeIdentifier"},{"text":")","kind":"text"}]}]},{"kind":"parameters","parameters":[{"content":[{"inlineContent":[{"type":"text","text":"Received HTTP response body"}],"type":"paragraph"}],"name":"body"}]}],"abstract":[{"text":"Creates a new ","type":"text"},{"code":"MethodNotAllowed","type":"codeVoice"},{"text":".","type":"text"}],"variants":[{"paths":["\/documentation\/marvelservice\/operations\/getcharacterbyid\/output\/methodnotallowed-swift.struct\/init(body:)"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://MarvelService/documentation/MarvelService/Operations/getCharacterById/Output/MethodNotAllowed-swift.struct":{"type":"topic","identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Operations\/getCharacterById\/Output\/MethodNotAllowed-swift.struct","fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"MethodNotAllowed","kind":"identifier"}],"url":"\/documentation\/marvelservice\/operations\/getcharacterbyid\/output\/methodnotallowed-swift.struct","title":"Operations.getCharacterById.Output.MethodNotAllowed","kind":"symbol","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"MethodNotAllowed"}],"abstract":[]},"doc://MarvelService/documentation/MarvelService/Operations/getCharacterById/Output/MethodNotAllowed-swift.struct/Body-swift.enum":{"url":"\/documentation\/marvelservice\/operations\/getcharacterbyid\/output\/methodnotallowed-swift.struct\/body-swift.enum","type":"topic","identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Operations\/getCharacterById\/Output\/MethodNotAllowed-swift.struct\/Body-swift.enum","kind":"symbol","navigatorTitle":[{"text":"Body","kind":"identifier"}],"role":"symbol","title":"Operations.getCharacterById.Output.MethodNotAllowed.Body","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"Body","kind":"identifier"}],"abstract":[]},"doc://MarvelService/documentation/MarvelService/Operations":{"navigatorTitle":[{"kind":"identifier","text":"Operations"}],"url":"\/documentation\/marvelservice\/operations","kind":"symbol","title":"Operations","identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Operations","role":"symbol","type":"topic","abstract":[{"type":"text","text":"API operations, with input and output types, generated from "},{"code":"#\/paths","type":"codeVoice"},{"text":" in the OpenAPI document.","type":"text"}],"fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Operations"}]},"doc://MarvelService/documentation/MarvelService/Operations/getCharacterById/Output":{"identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Operations\/getCharacterById\/Output","type":"topic","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Output"}],"url":"\/documentation\/marvelservice\/operations\/getcharacterbyid\/output","title":"Operations.getCharacterById.Output","kind":"symbol","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"Output"}],"abstract":[]},"doc://MarvelService/documentation/MarvelService":{"url":"\/documentation\/marvelservice","kind":"symbol","title":"MarvelService","identifier":"doc:\/\/MarvelService\/documentation\/MarvelService","role":"collection","type":"topic","abstract":[{"text":"A library that allows the developer to interact with the ","type":"text"},{"type":"strong","inlineContent":[{"text":"Marvel Comics API","type":"text"}]},{"text":" backend service.","type":"text"}]},"doc://MarvelService/documentation/MarvelService/Operations/getCharacterById":{"type":"topic","identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Operations\/getCharacterById","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"getCharacterById"}],"url":"\/documentation\/marvelservice\/operations\/getcharacterbyid","title":"Operations.getCharacterById","kind":"symbol","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"getCharacterById"}],"abstract":[{"type":"text","text":"Fetches a single character by id."}]},"doc://MarvelService/documentation/MarvelService/Operations/getCharacterById/Output/MethodNotAllowed-swift.struct/init(body:)":{"type":"topic","url":"\/documentation\/marvelservice\/operations\/getcharacterbyid\/output\/methodnotallowed-swift.struct\/init(body:)","identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Operations\/getCharacterById\/Output\/MethodNotAllowed-swift.struct\/init(body:)","kind":"symbol","role":"symbol","title":"init(body:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"body"},{"kind":"text","text":": "},{"preciseIdentifier":"s:13MarvelService10OperationsO","text":"Operations","kind":"typeIdentifier"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"getCharacterById","preciseIdentifier":"s:13MarvelService10OperationsO16getCharacterByIdO"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Output","preciseIdentifier":"s:13MarvelService10OperationsO16getCharacterByIdO6OutputO"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"MethodNotAllowed","preciseIdentifier":"s:13MarvelService10OperationsO16getCharacterByIdO6OutputO16MethodNotAllowedV"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Body","preciseIdentifier":"s:13MarvelService10OperationsO16getCharacterByIdO6OutputO16MethodNotAllowedV4BodyO"},{"kind":"text","text":")"}],"abstract":[{"text":"Creates a new ","type":"text"},{"type":"codeVoice","code":"MethodNotAllowed"},{"text":".","type":"text"}]}}}