Files
marvel-service/docs/data/documentation/marvelservice/components/schemas/charactersummary/init(resourceuri:name:role:).json
T

1 line
6.1 KiB
JSON

{"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/MarvelService\/documentation\/MarvelService\/Components\/Schemas\/CharacterSummary\/init(resourceURI:name:role:)"},"kind":"symbol","schemaVersion":{"patch":0,"major":0,"minor":3},"hierarchy":{"paths":[["doc:\/\/MarvelService\/documentation\/MarvelService","doc:\/\/MarvelService\/documentation\/MarvelService\/Components","doc:\/\/MarvelService\/documentation\/MarvelService\/Components\/Schemas","doc:\/\/MarvelService\/documentation\/MarvelService\/Components\/Schemas\/CharacterSummary"]]},"metadata":{"modules":[{"name":"MarvelService"}],"roleHeading":"Initializer","role":"symbol","title":"init(resourceURI:name:role:)","externalID":"s:13MarvelService10ComponentsO7SchemasO16CharacterSummaryV11resourceURI4name4roleAGSS_S2SSgtcfc","symbolKind":"init","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"resourceURI"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":", "},{"kind":"externalParam","text":"name"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":", "},{"kind":"externalParam","text":"role"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":"?)"}]},"sections":[],"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"resourceURI"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":", "},{"kind":"externalParam","text":"name"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":", "},{"kind":"externalParam","text":"role"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":"? = nil)"}],"platforms":["macOS"],"languages":["swift"]}]},{"parameters":[{"name":"resourceURI","content":[{"inlineContent":[{"text":"The path to the individual character resource.","type":"text"}],"type":"paragraph"}]},{"name":"name","content":[{"inlineContent":[{"text":"The full name of the character.","type":"text"}],"type":"paragraph"}]},{"name":"role","content":[{"inlineContent":[{"text":"The role of the creator in the parent entity.","type":"text"}],"type":"paragraph"}]}],"kind":"parameters"}],"abstract":[{"type":"text","text":"Creates a new "},{"type":"codeVoice","code":"CharacterSummary"},{"type":"text","text":"."}],"variants":[{"paths":["\/documentation\/marvelservice\/components\/schemas\/charactersummary\/init(resourceuri:name:role:)"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://MarvelService/documentation/MarvelService/Components/Schemas":{"type":"topic","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Schemas"}],"abstract":[{"type":"text","text":"Types generated from the "},{"type":"codeVoice","code":"#\/components\/schemas"},{"type":"text","text":" section of the OpenAPI document."}],"navigatorTitle":[{"kind":"identifier","text":"Schemas"}],"kind":"symbol","role":"symbol","title":"Components.Schemas","identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Components\/Schemas","url":"\/documentation\/marvelservice\/components\/schemas"},"doc://MarvelService/documentation/MarvelService/Components":{"type":"topic","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Components"}],"abstract":[{"type":"text","text":"Types generated from the components section of the OpenAPI document."}],"navigatorTitle":[{"kind":"identifier","text":"Components"}],"kind":"symbol","role":"symbol","title":"Components","identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Components","url":"\/documentation\/marvelservice\/components"},"doc://MarvelService/documentation/MarvelService/Components/Schemas/CharacterSummary/init(resourceURI:name:role:)":{"type":"topic","url":"\/documentation\/marvelservice\/components\/schemas\/charactersummary\/init(resourceuri:name:role:)","identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Components\/Schemas\/CharacterSummary\/init(resourceURI:name:role:)","kind":"symbol","role":"symbol","title":"init(resourceURI:name:role:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"resourceURI"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"kind":"text","text":", "},{"kind":"externalParam","text":"name"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"kind":"text","text":", "},{"kind":"externalParam","text":"role"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"kind":"text","text":"?)"}],"abstract":[{"type":"text","text":"Creates a new "},{"type":"codeVoice","code":"CharacterSummary"},{"type":"text","text":"."}]},"doc://MarvelService/documentation/MarvelService/Components/Schemas/CharacterSummary":{"type":"topic","url":"\/documentation\/marvelservice\/components\/schemas\/charactersummary","identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Components\/Schemas\/CharacterSummary","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"CharacterSummary"}],"role":"symbol","title":"Components.Schemas.CharacterSummary","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CharacterSummary"}],"abstract":[{"type":"text","text":"A type that represents a summary of a character resource."}]},"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"}]}}}