Files
discogs-service/docs/data/documentation/discogsservice/components/schemas/collectionvalue/codingkeys/init(stringvalue:).json
T

1 line
5.9 KiB
JSON
Raw Normal View History

{"schemaVersion":{"patch":0,"minor":3,"major":0},"hierarchy":{"paths":[["doc:\/\/DiscogsService\/documentation\/DiscogsService","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/CollectionValue","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/CollectionValue\/CodingKeys"]]},"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"kind":"keyword","text":"init"},{"kind":"text","text":"?("},{"kind":"externalParam","text":"stringValue"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":")"}]}],"kind":"declarations"},{"kind":"parameters","parameters":[{"content":[{"inlineContent":[{"type":"text","text":"The string value of the desired key."}],"type":"paragraph"}],"name":"stringValue"}]},{"kind":"content","content":[{"text":"Discussion","type":"heading","level":2,"anchor":"discussion"},{"type":"paragraph","inlineContent":[{"text":"If the string passed as ","type":"text"},{"type":"codeVoice","code":"stringValue"},{"text":" does not correspond to any instance","type":"text"},{"text":" ","type":"text"},{"text":"of this type, the result is ","type":"text"},{"type":"codeVoice","code":"nil"},{"text":".","type":"text"}]}]}],"sections":[],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/CollectionValue\/CodingKeys\/init(stringValue:)"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/discogsservice\/components\/schemas\/collectionvalue\/codingkeys\/init(stringvalue:)"]}],"kind":"symbol","metadata":{"roleHeading":"Initializer","modules":[{"name":"DiscogsService"}],"externalID":"s:14DiscogsService10ComponentsO7SchemasO15CollectionValueV10CodingKeysO06stringF0AISgSS_tcfc","role":"symbol","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"?("},{"kind":"externalParam","text":"stringValue"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":")"}],"title":"init(stringValue:)","symbolKind":"init"},"abstract":[{"type":"text","text":"Creates a new instance from the given string."}],"references":{"doc://DiscogsService/documentation/DiscogsService/Components/Schemas/CollectionValue":{"abstract":[{"text":"A type that represents the monetary value of a collection.","type":"text"}],"url":"\/documentation\/discogsservice\/components\/schemas\/collectionvalue","kind":"symbol","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/CollectionValue","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CollectionValue"}],"navigatorTitle":[{"kind":"identifier","text":"CollectionValue"}],"role":"symbol","title":"Components.Schemas.CollectionValue","type":"topic"},"doc://DiscogsService/documentation/DiscogsService/Components/Schemas/CollectionValue/CodingKeys/init(stringValue:)":{"url":"\/documentation\/discogsservice\/components\/schemas\/collectionvalue\/codingkeys\/init(stringvalue:)","kind":"symbol","role":"symbol","fragments":[{"text":"init","kind":"identifier"},{"text":"?(","kind":"text"},{"text":"stringValue","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"text":")","kind":"text"}],"identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/CollectionValue\/CodingKeys\/init(stringValue:)","abstract":[{"text":"Creates a new instance from the given string.","type":"text"}],"type":"topic","title":"init(stringValue:)"},"doc://DiscogsService/documentation/DiscogsService/Components":{"fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Components"}],"type":"topic","navigatorTitle":[{"kind":"identifier","text":"Components