/// /// PublicationMetadata.kt /// This file was generated by nitrogen. DO NOT MODIFY THIS FILE. /// https://github.com/mrousavy/nitro /// Copyright © Marc Rousavy @ Margelo /// package com.margelo.nitro.reactnativereadium import androidx.annotation.Keep import com.facebook.proguard.annotations.DoNotStrip /** * Represents the JavaScript object/struct "PublicationMetadata". */ @DoNotStrip @Keep data class PublicationMetadata( @DoNotStrip @Keep val title: String, @DoNotStrip @Keep val sortAs: String?, @DoNotStrip @Keep val subtitle: String?, @DoNotStrip @Keep val identifier: String?, @DoNotStrip @Keep val accessibility: Accessibility?, @DoNotStrip @Keep val modified: String?, @DoNotStrip @Keep val published: String?, @DoNotStrip @Keep val language: Array?, @DoNotStrip @Keep val author: Array?, @DoNotStrip @Keep val translator: Array?, @DoNotStrip @Keep val editor: Array?, @DoNotStrip @Keep val artist: Array?, @DoNotStrip @Keep val illustrator: Array?, @DoNotStrip @Keep val letterer: Array?, @DoNotStrip @Keep val penciler: Array?, @DoNotStrip @Keep val colorist: Array?, @DoNotStrip @Keep val inker: Array?, @DoNotStrip @Keep val narrator: Array?, @DoNotStrip @Keep val contributor: Array?, @DoNotStrip @Keep val publisher: Array?, @DoNotStrip @Keep val imprint: Array?, @DoNotStrip @Keep val subject: Array?, @DoNotStrip @Keep val layout: String?, @DoNotStrip @Keep val readingProgression: String?, @DoNotStrip @Keep val description: String?, @DoNotStrip @Keep val duration: Double?, @DoNotStrip @Keep val numberOfPages: Double?, @DoNotStrip @Keep val belongsTo: BelongsTo? ) { /* primary constructor */ companion object { /** * Constructor called from C++ */ @DoNotStrip @Keep @Suppress("unused") @JvmStatic private fun fromCpp(title: String, sortAs: String?, subtitle: String?, identifier: String?, accessibility: Accessibility?, modified: String?, published: String?, language: Array?, author: Array?, translator: Array?, editor: Array?, artist: Array?, illustrator: Array?, letterer: Array?, penciler: Array?, colorist: Array?, inker: Array?, narrator: Array?, contributor: Array?, publisher: Array?, imprint: Array?, subject: Array?, layout: String?, readingProgression: String?, description: String?, duration: Double?, numberOfPages: Double?, belongsTo: BelongsTo?): PublicationMetadata { return PublicationMetadata(title, sortAs, subtitle, identifier, accessibility, modified, published, language, author, translator, editor, artist, illustrator, letterer, penciler, colorist, inker, narrator, contributor, publisher, imprint, subject, layout, readingProgression, description, duration, numberOfPages, belongsTo) } } }